Hi Anthony,

yes, but the Editor::DrawLine should treat the second 8-bit value as secondary style from which it gets background color.

Maybe there is a way to have the style as 32-bit int so one can store a pointer to the struct in there and modify Editor::DrawLine to draw chars by this extended style info.

Regards,

Martin

Anthony wrote:
Hello Martin,


is there any chance to have two style bytes for one character? One style
for backColor and one for other style properties. The purpose is to easily distinguish embedded languages by backColor independently on "fore" style.


I think that it would be much simpler to just have 2 bytes for each,
UTF-16 for the characters and 16 bits for the attribute - simply
extending the attribute from 8 to 16 bits.

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to