Picon

Re: Carbon key mapping

On Thu, Jul 31, 2008 at 2:30 PM, Mattias Gaertner
<nc-gaertnma <at> netcologne.de> wrote:
> No, that would not be OS X like.
>
> (Personally I agree: jump to eol is more common than eof, so eol
> should get the shorter shortcut)

Ummm ... yes, it would not be what OS X proposes that we do, but the
Mac guidelines are not meant to be a rigid constrainment, we should
analise that in some cases their proposal is not the best solution for
us, like OpenOffice did. They do use Apple+C for copy, but use END to
go to the end of the line.

Now I see that Apple+arrows does this, but it annoys me that the key
combinations are so different from what I am used in Windows. Using
the Windows style doesn't help, because then I need to use Ctrl
instead of Apple for copy+paste, which is a annoying when all programs
use Apple.

> Pressing 'a' works here.

Now it works here too. It seams to give problems only sometimes, still
haven't found a reliable way to reproduce ...

--

-- 
Felipe Monteiro de Carvalho
_______________________________________________
Lazarus mailing list
Lazarus <at> lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
(Continue reading)

Picon

Re: Carbon key mapping

Ok, I am getting more used to the new shortcuts ...

--

-- 
Felipe Monteiro de Carvalho
_______________________________________________
Lazarus mailing list
Lazarus <at> lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Martin Friebe | 1 Aug 02:10
Picon

Re: automatic code unfolding, on edit (inside fold)


Mattias Gaertner wrote:
> On Thu, 31 Jul 2008 14:21:03 +0100
> Martin Friebe <lazarus <at> mfriebe.de> wrote:
>
>   
>> While working on http://bugs.freepascal.org/view.php?id=7773, there a
>> a few behavioural decisions:.
>>
>> The basic of the bug is (| = cursor):
>> [ some comment is not needed,, but refers to later, to point out
>> special situations ]
>>  
>>   [+]  If a=b then begin {some comment} |
>>          //Line after  end of above block
>>
>> The code is folded as above. If you press return a new line is
>> inserted. It is inserted into the block, not after the block.
>> Currently this leads to a (partial) unfold of the block.
>>
>> Similar issues can arise if:
>> - a multi line text is inserted from clipboard
>> - a multi line pattern replace occurs inside a fold
>> - text is inserted elsewhere in a block (using other bugs, such as 
>> move-cursor-word-left does jump into folds)
>>
>> The fact that the code unfolds at all, seems more result of a bug,
>> than intention (so that can be seen either way) => The same code
>> unfolds are valid folded block, if you insert a new "begin" in the
>> text above it.
(Continue reading)

Mattias Gaertner | 1 Aug 07:06
Picon
Favicon

Re: Carbon key mapping

On Thu, 31 Jul 2008 20:51:48 -0300
"Felipe Monteiro de Carvalho" <felipemonteiro.carvalho <at> gmail.com> wrote:

> On Thu, Jul 31, 2008 at 2:30 PM, Mattias Gaertner
> <nc-gaertnma <at> netcologne.de> wrote:
> > No, that would not be OS X like.
> >
> > (Personally I agree: jump to eol is more common than eof, so eol
> > should get the shorter shortcut)

I forgot: There is Cmd+Left/Right, so jumping to eol and eof have both
2 key shortcuts.

 
> Ummm ... yes, it would not be what OS X proposes that we do, but the
> Mac guidelines are not meant to be a rigid constrainment, we should
> analise that in some cases their proposal is not the best solution for
> us, like OpenOffice did. They do use Apple+C for copy, but use END to
> go to the end of the line.

Of course not rigid. But the more commonly used the more rigid.
Yes, it is hard for windows/linux users. But it is the same for
apple users and windows shortcuts.

> Now I see that Apple+arrows does this, but it annoys me that the key
> combinations are so different from what I am used in Windows. Using
> the Windows style doesn't help, because then I need to use Ctrl
> instead of Apple for copy+paste, which is a annoying when all programs
> use Apple.
> 
(Continue reading)

Luca Olivetti | 1 Aug 09:40
Picon
Gravatar

Re: WM_QUERYENDSESSION

