Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Mattias Gärtner :
>>> Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
>>> I've always intended to implement this, but...
>>
>> Me too! :)  I used to use that a lot in Delphi 7 + GExperts.
>
> Ctrl+Alt+Up/Down is often used in linux for desktop switching.

I know, and that's one of the first things I disable in Gnome desktop.  :)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys :

> [...]
>> Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
>> I've always intended to implement this, but...
>
> Me too! :)  I used to use that a lot in Delphi 7 + GExperts.

Ctrl+Alt+Up/Down is often used in linux for desktop switching.


Mattias

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Mattias Gärtner :
>> Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
>> I've always intended to implement this, but...
>
> .. but it was already there:
>
> http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Find_next_.2F_previous_word_occurrence


Yet again you impress me with the Lazarus IDE features.  Thanks
Mattias, I assigned by custom Ctrl+Alt+[up/down] to them.

BTW:
I had a recent discussion on CodeGear non-technical newsgroup about
Lazarus's Key Mapping screen. Can you believe it that Delphi IDE (even
D2009) still doesn't allow you to set key mappings to all IDE actions.
Yes you can use add-ons like Castalia or GExports, but *not*
out-of-the-box as Lazarus does.  :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Mattias Gärtner
Zitat von Flávio Etrusco :

> [...]
> Quick Search would be something that Lazarus seems to still be
> missing: search the identifier under the caret.
> Like in Visual Studio: Ctrl+F3 to search forwared and Ctrl+Shift+F3  
> backwards.
> Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
> I've always intended to implement this, but...

.. but it was already there:

http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Find_next_.2F_previous_word_occurrence


Mattias

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Flávio Etrusco :
>
> Quick Search would be something that Lazarus seems to still be
> missing: search the identifier under the caret.

Ctrl+F automatically takes what's under the caret and inserts it as
the search text. I think this is configurable somewhere in Lazarus
IDE.  Then press Enter to find first item. F3 to find next items.


> Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
> I've always intended to implement this, but...

Me too! :)  I used to use that a lot in Delphi 7 + GExperts.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Flávio Etrusco
On Wed, May 6, 2009 at 7:35 AM, Graeme Geldenhuys
 wrote:
> On Wed, May 6, 2009 at 11:49 AM, Martin Friebe  wrote:
>>
>> Highlight (as in block-selection) and then search for it => use ctrl-f
>
> Yeah, that's what I normally use...
>
>
>> Quick search (or incremental search) (ctrl-e) means you start the search
>> with an empty search-term, then as you type the editor searches for
>> whatever fragment you typed
>
> Ah, ok I get it now. Maybe "Quick Search" is not the best name for
> that feature. "Incremental Search" explains it much better.  Just a
> thought.
>
> Thanks for explain its function Martin.  ;)
>
> Regards,
>  - Graeme -
>

Quick Search would be something that Lazarus seems to still be
missing: search the identifier under the caret.
Like in Visual Studio: Ctrl+F3 to search forwared and Ctrl+Shift+F3 backwards.
Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
I've always intended to implement this, but...

Best regards,
Flávio

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Mattias Gärtner
Zitat von Martin Friebe :

>
>
> Graeme Geldenhuys wrote:
>> On Wed, May 6, 2009 at 2:44 AM, Alexander Klenin  wrote:
>>
>>> FWIW, I often use "Quick search" (Ctrl+E) for code navigation,
>>>
>>
>> How does "quick search" work?  I highlighted an identifier I want to
>> seach for, pressed Ctrl+E. It showed "seaching" in the editor status
>> bar, but nothing further. Sometimes it highlights a whole bunch of
>> stuff like the letter "e". I'm a bit lost. :-(
>>
>>
> Highlight (as in block-selection) and then search for it => use ctrl-f
>
> Quick search (or incremental search) (ctrl-e) means you start the search
> with an empty search-term, then as you type the editor searches for
> whatever fragment you typed
> ctrtl-e => status-bar displays searching
> b => status bar displays "b" / editor goes to the next "b" (b is
> highlighted, all other occurrences are highlighted in yellow)
> e => status bar shows "be" / editor goes to next "be"
> f => "bef" => 
> backspace => "be" editor returns to "be"
> g, i, n => "begin"
>
> - while in quicksearch, pressing F3 or ctrl-e again => jump to the next
> search result of the same term
> - start quick search with ctrl-e, ctrl-e => resume with last search term

Please add this to the wiki.

Mattias

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 11:49 AM, Martin Friebe  wrote:
>
> Highlight (as in block-selection) and then search for it => use ctrl-f

Yeah, that's what I normally use...


> Quick search (or incremental search) (ctrl-e) means you start the search
> with an empty search-term, then as you type the editor searches for
> whatever fragment you typed

Ah, ok I get it now. Maybe "Quick Search" is not the best name for
that feature. "Incremental Search" explains it much better.  Just a
thought.

Thanks for explain its function Martin.  ;)

Regards,
  - Graeme -


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