Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

AvalonEdit: Is there a way TextSegments can be colored and cursor knows if in one?

$
0
0

So my goal is the following.  Point 1 works but not sure how to handle others

  • make certain text segments uneditable by typing. (this is done by TextSegmentReadOnlySectionProvider)
  • allow the user to delete the whole text segment if right click over the segment
  • make the text segment a certain color

All segments are a word or set of words between '<' and '>'

These segments need to be able to dynamically add new textsegments at runtime

 

All searches for answers just do not fit my problem exactly


Viewing all articles
Browse latest Browse all 1764

Trending Articles