Suppose you open two files in Nedit, "file-1" and "file-2", and switch to window "file-1". You then run the following macro:
Window "file-2" gets focus and is raised as expected, but as soon as the dialog box comes up, window "file-1" is raised again, that is,
the window which was active when the macro was launched.
Apparently Nedit raises the parent window of the dialog box but focus_window() doesn't change the parent. This implies that focus_window() is is ineffective when calling dialog() or list_dialog() afterwards.
Log in to post a comment.