Re-hello Mr Cefou.
OK, I get it.
It is because of the syntax def file used.
In the syntax def file there is a pairmark-color property, for example for
pascal.sdef:
# COLORS font/paper/statement/pairmark/fontline/line/focusline/selected
COLORS cl_default cl_default cl_default cl_ltyellow cl_dkgray cl_ltgray
cl_white cl_ltblue
Following advice of Martin in msesyntaxedit.pas:
----------
property pairmarkbkgcolor: colorty read fpairmarkbkgcolor
write fpairmarkbkgcolor default cl_none;
//cl_none -> force none,
//cl_default -> use syntaxpainter value if defined else cl_none
//otherwise use syntaxpainter value if defined
-----------
So if something else than cl_default is defined in the syntax def file , that
color will be used instead of the color defined in project option.
If you want to use the color that you have defined in project option, just
change the color of pairmark in syntax def file with cl_default.
Example for pascal.sdef, change it with this (change cl_ltyellow with
cl_default) :
# COLORS font/paper/statement/pairmark/fontline/line/focusline/selected
COLORS cl_default cl_default cl_default cl_default cl_dkgray cl_ltgray cl_white
cl_ltblue
So maybe it should be better to change pascal.sdef and use cl_default insteed
of cl_ltyellow.
Fre;D
,
________________________________
De : code dz <[email protected]>
Envoyé : vendredi 6 janvier 2023 14:35
À : General list for MSEide+MSEgui <[email protected]>
Objet : [MSEide-MSEgui-talk] can't change mark pairwords color
Hi
it seems pairwords mark color in project options can not change its
color , it has only one color (yellow) if i change it to gray for
example it still yellow .
i am using the mseide 5.6.10
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk