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 in Search/Replace function #4397
Comments
Hi, Turtletronic, See my reply on N++ Community, below : Best Regards, guy038 |
@Turtletronic Given Guy's writeup on the Community, if you agree that Notepad++ is acting acceptably in this regard, please close this issue. |
@guy038 only gave a workaround how one can deal with the current buggy behaviour. But this is not a real solution. Currently Notepad++ is not acting acceptably and this should be fixed. Unfortunately only german-writing users are affected by this bug, I guess this won't speed up fixing it... |
@dinkumoil , you seem adept, and you understand this problem it seems...how about diving in and coming up with a PR that fixes it? :) |
@sasumner : I would do it if I were a C++ dev. Unfortunately more than 25 years ago I've switched from C (my "first love" beside MC68K assembly ;) ) to Pascal and later on to Delphi instead to C++. Nowadays this language is blown up in a disastrous way, I don't want to learn it anymore. |
@dinkumoil Well, not to get too far off-topic, but your story sounds a lot like my story. :-) Except for the Pascal/Delphi part: I went the C++ Builder route, but in truth never delved too deeply into C++ (stuck to the basics of it that give you the biggest advantages...to avoid the "blown up" part you hint at). Nowadays I'm more often called upon to do Python and that's OK with me. I'm sure you would be comfortable working in the Notepad++ source code (IMO it is "very light" C++), but that's all I'll say. |
I have some news concerning this issue and want to revise my statement above. See my posting in the community forum. |
scintilla follows the unicode standard for locale independent case folding to do case insensitive searching. so your choices are:
Click here to visit the Notepad++ Community Forum |
There was another issue on the same topic recently...too bad this one and that other one weren't cross-linked. |
Description of the Issue
Bug in search and replace function (here: one specific German character)
Steps to Reproduce the Issue
ß
Expected Behavior
The search / search replace should ONLY affect the Umlaut char s-sharp in it's 'ß' form.
Actual Behavior
The search / search affected the Umlaut char s-sharp (correct) but also affected the non-related occurrence of doube 's' letters, as in words like 'message',
Debug Information
Notepad++ v7.5.6 (64-bit)
Build time : Mar 19 2018 - 00:23:17
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 7 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExec.dll
The German s-sharp character 'ß' can - under certain circumstances - be written out as 'ss'; this however does not mean that every ocurrance of a double 's' should result in a s-sharp. That is one matter. The second is that Notepad++ replaces 'ss' completely out of context as I was searching for 'ß', not 'ss'.
The text was updated successfully, but these errors were encountered: