Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Change bar feature in scintilla
gryphon:
I stumbled across this link (after a LOT of searching). It is a patched version of scintilla that provides a changebar feature in the margin like in Visual Studio.
http://groups.google.com/group/scintilla-interest/browse_thread/thread/2e5e1b82350886cc/adea77152522a434?lnk=gst&q=change#adea77152522a434
- maybe it's old news however I think it would be nice to try to build against this patched version to see the effect. It could be a very nice addition to CodeBlocks. I had planned to post this after I'd tried that but I haven't found the time yet. I know a couple of you have been playing with building against the latest scintilla code so I thought at least some of you may be interested in trying this.
gryphon
gryphon:
I finally got a chance to look at this again tonight. I've been able to build codeblocks using this modified scintilla source and the change bars work quite well (from my limited testing). I'm trying to do a bit more testing and collate a patch of the necessary changes to to enable this (assuming it is stable enough for use). In the meantime however I've attached two images showing the change bars in action. A yellow bar for unsaved changes and a green bar for saved changes.
gryphon
[attachment deleted by admin]
Biplab:
Looks cool. Can you post a patch to Berlios? :)
Ceniza:
That's a pretty nice feature of other IDEs, and it's lovely you're working on implementing it for Code::Blocks. I have to use Visual C++ at the office, and, everytime I see that bar, I wish Code::Blocks had it too.
Something I've noticed in Visual C++ is that if I try to compile something that produces compiling errors, I can modify the code, and when I double click on the error, it takes into account modified lines to take me to the right new line in the source where the error really happens. In other words, if I have an error in line 1234, but I delete 10 lines before that one, when I double click on the error in the errors window, which still points to 1234, it'll actually take me to line 1224. However, that's something that would have to be implemented in a different place, not in this plugin.
Have you considered telling Scintilla guys about it? It'd be nice to have that patch applied upstream too.
killerbot:
this is great. Bring the patch on :-)
Navigation
[0] Message Index
[#] Next page
Go to full version