[gedit-list] Auto-closing brackets in selected area



Hello there, this is my first post to the list, so take it easy :P

I don't know if there is a feature like this in gedit, I've tried to find it in some plugin but failed.

I'll try to explain, suppose I'm there doing some happy coding and I want to select some text, be it
using ctrl + shit + arrow right or even with the mouse, than I want all this selection to be enclosed
be it in () or in {}, so I press ( and the selected text becomes enclosed, like this.

1 - I have the text:
This is a very dummy text.

2 - I select all the text with the mouse
3 - I press (.
4 - The text becomes:
(This is a very dummy text.)

Is it possible ? if not I think I will write a plugin to do that.

Best Regards.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]