I have opened a 500 lines long textDocument.
Then I start the following simple Javascript
This script moves the cursor beginning from the 1st line till the last line (in the 1st column).
It's extremly SLOW.
If I begin to move the mouse-cursor above the text, then the script runs much faster.
What happens? How could I achieve a fast script running without the mouse-cursor moving?? Could anybody help?? Thanks
Then I start the following simple Javascript
Code: Select all
i=1;
UltraEdit.activeDocument.top();
while (!UltraEdit.activeDocument.isEof())
{
UltraEdit.activeDocument.gotoLine(i,1);
i++;
}
It's extremly SLOW.
If I begin to move the mouse-cursor above the text, then the script runs much faster.
What happens? How could I achieve a fast script running without the mouse-cursor moving?? Could anybody help?? Thanks