Select text colour - foreground color

2006-08-07
2012-11-13
  • I've added option to load fgColor from stylers.xml, its new code:

    ScintillaEditView.cpp:Line 1086:

    COLORREF selectColorBack = grey;
    COLORREF selectColorFore = black;

    i = stylers.getStylerIndexByName("Selected text colour");
       
    if (i != -1)
        {
            Style & style = stylers.getStyler(i);
        selectColorBack = style._bgColor;
        selectColorFore = style._fgColor;

        execute(SCI_SETSELBACK, 1, selectColorBack);
        execute(SCI_SETSELFORE, 1, selectColorFore);

        }

     
    • Why hasn't this made it into the code base?
      Selected text color should resemble the rest of the windows applications as much as possible.

       
  • Yaron
    Yaron
    2012-09-14

    I'm not a programmer.

    Could you please let me know where ScintillaEditView.cpp is located?

    Thank you.