parnoldx / nasc

Do maths like a normal person

Home Page:http://parnoldx.github.io/nasc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature-request] parenthesis should round selection

Tommimon opened this issue · comments

If I select this text 4 + 5 and press ( I delete everything I selected and I'm left with only the (, as shown in the following images:
image
image

Instead I would like to have both ( and ) appear around my selection, in addition the selection should then expand to contain the newly added parenthesis, as shown in the following images:
image
image

This makes possible to chain multiple hits of ( to wrap the selection many times.
In addition also [ and { should work in the same way.

This is a small usability improvement request, but it's so annoying when this happens and many editors have this feature, probably a many people are used to it, as I am.