[Geany] Feature request - hiding tabs/spaces problem

Enrico Tröger enrico.troeger at xxxxx
Tue Jun 16 20:02:29 UTC 2009


On Wed, 27 May 2009 11:36:49 +0200, Filip wrote:

>Hi!

Same to you :).


Sorry for the late reply, I somehow missed that mail :(.


>Recently I tried to change some python library and I have encountered
>really big problem - those guys used spaces instead of tabs (I don't
>want any flame war, so let's not go into this issue). Is there any
>possibility, that geany could display tabs, even though there spaces
>and edit it using tabs altohugh they would be saved as spaces? And

Hmm, not sure about the displaying part. Do you have the "Show
Whitespace" option enabled and are referring to that?

About editing, Geany should detect if in the opened file spaces are
used for indentation and then automatically insert spaces instead of
tabs when pressing TAB or indent code in another way (Ctrl-I or
whatever). You can check this in the statusbar, the fifth field says
"TAB", "SP" or "T/S" which indicates the used indentation of the
current file. Additionally you can change or enforce the used
indentation for the current document in the menu:
Document->Indent Type->...
And of course, you have a whole bunch of more settings in the
preferences dialog but note that these apply for all files.

Not sure whether this really answers your question, though.

Regards,
Enrico

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


More information about the Users mailing list