Home » Questions » Computers [ Ask a new question ]

Notepad++: How to wrap selected text in brackets, parenthesis, quotes?

Notepad++: How to wrap selected text in brackets, parenthesis, quotes?

I'm used to textmate and I'm looking for an editor on Windows that supports this. Notepad++ seems cool, but I when I have some text selected and type an opening bracket it replaces the text with the bracket instead of wrapping it inside brackets. Can this be enabled somehow ?

Asked by: Guest | Views: 284
Total answers/comments: 1
Guest [Entry]

"You can try this:

First select the lines that you want surrounded. Then goto:

TextFX > TextFX Edit > Indent and surround {text line }

I don't know if there is a short cut assigned by default for this, but I'm sure that you can make a quick macro if you need it.

Hope this helps some."