user17727069
user17727069

Reputation:

EmEditor js macro: is it possible to suppress temporary updates in the editor?

I often write EmEditor macros with a lot of steps. In running such a long macro, content in the editor window would flash to update frequently.

Is it possible to suppress all temporary updates and directly show the final result in the editor window? Thank you!

Upvotes: 0

Views: 381

Answers (1)

TM1
TM1

Reputation: 48

use this on begin

Redraw = false;

This parameter stops the automatic refresh after an instruction that causes a display update, the refresh is only performed again at the end of the macro or until the user sets the parameter to true.

Upvotes: 0

Related Questions