nuwainfo / tibetaneditor

Working repository for a simple Tibetan editor with a segmenter, spellchecker, rule editor, concordancer and more.
2 stars 3 forks source link

Highlighting words and word features #4

Open ngawangtrinley opened 6 years ago

ngawangtrinley commented 6 years ago

Right now the highlights are applied to what is displayed in the editor, it needs to be changed to highlighting word objects.

This would solve the following issues:

Switching highlighting to the objects means that the regular expressions won't work the same. If you are not using the QSyntaxHighlighter class it shouldn't be too complicated to implement.

Without this feature it'll be very difficult to create good spellchecking and level rules.