En/na Luca Olivetti ha escrit:
> En/na Luca Olivetti ha escrit:
>> Hello,
>> I see that in win32callback.inc, WM_QUERYENDSESSION filters by LParam=0.
>> This allows me to block system shutdown or reboot (by setting 
>> cancel:=true in  an ApplicationProperties OnQueryEndSession event) but 
>> *not* intercept session closing (since LParam is <>0 in that case, see 
>> http://msdn.microsoft.com/en-us/library/aa376890.aspx).
>> Maybe the lcl should pass on the message even if LParam is <>0 (but it 
>> should give a wey to differentiate cases).
>> BTW, the same happens for WM_ENDSESSION, so the app isn't notified that 
>> the session is being closed.
> 
> As a temporary solution, I just commented out the "and (LParam=0)" in 
> win32callback.inc, both for WM_QUERYENDSESSION and for WM_ENDSESSION.

No opinions on this? Should I file a bug or this is the intented 
behaviour. If the latter, what about catching session closing?

Bye
--

-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007
_______________________________________________
Lazarus mailing list
Lazarus <at> lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

(Continue reading)

davy zhang | 1 Aug 09:58
Picon

Need help on windows Lazarus build

windows xp

I've checked out all the trunk src from svn

and I followed the instructions on
:http://wiki.lazarus.freepascal.org/index.php/Getting_Lazarus

I get lost on this step:

#  From the C:\lazarus\tools\install\win32 directory copy the file
'samplefpc.cfg' to the C:\lazarus\pp\bin\i386-win32 directory and
rename it to fpc.cfg (first delete/rename the old fpc version).
# Edit this file and replace all occurencies of '$1' by 'C:\lazarus\pp'.

I can't find the samplefpc.cfg

sorry I'm new to open source project, i don't know how to build the
src code into a solid executable file in this way.

usually I worked with Delphi project files
_______________________________________________
Lazarus mailing list
Lazarus <at> lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Martin Friebe | 1 Aug 11:53
Picon

Re: Need help on windows Lazarus build

Hi,

Not a direct answer to your question, but if your main interest is to 
have the latest lazarus, you don't necessarily need fpc from svn. You 
could download and install a nightly build (Lazarus + FPC), *and* have 
an svn checkout of Lazarus. The svn Lazarus, can then use the fpc from 
the nightly build install.
If you choose an install with fpc 2.2.3, you will have to upgrade every 
couple of weeks, but that's just installing the new nightly build. If 
you copy the fpc directory, then you must edit the fpc.cfg (There will 
be an existing one)

Otherwhise I attached an fpc.cfg file (for version 2.2.0), it setuip for 
an install path of c:\lazarus\fpc\2.2.2, but you can edit this.

regards
Martin

davy zhang wrote:
> windows xp
>
> I've checked out all the trunk src from svn
>
> and I followed the instructions on
> :http://wiki.lazarus.freepascal.org/index.php/Getting_Lazarus
>
> I get lost on this step:
>
> #  From the C:\lazarus\tools\install\win32 directory copy the file
> 'samplefpc.cfg' to the C:\lazarus\pp\bin\i386-win32 directory and
(Continue reading)

Graeme Geldenhuys | 1 Aug 12:19
Picon
Gravatar

Refactor -> Rename Identifier and fpdoc documentation

Hi,

I'm not sure if this has already been implemented or asked for as a
feature request.

It's pretty awesome having the fpdoc editor inside the IDE. It makes
documentation a much more convenient task. Now I know refactoring
doesn't occur too often on established/documented code, but could it
be integrated with the documentation. So that if you rename an
identifier in the code, it will update the fpdoc documentation as well
(if it exists). For example, renaming a class, or even renaming a
method by fixing a spelling mistake that slipped through.

At the moment it's a tedious tasks to update the fpdoc xml files after
a code refactor.  Currently it's a manual task by using Search &
Replace in all appropriate xml files. A automated process would be a
wonderful help.

Regards,
 - Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
Lazarus mailing list
Lazarus <at> lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

(Continue reading)

davy zhang | 1 Aug 21:00
Picon

Re: Need help on windows Lazarus build

thanks so much for your response and cfg file!

You just read my mind, I'll try to use nightly build~

and I'll try to build the Lazarus later, for me this is really a challenge :)

2008/8/1 Martin Friebe <lazarus <at> mfriebe.de>:
> Hi,
>
> Not a direct answer to your question, but if your main interest is to have
> the latest lazarus, you don't necessarily need fpc from svn. You could
> download and install a nightly build (Lazarus + FPC), *and* have an svn
> checkout of Lazarus. The svn Lazarus, can then use the fpc from the nightly
> build install.
> If you choose an install with fpc 2.2.3, you will have to upgrade every
> couple of weeks, but that's just installing the new nightly build. If you
> copy the fpc directory, then you must edit the fpc.cfg (There will be an
> existing one)
>
>
> Otherwhise I attached an fpc.cfg file (for version 2.2.0), it setuip for an
> install path of c:\lazarus\fpc\2.2.2, but you can edit this.
>
> regards
> Martin
>
>
> davy zhang wrote:
>>
>> windows xp
(Continue reading)

Valdas Jankūnas | 2 Aug 11:51
Picon

Lazarus IDE: bookmarks

Hello,

  i'm in trouble :D : how to unset or clear bookmarks shown in Lazarus 
IDE editor?

Lazarus svn 15897; LCL_WIDGETSET=gtk2; pfc v2.2.0

--

-- 
   Valdas Jankūnas
_______________________________________________
Lazarus mailing list
Lazarus <at> lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Gmane