[Geany-devel] [PATCH] Changebar port from codeblocks
techet at xxxxx
Sat Jun 12 18:23:56 UTC 2010
2010/6/12 Enrico Tröger <enrico.troeger at uvena.de>:
> On Thu, 10 Jun 2010 09:29:18 +1000, Lex wrote:
>> Hi Jiri,
>> I'd recommend that you send your patches as attachments, putting them
>> in the mail body can get them wrapped.
> +1, Nick also said this above.
Sorry, I can resend them again, just tell me. (I don't want to spam
the mailing list too much - I have already caused a nasty email storm
on your list).
> And a bit more info would be cool, a short description and/or a
> screenshot. I hardly remember some new visual Scintilla features from
> the past which could be what the topic is about but I don't have the
> time to look it all up. And I don't know CodeBlocks.
OK, here's a screenshot:
(Notice the green and yellow lines.) When you load the document, there
are no lines. The first time you modify a line, a yellow stripe
appears next to it. If you save it, it becomes green. So the
screenshot can be interpreted as:
* lines 61-64 have been modified since document loading, but these are
saved on the disk
* lines 65-69 have been modified but have not yet been saved (have
been modified after the last save)
* the remaining lines haven't been edited at all
I find it pretty useful for navigation in source code because you can
quickly visually see the places you have been working on.
It has been introduced by Neil as an experimental feature for
scintilla two years ago:
I had a discussion with Neil whether this couldn't be merged to
mainline scintilla, but he finds the current implementation "not good
Despite its (in practice not visible) limitations, I find it so much
useful that I decided to port it from codeblocks (which contains
probably the most up-to-date version). I understand that it probably
won't get merged to geany, but some people might find it useful too.
More information about the Devel