[Geany-Users] change color of code folding line

Lex Trotman elextr at xxxxx
Thu Dec 5 04:52:38 UTC 2013


On 5 December 2013 15:07, pauriem at gmail.com <pauriem at gmail.com> wrote:

> when code is folded a black horizontal line is drawn across the text
> window and there does not seem to be any way to change its color
> either in preferences or "filetypes" files though the text window
> background color can be changed, which is a problem if for instance
> the chosen background is dark
>
> can the Scintilla message SCI_STYLESETFORE be used by a macro to
> change the fold line color? will this have other side effects or
> override "filetypes" colors? why does the "filetypes" file not support
> styling of the fold line which kind of limits the validity of the
> background color styling feature that is provided?
>

The filetype file does not provide support for drawing the line in a
particular colour because Scintilla does not provide that facility.  The
line is drawn in the default foreground colour and changes if the filetype
or theme changes the default foreground colour, so it should always be
visible if the filetype or theme makes default text visible.

Cheers
Lex



> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20131205/f2180f6c/attachment.html>


More information about the Users mailing list