Hi, I'm glad to hear, that it shouldn't be very complicated to add the regular expressions, I use them quite often and having them multiline would be great. The script works well for me (some minor visual glitches e.g. after resizing the dialog aren't important at all).
Maybe the escape key could be bound to cancel the dialog to resemble the standard search and replace dialog. Assigning some shortcut is also very handy, but it can be easilly modified individually in the script file. I noticed some kind of slowdown on longer lines, but it's the same like the native function of the editor (actually it's my fault having files with long lines :-) If the idea with Shift-left, Shift-right etc. worked, both directions have to be used to restore the original selection. Furtheremore, some special cases should be taken into account (cursor at the begining of the file - Shift-left does nothing; cursor at the end of the file - Shift-right does nothing). I have no idea, how much coding would be necessary to implement this, but what about emulating other standard options - count, copy ... Or maybe the messages could use come area of the dialog itself instead of separate prompts, as the whole dialog is always visible. -- <http://forum.pspad.com/read.php?2,34061,34102> PSPad freeware editor http://www.pspad.com
