[QScintilla] Cursor (caret) settings

Phil Thompson phil at riverbankcomputing.com
Tue May 27 18:18:33 BST 2014


On 27/05/2014 5:43 pm, Andre Barros wrote:
> Would be possible to have the caret color and width saved together
> with a particular lexer?

No, they have nothing to do with each other.

> I am asking because when we have a MDI interface with different file
> types, stylus and font color/types, a cursor for one of them may be
> "invisible" on the other.

It's easy enough to implement yourself by sub-classing the relevant 
lexers and reimplementing the readProperties() and writeProperties() 
methods.

Phil


More information about the QScintilla mailing list