Same thing with version 0.20.<div>But I guess this might be related to the fact that it uses the same preferences.</div><div><br></div><div>Regards</div><div>Phil<br><br><div class="gmail_quote">On Thu, Jan 20, 2011 at 2:40 PM, Philipp Kalder <span dir="ltr"><<a href="mailto:pkalder@googlemail.com">pkalder@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<div><br></div><div>thanks for the quick reply:<br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Thu, Jan 20, 2011 at 12:21 PM, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 20 January 2011 21:36, Philipp Kalder <<a href="mailto:pkalder@googlemail.com" target="_blank">pkalder@googlemail.com</a>> wrote:<br>


> Hello list,<br>
> I think I found a bug or two othree . . ., but am not sure. So I first write<br>
> to the list.<br>
> I hope this is the right place.<br>
> I have an apt-get install of Geany 0.19.1 and installed a theme from here:<br>
> <a href="http://www.barryvan.com.au/2009/01/geany-ide-tango-dark-colour-scheme/" target="_blank">http://www.barryvan.com.au/2009/01/geany-ide-tango-dark-colour-scheme/</a><br>
> I did this more or less before I really used geany. But I think some of the<br>
> issues started<br>
> first after the theme was applied. I also created a filetype.common as<br>
> mentioned<br>
> in the comments of the link above.<br>
> I installed a Virtual Machine Ubuntu 10.10 (same as my workstation) and<br>
> tested the 'fresh' version against the one I use:<br>
> 1. Issue<br>
> In an Editor such as gedit or Editra as well as in Geany you can mark a text<br>
> and replace it with anything you have in your clipboard.<br>
> The usual linux behavior would be to copy the marked text to the clipboard,<br>
> so ctrl+v-ing would simply replace the marked text with itself.<br>
> After installing the above theme however, the behavior changes from Editor<br>
> like to usual. Which is quite inconvenient.<br>
<br>
</div>Don't know how the theme affects this?? What does a fresh version on<br>
the actual workstation do? After all a VM may not have tweaks you<br>
added to your normal environment and certainly does not have same GUI<br>
drivers.<br></blockquote><div><br></div></div></div><div>The thing is, if I copy away the filetypes.python I use, or copy one from /usr/share/geany</div><div>to .config/geany/filedefs and restart Geany, it behaves as expected, what I labled 'Editor'-Style.</div>

<div><br></div><div>So even considering the differences between a VM and the actual workstation, I can change the behavior</div><div>even on the workstation alone. And the trigger seems to be using a different filetypes.python. So let me rephrase:</div>

<div><br></div><div>When changing the filetypes.python I use, the behavior changes. I always quit Geany before I make changes</div><div>like that and start it only after it's finished. the identifiers attribute was not set as well as the lexer_properties section</div>

<div>was not defined. I took those from the /usr/share/geany file and added them. I also changed certain colors, to have</div><div>a more dark blue background. But again, the behavior is 'usual' style.</div><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><br>
> 2. Issue<br>
> I have some issues with indentation while coding. I code in python. Pressing<br>
> Enter after a colon results in the next line being indented using tabs.<br>
> But my settings are to use spaces. Pressing Enter after a 'regular' line,<br>
> the indentation is done using spaces.<br>
> So I guess there is some problem with the implementation for python/colon.<br>
> Python sometimes really get's finicky about mixing spaces and tabs.<br>
<br>
</div>This works for me, did you force the preference to apply to already<br>
open documents? Just setting the preference won't change the setting<br>
for already open documents unless you force it (see note at top of<br>
preference page)</blockquote><div><br></div></div><div>Do you refer to</div><div><a href="http://www.geany.org/manual/current/index.html#preferences" target="_blank">http://www.geany.org/manual/current/index.html#preferences</a></div>
<div><br>
</div><div>and the statement about changes under the 'Document' Tab?</div><div><br></div><div>Anyway, I restarted Geany after changing settings. They showed up as I set there.</div><div><br></div><div>Preferences Dialog -> Editor TAB Indentation: Type Spaces</div>

<div><br></div><div>But don't seem to apply. Just to be sure, we are talking about the same:</div><div>A sample, I have 'Show whitespaces' active at all times:</div><div><br></div><div>. . . . if xmldoc.getElementsByTagName('ns3:message') == 'broken symlink': <hitting enter results in></div>

<div>----->---->print "The symlink is broken"</div><div><br></div><div>However, I've just had a look at the options under the Documents Tab and found that </div><div><br></div><div>Indent Type</div><div>

<br></div><div>was set to Tabs and space although my Settings in the Preferences Dialog show it as spaces.</div><div>Changing it there, solves this. It also keeps this set after restarting Geany. Though this is the opposite of</div>

<div>what it say's in the Geany manual:</div><div><br></div><div>"The settings under the Document menu, however, are only for the current document and revert to defaults when restarting Geany."</div><div><br>

</div><div>So I'm not sure whether this is a bug or just a 'glitch', but changing the filetypes.python changed this behavior as well.</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>
> 3. Issue<br>
> Is again related to the theme, after testing this in the VM. Auto<br>
> completing/adding for parenthesis does not work with the theme.<br>
> With the 'fresh' Geany closing parenthesis is added just as it should be,<br>
> with the theme it's not. Curly and square braces are added without<br>
> difficulty.<br>
<br>
</div>Again don't see how this is to do with the theme, more likely system<br>
configuration being different to the VM.</blockquote><div><br></div></div><div>Also again, any suggestions on which system config element could possibly influence the</div><div>behavior of the editor? I purged and reinstalled Geany, put the filetypes.* back in place</div>

<div>and started the Editor, same picture. Though I have to admit, that the purging seems not</div><div>to have been as thorough as I wished. After starting the editor, the last opened files reappeared.</div><div class="im">
<div><br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br>
> 4. Issue<br>
> Might be related to no.2. Though the settings are set to use spaces,<br>
> pressing tab inserts a tab and even converts preceding spaces in groups of<br>
> $tabwidth into tabs<br>
> Moving multiple lines at once with tab, also inserts and converts spaces to<br>
> tabs. This seems not to be related to the theme as well.<br>
<br>
</div>See comment above, behaves as you describe even with pref changed<br>
unless the change is applied to the open file.<br></blockquote><div><br></div></div><div>I'll gibe the version 0.20 a try. Lets see what this brings.</div><div><br></div><div>Thanks again.</div><div>Phil</div><div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Cheers<br>
Lex<br>
<div><br>
> So I don't know if these are 'bugs', so if someone know's anything about it,<br>
> please let me know.<br>
> Especially if it is a bug, that might already been filed as one.<br>
> Regards<br>
> Phil<br>
</div>> _______________________________________________<br>
> Geany mailing list<br>
> <a href="mailto:Geany@uvena.de" target="_blank">Geany@uvena.de</a><br>
> <a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
><br>
><br>
_______________________________________________<br>
Geany mailing list<br>
<a href="mailto:Geany@uvena.de" target="_blank">Geany@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
</blockquote></div></div><br></div>
</blockquote></div><br></div>