TextEditor bug

Nice.
Thanks again :slight_smile:

One last questionā€¦

Will you (someday) implement the ability to apply text attributes (font & color) to specific text selections ?

This would be very useful for implementing efficient custom text editors with syntax highlighting.

From what I gathered, currently, the only way for a TextEditor client to selectively apply new attributes to an existing text chunk is to re-insert the whole text while replaying the formatting commands (and thus losing the previous undo history).

Oh, and while Iā€™m at itā€¦ I noticed that the SHIFT-DEL keypress is bound to the cut command, but its buddies CTRL-INSERT (copy) and SHIFT-INSERT (paste) arenā€™tā€¦

Anyway, itā€™s not too important, since it can be added in subclasses.

Hadnā€™t really considered it, though itā€™d probably be quite easy to do. Will make a note of it.

Hadnā€™t realised Iā€™d missed out those keys - Iā€™ve checked in (yet!) another version with that tweak in it.

Thanks very, very much for your patience and code fixes.

I think the TextEditor deserves some rest now :slight_smile: