[Geany] Problems with indentation

Lex Trotman elextr at xxxxx
Wed Mar 3 21:31:20 UTC 2010


2010/3/4 Filip Gruszczyński <gruszczy at gmail.com>

> Yes, I have enabled Detect from file. But it detects tabs + spaces
> even when the file is empty and spaces only setting is set.
>

Selecting "detect from file" means that the detected indentation overrides
the setting. So unset it to enforce your setting.

An empty file can't actually detect anything but the default happens to be
both.

Cheers
Lex


>
> 2010/3/3 Enrico Tröger <enrico.troeger at uvena.de>:
> > On Wed, 3 Mar 2010 14:27:10 +0100, Filip wrote:
> >
> >>But I have set spaces in type and according to the file content. If I
> >>turn according to the file content off and set tabs only, I get only
> >>tabs. I really don't understand those preferences.
> >
> > Did you maybe enable the 'Detect from file' preference?
> > Just to get sure, check what Geany thinks to use as indentation type,
> > it's printed in the status bar behind the INS value.
> >
> >
> > Regards,
> > Enrico
> >
> > --
> > Get my GPG key from http://www.uvena.de/pub.asc
> >
> > _______________________________________________
> > Geany mailing list
> > Geany at uvena.de
> > http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
> >
> >
>
>
>
> --
> Filip Gruszczyński
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20100304/b5bb3338/attachment.html>


More information about the Users mailing list