Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: MadBoat on August 06, 2015, 06:06:26 am

Title: Custom Margin Zero
Post by: MadBoat on August 06, 2015, 06:06:26 am
I'm working on a plugin to provide support for a debugger for an experimental architecture we're working on. This is only important because the notion of a "breakpoint" is a little more complicated than it would be for a typical program, and as such, it requires more screen real estate to represent properly. I was hoping to re-purpose margin zero in each pages' scintilla (margin zero currently holds line number information). After my modifications it would do the following:

"If a breakpoint is present on a line, display extended breakpoint information (as much as can be fit). If a breakpoint is not present on the line, display line number as usual."

These are the troubles in pursuit of that goal that I've been unable to resolve myself.