Posted 20 years ago
by tobias weltner
There are a number of ways to insert text programmatically into syntaxeditor.
However, they all change selection or replace the entire document text.
Is there a way to insert text while preserving the current selection and caret position?
One addition:
I also noticed that even with UndoableInsert, all collapsed nodes are expanding. Is there a way to insert text without UI effects? I don't really want the user to be annoyed by automatically inserted text.
[Modified at 07/07/2005 07:30 AM]
However, they all change selection or replace the entire document text.
Is there a way to insert text while preserving the current selection and caret position?
One addition:
I also noticed that even with UndoableInsert, all collapsed nodes are expanding. Is there a way to insert text without UI effects? I don't really want the user to be annoyed by automatically inserted text.
[Modified at 07/07/2005 07:30 AM]