Add document range markers in DocumentListener?

Answered

The Javadoc for DocumentListener says that the document must not be modified from the listener methods. Does that include adding RangeMarkers? Can they be added from documentChanged()?

2 comments
Comment actions Permalink

You can add RangeMarker-s in DocumentListener's documentChanged().

0
Comment actions Permalink

Great, thanks Dmitry!

0

Please sign in to leave a comment.