dail8859 / SurroundSelection

Notepad++ plugin to automatically surround the selection in quotes/brackets/parenthesis
GNU General Public License v2.0
55 stars 5 forks source link

Completely deletes text #4

Closed CobraHiss closed 6 years ago

CobraHiss commented 6 years ago

Hey,

I'm using version 1.1 and it seems to just delete the text completely rather than surround a selected word.

Do you know what could be causing this?

dail8859 commented 6 years ago

Two things immediately come to mind...make sure it is enabled through the plugin menu and also it may not work correctly with non-US keyboard layouts.

If it is enabled and you are using a US keyboard then I'd recommend posting your Notepad++ debug info along with the exact steps you are trying.

CobraHiss commented 6 years ago

I am using a US keyboard and I have SurroundSelection enabled through the plugin menu.

What I did was this:

I open a new tab, type some words in there and then hold SHIFT and press arrow back button to select a word. After that I do SHIFT + ' to surround the selected word with "". It just deletes everything in the opened tab.

Not exactly sure how debug works on Notepad++.

dail8859 commented 6 years ago

Not exactly sure how debug works on Notepad++.

Use the menu ? > Debug Info... and copy/paste that information here.

CobraHiss commented 6 years ago

Hey Dail, sorry, it turns out it was my fault. I was running Notepad++ version 6.6.9. SurroundSelection is not compatible with it. And that's why I was not aware that Debug Info even existed. I've upgraded to the latest version now and everything is working perfectly. Thank you!

dail8859 commented 6 years ago

Glad it is working for you now.