I like the idea of reading from `.Xresources`, it's ubiquitous on Linux, at 
least. It would be nice, but maybe not portable.

Adding GUI widgets limits the number of custom colors we can have to some 
reasonable number, probably 16. The [relevant function in 
VTE](https://developer.gnome.org/vte/0.50/VteTerminal.html#vte-terminal-set-colors)
 accepts palettes up to 256 colors. There may be other reasons in Geany that 
limiting the number to 16 is a good idea, though. Also this looks fairly easy 
to me, from reading `vte.c` it looks like I can implement it all in there 
without having to import anything new. My last point about this approach is 
just that setting 16 colors seperately would be annoying for the user.

I wasn't able to make much of the Scintilla approach by looking through the 
codebase, but I think it would be the best option for the user.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2530#issuecomment-646928709

Reply via email to