-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Hodgson wrote:

>    Stick some traces in scintilla/gtk/PlatGTK.cxx Palette::* and try
> changing Palette::numEntries in scintilla/include/Platform.h.

I put a DebugDisplay in Palette::WantFind() in the "if (want)" case,
giving me the current value of "used".

With the minimalistic "Text" lexer, 78 colors are in use. "C/C++" lexer
pushes this up to 90, "Hypertext" reaches the limit of 100. After I set
Palette::numEntries to 150, I got a color count of 117 for "Hypertext"
and indeed the color problems disappeared.

I don't really know where all those colors come from, but this is with
the distributed *.properties and no user properties.

So as I see it, the quick fix would be to increase Palette::numEntries.
I don't really know whether this has any unwanted side effects, though.

- -- Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDy2O28X9UC2T3lakRAsYmAJ0aYQEFnddBD3gdvKKlaxXAw/UsoACeMUHS
mAxXzC/V+i2UY873MEpzMtE=
=Wvrz
-----END PGP SIGNATURE-----
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to