highlighting with search function

Posted by Feantur on Wed 08 Dec 2004 08:02 PM — 11 posts, 35,847 views.

#0
Using Ctrl-F you can search the output buffer from the main window.

My suggestions are:

1. A hotkey/shortcut that lets you search for the next occurrence.

2. A hotkey/shortcut that lets you highlight all occurrence with a customisable colour (a bit like a temporary trigger).

In summary it would be nice if the search function worked similarly to what Firefox offers these days.
Greece #1
Maybe even a "search as you type" option?
USA #2
Search as you type would have to be incompatible with 'all typing goes to output window'.
Quote:
1. A hotkey/shortcut that lets you search for the next occurrence.
Doesn't shift-ctrl-F do this already?
Australia Forum Administrator #3
Yes, shift+ctrl+F does that, and if you want to find all occurences use "recall".

Display menu -> Recall Text (Ctrl+U).

Greece #4
No, i mean searching as you type the word in the search dialog.
Australia Forum Administrator #5
Do the words "application bloat" ring a bell?
Greece #6
It's just two lines of code :p
Australia Forum Administrator #7
Don't quite follow that. I would need to, after each character, go into the search routine, highlight words, scroll to make them visible, and so on.
Greece #8
Ah, well, I was just saying that the search as you type feature would work as the normal search feature, except it would click search automatically after each keypress. Not a big deal, really.
USA #9
That wouldn't quite work, though, because search as you type is from the starting position - if you "clicked search" after every keystroke you'd be changing the start position every time.
Australia Forum Administrator #10
Quite right, and for regular expressions you wouldn't know when it was safe to send them to the regexp parser.