[Geany] Need help tracking down a bug

Enrico Tröger enrico.troeger at xxxxx
Wed Dec 20 22:49:56 UTC 2006


On Wed, 13 Dec 2006 08:58:57 -0500, Bob Doan <bdoan at sicom.com> wrote:

> > Personally I think most people wouldn't use the option, so if we
> > note the config file option in the documentation this should be
> > fine. There is also the ctrl-I binding for indentation that could
> > be used in this situation, which doesn't move the cursor.
>
> Hym.. I still think the behavior is kinda odd.  Only scite does it
> that way also.
>
> I did a quick survey of other programming editors and here is what I
> found:
>
> Line 1: <MAYBE TAB>if (1) {
> Line 2: <MAYBE TAB><tab?>
> Line 3: <MAYBE TAB>}
>
> bluefish: Aligns Line 2 & Line 3 start of text on Line 1 (No extra tab
> on line 2)
> gedit: same thing
> nedit: same thing
>
> Eclips: Inserts the tab on line 2 like geany but does not move two tab
> places then tab is pressed.
>
> I think it should be on by default.  Unless I'm missing something who
> would expect two tab cursor movements when only one tab is pressed?
Sorry for the late answer.
I just set the use_tab_to_indent option to false by default, so the
cursor isn't moved to the second tab.

Regards,
Enrico

--
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20061220/1d8a6fe7/attachment.pgp>


More information about the Users mailing list