[Geany] Indentation problems
Lex Trotman
elextr at xxxxx
Thu Jan 20 11:21:47 UTC 2011
On 20 January 2011 21:36, Philipp Kalder <pkalder at googlemail.com> wrote:
> Hello list,
> I think I found a bug or two othree . . ., but am not sure. So I first write
> to the list.
> I hope this is the right place.
> I have an apt-get install of Geany 0.19.1 and installed a theme from here:
> http://www.barryvan.com.au/2009/01/geany-ide-tango-dark-colour-scheme/
> I did this more or less before I really used geany. But I think some of the
> issues started
> first after the theme was applied. I also created a filetype.common as
> mentioned
> in the comments of the link above.
> I installed a Virtual Machine Ubuntu 10.10 (same as my workstation) and
> tested the 'fresh' version against the one I use:
> 1. Issue
> In an Editor such as gedit or Editra as well as in Geany you can mark a text
> and replace it with anything you have in your clipboard.
> The usual linux behavior would be to copy the marked text to the clipboard,
> so ctrl+v-ing would simply replace the marked text with itself.
> After installing the above theme however, the behavior changes from Editor
> like to usual. Which is quite inconvenient.
Don't know how the theme affects this?? What does a fresh version on
the actual workstation do? After all a VM may not have tweaks you
added to your normal environment and certainly does not have same GUI
drivers.
> 2. Issue
> I have some issues with indentation while coding. I code in python. Pressing
> Enter after a colon results in the next line being indented using tabs.
> But my settings are to use spaces. Pressing Enter after a 'regular' line,
> the indentation is done using spaces.
> So I guess there is some problem with the implementation for python/colon.
> Python sometimes really get's finicky about mixing spaces and tabs.
This works for me, did you force the preference to apply to already
open documents? Just setting the preference won't change the setting
for already open documents unless you force it (see note at top of
preference page)
> 3. Issue
> Is again related to the theme, after testing this in the VM. Auto
> completing/adding for parenthesis does not work with the theme.
> With the 'fresh' Geany closing parenthesis is added just as it should be,
> with the theme it's not. Curly and square braces are added without
> difficulty.
Again don't see how this is to do with the theme, more likely system
configuration being different to the VM.
> 4. Issue
> Might be related to no.2. Though the settings are set to use spaces,
> pressing tab inserts a tab and even converts preceding spaces in groups of
> $tabwidth into tabs
> Moving multiple lines at once with tab, also inserts and converts spaces to
> tabs. This seems not to be related to the theme as well.
See comment above, behaves as you describe even with pref changed
unless the change is applied to the open file.
Cheers
Lex
> So I don't know if these are 'bugs', so if someone know's anything about it,
> please let me know.
> Especially if it is a bug, that might already been filed as one.
> Regards
> Phil
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
>
More information about the Users
mailing list