I noticed that if I use Tab and Shift Tab to indent blocks I get thousands
of messages for insert_text and delete_text, for each line modified.
 
Because I have a notification handler that does something, with even a small
indent this is causing me a massive slowdown. Yes, I know its my fault, but
I cant avoid the changes I have to do on notifications but I cant find a way
of avoiding the problem.

It doesn't seem you send the "BEFORE_DELETE" or "BEFORE_INSERT" for indents,
nor the "MULTISTEPUNDOREDO" and "LASTSTEPINUNDOREDO" notifications which may
be able to help so I cant use them.

Maybe you could add additional notifications: "SC_MOD_BEFORE_INDENT" so i
can 'modify' my doc just once and then for each change (insert/delete) you
add "SC_MOD_INDENT" so I can choose to ignore these ones.

Kind regards
Dan


_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to