On 25/10/06 04:17:58, Christopher Anderson wrote:
[...] .....buuuuut.... I have a few issues right now:
- I am often switching between editing a file and doing something in
the embedded Terminal. One thing I noticed that is annoying is that when I hit Save, it changes to the Status tab. I then have to keep clicking on Terminal again. Now, I understand why this behavior exists, but I would like to be able to disable it.
By default this behaviour is now disabled - it was changed a few releases ago. Unset 'Switch to status message list at new message' in the General tab of the Preferences dialog.
- I was running python in the terminal, and I tried to exit by
pressing Ctrl-D. Unfortunately, geany intercepted this key press and commented a line of code instead. So, I decided to remove the keybinding. I went into preferences, clicked on the "comment line" binding, clicked "Change" and then clicked "Ok". This seemed to clear out the shortcut. However, when I went back to the terminal, hitting Ctl-D still commented a line! So then I restarted geany. Now, when I am in the terminal, the Ctl-D gets sents properly to python, so that is ok. But if I am editing a document, hitting Ctl-D copies the current line. Strange.
Ctrl-D is a Scintilla keybinding for duplicate line, which is only active inside the Scintilla editing widget. At the moment this is overridden by the comment line keybinding (with Ctrl-g for duplicate line). Scintilla keybindings are not configurable. See http://geany.uvena.de/manual/apa.html
You could set a different keybinding for comment line. The customizable keybindings are global, which is why you had the problem - in future the editing shortcuts could be made local to Scintilla too.
Regards, Nick