[Geany-devel] New Feature(plugin OR geany self)

Jiří Techet techet at xxxxx
Sun Oct 2 20:15:56 UTC 2011


On Sun, Oct 2, 2011 at 15:36, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> On Thu, 29 Sep 2011 22:52:19 +0200
> Jiří Techet <techet at gmail.com> wrote:
>
>> By the way, there's a bug in the MRU code.
>>
>> 1. Open Geany with say 3 files,
>> 2. ctrl-tab until you reach the very same file you have currently displayed,
>> 3. release ctrl,
>> 4. ctrl-tab again. Nothing happens until you ctrl-tab one more time.
>>
>> I have a patch for it in my yet-to-be-reviewed patch queue (for more
>> than a year).
>
> I remember having this problem when I worked with very few files. Can
> you please drop a copy of the patch in Geany bug or patch tracker?

Done:

https://sourceforge.net/tracker/?func=detail&aid=3417269&group_id=153444&atid=787793

Please apply patch

https://sourceforge.net/tracker/?func=detail&aid=3417268&group_id=153444&atid=787793

before - it slightly conflicts with the other patch and as I want to
have it in Geany too, I didn't want to spend time resolving the
conflicts. If the "close window in MRU order" patch isn't wanted, I
can change the "MRU fix" patch to remove the dependency on the other
patch.

>
>> I also have a patch for the popup window so it shows the current
>> file in bold and the following three files in MRU below it. It
>> helps with "predicting" which file opens after ctrl-tab next.
>
> Nice. :)

Here's the patch

https://sourceforge.net/tracker/?func=detail&aid=3417270&group_id=153444&atid=787793

Apply after the previous two patches.

>
>> You could even return to the file before ctrl+tab press if you
>> overshot [...] I could enhance my patch to allow this too if someone
>> finds it useful.
>
> Ctrl+Shift+Tab would be very convinient.

I'll have a look at it when I have time.

Cheers,
Jiri



More information about the Devel mailing list