Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Some characters do not surround but delete text instead #15

Open
from-nowhere opened this issue Oct 19, 2022 · 1 comment
Open

Comments

@from-nowhere
Copy link

from-nowhere commented Oct 19, 2022

Highlighting text and then typing the backtick character ` does not work and replaces the selected text with a single `. However, all other characters available by default ('"<([{ and matching closing characters) work just fine.

Additional characters defined in SurroundSelection.ini (placed in the same folder as the .dll file) do not work either.

My version info:

Notepad++ v8.4.6   (32-bit)
Build time : Sep 25 2022 - 19:55:26
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit) 
OS Version : 21H2
OS Build : 19044.2130
Current ANSI codepage : 1252
Plugins : 
    SurroundSelection (1.4.1)

This occurs for different language modes (I tried plaintext, markdown and python) and encodings (I tried UTF8 and ANSI). I use an English KB layout.

Please let me know if I can provide you with additional information.

@rdipardo
Copy link
Contributor

rdipardo commented Feb 26, 2023

I can't reproduce any aspect of this issue, either using SurroundSelection 1.4.1 or a development build.

See if maybe this patched version works better:

Additional characters defined in SurroundSelection.ini (placed in the same folder as the .dll file) do not work either.

The INI file should be saved as $(NPP_DIR)\plugins\Config\SurroundSelection.ini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants