Function List bash parser parse wrongly if file's EOL is UNIX
Author: donhoCreated Oct 15, 2020Updated Sep 7, 2026
Labelsbugfunction list
Description of the Issue
Function List bash parser parse wrongly if file's EOL is UNIX.
Steps to Reproduce the Issue
- Copy the content of https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/Test/FunctionList/bash/unitTest then paste it to a new document of Notepad++
- set this new pasted document to Unix EOF, set Language to
Shelland launch FunctionList Panel. - Observe
setenv()is not in the list. - set the document to Windows EOF, and reload FunctionList
setenv()is in the list.
Expected Behavior
setenv() should be always in the list
Actual Behavior
setenv() is not in the list. if document is set to UNIX EOL
Debug Information
Notepad++ v7.9 (32-bit) Build time : Sep 22 2020 - 03:24:22 Path : C:\tmp\79\notepad++.exe Admin mode : OFF Local Conf mode : ON OS Name : Windows 10 Enterprise (64-bit) OS Version : 2004 OS Build : 19041.508 Current ANSI codepage : 1252 Plugins : mimeTools.dll NppConverter.dll NppExport.dll
Source: notepad-plus-plus/notepad-plus-plus