On Tue, 05 Dec 2006 14:57:29 +0100
Roman Hubacek <[EMAIL PROTECTED]> wrote:

>    I did that some months ago in my Scite sources (version 1.68). It
> is done this way:
> 
> - in scintilla\include\Scintilla.h add new constant for folding line 
> style (after the line with #define STYLE_CALLTIP 38):
> #define STYLE_FOLDINGLINE 39
> #define STYLE_LASTPREDEFINED 40
> 
> - in scintilla\src\Editor.cxx change lines to be painted with this
> style: surface->FillRectangle(rcFoldLine, 
> vs.styles[STYLE_DEFAULT].fore.allocated);
> 
> change to:
> 
>    surface->FillRectangle(rcFoldLine, 
> vs.styles[STYLE_FOLDINGLINE].fore.allocated);
> 
>    After doing that and recompiling, you can define new color for 
> folding in your properties:
> 
> # Folding line
> style.*.39=fore:#E0E0E0

Thanks a lot for this.
In my case (linux, scite 1.71), however, the color of the line does not
change. I've of course double checked the changes, and, other things a
inserted like new line in calltips worked out straight away.

Hmmm...

Felix
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to