11:05:15: This is Geany 0.21 (svn >= r5734).
Currently, when selecting some text and hitting '(' (and the 'auto-close quotes and brackets' option is activated), Geany will remove the selection and insert matching parens.
I think it would be more efficient if in such cases the selection would be inserted inside the matching items. If the user intended to replace the text, she will hit del/backspace before inserting the parens. Otherwise, it would make it much easier to enclose some random code within matching parens/quotes: (have the appropriate option activated and) select random code and insert a paren or quote. I am given to understand that this is how TextMate handles this.
What do you think?
Log in to post a comment.