If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Hi,
I'm trying to highlight similar text in my editor and I use indicators. The problem is the text is underlined than being surrounded by a box.
I need to do something nicer (a box around text or highlight with color) than a colored line.
// somewhere at the top of the file
#define MATCH_INDICATOR 10
//...
IndicatorSetUnder(MATCH_INDICATOR, true);
IndicatorSetStyle(MATCH_INDICATOR, wxSTC_INDIC_ROUNDBOX);
// When there is a match:
SetIndicatorCurrent(MATCH_INDICATOR);
IndicatorFillRange(...);
// somewhere at the top of the file
#define MATCH_INDICATOR 10
//...
IndicatorSetUnder(MATCH_INDICATOR, true);
IndicatorSetStyle(MATCH_INDICATOR, wxSTC_INDIC_ROUNDBOX);
// When there is a match:
SetIndicatorCurrent(MATCH_INDICATOR);
IndicatorFillRange(...);
Eran
You are maverick!
It works nicely...thank you!
Chief Justice: We have trouble dear citizens! Citizens: What it is his honor? Chief Justice:Our president is an atheist, who will he swear to?