Hello again, as I'm translating the po file for the next release I reviewed some features and I would like to submit a few questions.
- Contrary to the 0.10.2 release, it seems that the construct completion only occurs when you use the TAB key. Is there a (simple) way to revert to the old behaviour ?
- When editing php files and constructions as if or for with advanced indent mode activated, the auto indentation works well except when typing the } character. For C files, the indent decreases automatically, so it matches the opening brace indentation level. This behavior is not the same for PHP files as the indentation level does not decreases. Is it possible to "fix" this ?
Thanks in advance for your answers (I may have others questions as I keep translating :) )
On 05/12/2007 10:18:43 PM, Jean-Philippe wrote:
Hello again, as I'm translating the po file for the next release I reviewed some features and I would like to submit a few questions.
- Contrary to the 0.10.2 release, it seems that the construct
completion only occurs when you use the TAB key. Is there a (simple) way to revert to the old behaviour ?
Yes, it's configurable in the Preferences dialog keybindings tab - 'Complete construct'. Just set it to space.
- When editing php files and constructions as if or for with advanced
indent mode activated, the auto indentation works well except when typing the } character. For C files, the indent decreases automatically, so it matches the opening brace indentation level. This behavior is not the same for PHP files as the indentation level does not decreases. Is it possible to "fix" this ?
It's a known bug. I had a look at this and it seemed to be a problem with the Scintilla lexer (we use the style information to determine if there's a valid opening brace). I'll ask about it on the Scintilla ML soon.
https://sourceforge.net/tracker/index.php?func=detail&aid=1689305&gr...
Regards, Nick
On 05/14/2007 12:45:29 PM, Nick Treleaven wrote:
On 05/12/2007 10:18:43 PM, Jean-Philippe wrote:
- When editing php files and constructions as if or for with advanced
indent mode activated, the auto indentation works well except when typing the } character. For C files, the indent decreases automatically, so it matches the opening brace indentation level. This behavior is not the same for PHP files as the indentation level does not decreases. Is it possible to "fix" this ?
It's a known bug. I had a look at this and it seemed to be a problem with the Scintilla lexer (we use the style information to determine if there's a valid opening brace). I'll ask about it on the Scintilla ML soon.
https://sourceforge.net/tracker/index.php?func=detail&aid=1689305&gr...
I've added a workaround to SVN for the PHP and TCL de-indenting. It's not quite as smart as the other C-like filetypes, but it should work for de-indenting by one level (which is nearly always what is wanted).
Regards, Nick
The deindenting works fine for me with php files, thanks for the "fix".
Additionally thanks for the tip for the construct completion, I was just too stupid to think about this way.
Nick Treleaven a écrit :
On 05/14/2007 12:45:29 PM, Nick Treleaven wrote:
On 05/12/2007 10:18:43 PM, Jean-Philippe wrote:
- When editing php files and constructions as if or for with advanced
indent mode activated, the auto indentation works well except when typing the } character. For C files, the indent decreases automatically, so it matches the opening brace indentation level. This behavior is not the same for PHP files as the indentation level does not decreases. Is it possible to "fix" this ?
It's a known bug. I had a look at this and it seemed to be a problem with the Scintilla lexer (we use the style information to determine if there's a valid opening brace). I'll ask about it on the Scintilla ML soon.
https://sourceforge.net/tracker/index.php?func=detail&aid=1689305&gr...
I've added a workaround to SVN for the PHP and TCL de-indenting. It's not quite as smart as the other C-like filetypes, but it should work for de-indenting by one level (which is nearly always what is wanted).
Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany