Re: Request: new command: cmcSearchAgainBackward
Brought to you by:
set
From: <sn...@es...> - 2004-12-03 21:38:28
|
Hello. Again Sergio and Ivan saying some nonsense things :). We tried it, cOOOOl!!! We assigned it to the CTRL+F3 key and SHIFT+CTRL+F3 (forward and backward respectively). We have some sugestions: - if in one buffer I select text and search with this feature, when changing to another buffer if I ask to search then it should use the prior selection of the other buffer (the user selects something in the buffer, searchs so it is the current search token, switches to another buffer and searchs, doesn't care if something is selected or not in that buffer, it just searches with the current search token that was taken from the other buffer, if I select text when search again I change the search token). - we don't know if it is already implemented but, it should be case sensitive when the SHL file says that the language is case sensitive, and not case sensitive in all other cases. Thanks for doing it!!! P.s.: CTRL+2 doesn't work on X11 driver? it shows a question mark. P.s.2: when assigning keys, it allowed us to assign it to the F3 key which is used for opening a file and didn't warned about it. Salvador Eduardo Tropea wrote: > Ok, about this "UltraEdit" feature: > > I added what I understood from Sergio's description ;-) > Please try the CVS code and tell me if that's more or less what you want. > > The new commands are called: cmcSearchSelForward and > cmcSearchSelForward. > They have menu entries in the "Search" menu, but no shortcut yet. > Not yet documented because they could change. > > I coded them in a way that they shouldn't interfere with ^Q+F/^L. > > A lot of details remains to be adjusted like: > 1) I implemented it as a case sensitive search, but it could be case > sensitive only for case sensitive languages or just don't be case > sensitive. I'm not sure what's best. > 2) I'm starting from the other end of the file when the search fails. > This is silently done and as the text comes from a selection the > second search *must* be successful so I never inform things like "not > found". > 3) Fill here with other details ;-) > > SET > -- *Sergio Núñez * Programación & Desarrollo sn...@es... <mailto:sn...@es...> Esquemas.com <http://www.esquemas.com/> + (598 2) 403 03 03 Nueva Palmira 2241 11800 Montevideo, Uruguay |