@Niels By Find Previous you didn't mean it to be in "replace" window, but just as another key combo/menu item ? Like F3 for find next and shift+f3 for find previous ?
And a way to restart at the top : currently when you do find next till end of file, it will automatically start from the begining in a loop : that what you mean or something different ?
@Niels By Find Previous you didn't mean it to be in "replace" window, but just as another key combo/menu item ? Like F3 for find next and shift+f3 for find previous ?
That could be one way, if it works also with the find/replace window open, but I was thinking like in NotePad, where the window actually has buttons at the bottom for both Find Next and Find Previous.
If I am located at some point midways in a file and search for something (forward) and find it, I may want to see if it also occurred earlier in the file.
Quote:
And a way to restart at the top : currently when you do find next till end of file, it will automatically start from the begining in a loop : that what you mean or something different ?
Again, see NotePad. One situation where I use that function is if I have done one replacement all through the file and want to do another one, so I change the Find string and the Replace string and set the checkmark for From the Top and start the search/replace again.
Of course, these situations presume that the Find/Replace window stays open until dismissed, which is what NotePad (and NotePad++) does, I'm not sure if you planned to make it that way also.
ahhhh ok I didn't know and yes it works perfectly via f3
That was reasson to add input handler interrupt , so we take over over the texteditor gadget input code, and add our own : i just love this "f3 for next search" on every editor i use, it's really make work fast.
Done a week ago :) Now, I want to slightly refine the "Replace" window, add the necessary features, and maybe expand it a bit. Thanks to Javier helping me with this "layouting" gui code. But I’m not sure if this fits a "simple" editor, because if the Replace window is designed this way, the Find window should also have more settings, see what i mean, i tried to be more notepad++ looks like:
(Click to open in a new tab for full size)
If I implement this, I’ll definitely need to update the Find window to match, similar to Notepad++ (with two tabs in the same window: one for Find and one for Replace). But then, it’s definitely not a "simple and easy" editor anymore. I’m unsure how to proceed..
P.S. By the way, I’m thinking about adding some keyboard shortcuts to Dumbpad for Find and other functions. They wouldn’t be "official" or listed in the menu but would still be supported, like Ctrl+F for Find. This way, you’d feel very comfortable: if you prefer the unique Amiga way, you can use all as before: menu-driven approach, amiga isual hotkeys like amuga+f, etc. But if you want a Notepad++-like experience, you can use the "bonus" shortcuts as well.