by Mofi » Tue Nov 21, 2006 8:03 am
With UE v12.20 and UES v6.10 GotoLine and GotoLineSelect has a second required parameter: the column number.
And the commands GotoBookMark and GotoBookMarkSelect require now a bookmark number as parameter.
These changes caused internally a new macro version number for ALL macros saved with UE v12.20 / UES v6.10 or higher. So macros saved with v12.20 / v6.10 or higher cannot be loaded anymore with a pre 12.20 / 6.10 version independent of the usage of these 4 commands.
For full compatibility with macros created with an UltraEdit version prior v12.20 or UEStudio prior v6.10 which use at least one of the commands GotoLine, GotoLineSelect, GotoBookMark or GotoBookMarkSelect at least UE v12.20a+2 or UES v6.10a+2 is needed. The UE versions 12.20, 12.20+1, 12.20a and 12.20a+1 and the UES versions 6.10, 6.10+1, 6.10a and 6.10a+1 have some bugs when loading older macros with at least one of the 4 commands and internally converting them in RAM to new syntax.
All conversion problems with GotoLine, GotoLineSelect, GotoBookMark and GotoBookMarkSelect are fixed with UE v12.20a+2 and UES v6.10a+2.
Additionally the IDM developers have built-in a new feature according to my suggestion as I reported the conversion problems: GotoLine can be used now as GotoColumn and GotoLineSelect as GotoColumnSelect
Since UE v12.20a+2 and UES v6.10a+2 it is possible to use GotoLine and GotoLineSelect with line number 0. 0 means in current line. So
GotoLine 0 200
sets the cursor in current line to column 200. And
GotoLineSelect 0 150
sets the cursor in current line to column 150 with selecting everything from current cursor position till column 150.