Have you looked at the SinkWorld project on the Scintilla website http://scintilla.sourceforge.net/SinkWorld.html
This allows a style buffer with 0, 1, 2 or 4 bytes for each byte of text. I contacted Neil about changes to the way that styling is saved a couple of years back (I actually wanted a plain text buffer with 0 bytes of styling) and he referred me to the SinkWorld project. However, this looks to be some way away. At the moment, the styling and text buffers are one and the same thing, so extending the styling size is awkward. Separating the text buffer from the styling buffer is possible, but involves a lot of code changes... this is the first step to allowing additional styling space. Once they are separate, then setting different sizes becomes possible. Of course, there is then the challenge of keeping the API backwards compatible. Greg Smith _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
