Posted 20 years ago by GLarson
I have a line with no text - "\n" only.
I insert text (e.g. "My new line\n") in place of this line using Document.UndoableInsert with the offset at the beginning of the line, and a length of 1 to replace the newline.

The text replaces the newline properly. However, the line modification marks span the replaced line plus the following line (which, obviously, wasn't edited).

Is this intended behavior? I notice that if I select the empty line and Paste, I get the same thing.

Please let me know if this is something you can fix, or maybe give me a workaround. It is critical in my application that the user gets accurate feedback on what was edited.


Comments (2)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
The next release will have this fixed.

Actipro Software Support

Posted 20 years ago by GLarson
Great. Thanks for the quick response.
The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.