>Hi Sergey,
>This is really nifty.
>Now, can you think of a way to get it to execute automatically AFTER the edit window has opened? The ProjectHook.QueryModifyFile() executes BEFORE the edit window is opened.
>The only thing I've been able to think of is to put "do macro Word_Wrap_Off" in the QueryModifyFile() method, which puts it into the keyboard buffer and waits until the window is opened before executing, but I don't like macros for this kind of thing.
>I'd really like to have an "EditWindow.Activate()" method.
>
>BTW: laEnv[16] - WOrd Wrap, 1-Yes, 0-No
>should be: laEnv[16] - WOrd Wrap, 1=Yes,
-1=NoRight.
--sb--