STC

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.
Post Reply
Kuno
In need of some credit
In need of some credit
Posts: 7
Joined: Wed Jan 21, 2009 8:22 pm

STC

Post by Kuno » Tue Mar 10, 2009 9:28 pm

I am using wxStyledTextCtrl to do a Code Editor, and I need to add breakpoints in some lines. I want to put a little circle in each line that I select (click on the lines), just next to the line numbers. I can't do it. Can you help me?

lester
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 211
Joined: Sat Sep 02, 2006 7:24 pm
Location: Ukraine

Post by lester » Tue Mar 10, 2009 10:17 pm

mpTextEditor->MarkerDefineBitmap( 1, wxBitmap( ledred_xpm ) );
...
mpTextEditor->MarkerAdd( line, 1 );

Post Reply