Open bluemonkmn opened 3 years ago
Cannot reproduce
Notepad++ v8.1.3 (64-bit) Build time : Aug 10 2021 - 00:32:53 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Command Line : "Downloads\Sample.csv" Admin mode : ON Local Conf mode : OFF Cloud Config : OFF OS Name : Windows 10 Home (64-bit) OS Build : 17134.0 Current ANSI codepage : 1252 Plugins : mimeTools.dll NppConverter.dll NppExport.dll
I re-tested this on 8.1.2 64-bit and the steps were slightly different. Step 6 resulted in the message "Find: Found the 1st occurrence from the top. The end of the document has been reached." instead of "Find: can't find the text [...]" It's critical, however, that the cursor be at the beginning of the file with nothing selected for the second attempt.
For me it results in: "Find: can't find the text [...]". This is when I have the cursor at the beginning of the file with nothing selected the second time, as stated. There's no difference each time.
This updated sample.csv reproduces the error more consistently for me. I don't have to perform multiple find operations to get the error; it happens in the first attempt. Sample.csv
Description of the Issue
The regular expression:
("1(\^\^([^^]|\^[^^])*){33}\^\^\^|^2(\^\^([^^]|\^[^^])*){108}\^\^\^|^3(\^\^([^^]|\^[^^])*){48}\^\^\^|^4(\^\^([^^]|\^[^^])*){20}\^\^\^)
reports an error "Find: Search failed" if the search is attempted twice with the cursor on the first character of the file after the first attempt. Sample.csvSteps to Reproduce the Issue
("1(\^\^([^^]|\^[^^])*){33}\^\^\^|^2(\^\^([^^]|\^[^^])*){108}\^\^\^|^3(\^\^([^^]|\^[^^])*){48}\^\^\^|^4(\^\^([^^]|\^[^^])*){20}\^\^\^)
Expected Behavior
The same status (from the first attempt) should have been reported for both Find Next clicks.
Actual Behavior
The second click caused status "Find: Search failed" to be reported.
Debug Information
Notepad++ v8.1.3 (64-bit) Build time : Aug 10 2021 - 00:29:32 Path : C:\Program Files\Notepad++\notepad++.exe Command Line : "C:\Users\bmarty\Non-Synced Files\Temp\Sample.csv" Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF OS Name : Windows 10 Enterprise (64-bit) OS Version : 2009 OS Build : 19043.1165 Current ANSI codepage : 1252 Plugins : mimeTools.dll NppConverter.dll NppExport.dll