m***@gmail.com
2014-07-17 20:53:07 UTC
Hi there,
When I create a new Scintilla instance the selection background is a shade
of gray and the foreground color is unchanged. If I change the selection
background color to something else it works as expected. If I call again
SCI_SETSELFORE passing False for useSelectionForeColour my background color
is no longer defined. It's as if it's no color at all, selection does not
display. Per the help, passing false returns it to the default styled
coloring. What is the default styled coloring? Is it possible to return the
color to the default gray without explicitly passing gray for the color?
*SCI_SETSELFORE(bool useSelectionForeColour, int colour
<http://www.scintilla.org/ScintillaDoc.html#colour>)*
*SCI_SETSELBACK(bool useSelectionBackColour, int colour
<http://www.scintilla.org/ScintillaDoc.html#colour>)*
You can choose to override the default selection colouring with these two
messages. The colour you provide is used if you set useSelection*Colour to
true. If it is set to false, the default styled colouring is used and the
colour argument has no effect.
Thanks,
Michael
When I create a new Scintilla instance the selection background is a shade
of gray and the foreground color is unchanged. If I change the selection
background color to something else it works as expected. If I call again
SCI_SETSELFORE passing False for useSelectionForeColour my background color
is no longer defined. It's as if it's no color at all, selection does not
display. Per the help, passing false returns it to the default styled
coloring. What is the default styled coloring? Is it possible to return the
color to the default gray without explicitly passing gray for the color?
*SCI_SETSELFORE(bool useSelectionForeColour, int colour
<http://www.scintilla.org/ScintillaDoc.html#colour>)*
*SCI_SETSELBACK(bool useSelectionBackColour, int colour
<http://www.scintilla.org/ScintillaDoc.html#colour>)*
You can choose to override the default selection colouring with these two
messages. The colour you provide is used if you set useSelection*Colour to
true. If it is set to false, the default styled colouring is used and the
colour argument has no effect.
Thanks,
Michael
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.