You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening a document while function list is enabled and the function list parser has mixed mode parser (classes and functions, like i.e. Python) the classes are always listed first, despite their position in the document. Sorting the list using the appropriate button in the function list panel and then unsorting it will sort the elements in the correct order.
Also it would be great to have a preference setting to always enable sorting for newly opened documents.
Steps to Reproduce the Issue
Open a Python document with functions and classes
Open the function list and notice how classes are always on top regardless of functions being in the same file much earlier
Sort the function list (-> gets sorted lexicographically)
Unsort the function list (-> gets sorted correctly)
Expected Behavior
Sorting should always be consistent between states.
Actual Behavior
Inital sorting has classes above functions regardless of the their position.
Debug Information
Notepad++ v8.3.3 (64-bit)
Build time : Mar 13 2022 - 17:20:02
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2009
OS Build : 19044.1586
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll PythonScript.dll XMLTools.dll
* add new preference setting to allow function list to be sorted lexicographically by default
* fix sorting for mixed mode function list parsers on new file open
* add new translations to english.xml and german.xml
dfs-
pushed a commit
to dfs-/notepad-plus-plus
that referenced
this issue
Mar 29, 2022
Description of the Issue
Opening a document while function list is enabled and the function list parser has mixed mode parser (classes and functions, like i.e. Python) the classes are always listed first, despite their position in the document. Sorting the list using the appropriate button in the function list panel and then unsorting it will sort the elements in the correct order.
Also it would be great to have a preference setting to always enable sorting for newly opened documents.
Steps to Reproduce the Issue
Expected Behavior
Sorting should always be consistent between states.
Actual Behavior
Inital sorting has classes above functions regardless of the their position.
Debug Information
Notepad++ v8.3.3 (64-bit)
Build time : Mar 13 2022 - 17:20:02
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2009
OS Build : 19044.1586
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll PythonScript.dll XMLTools.dll
See also:
https://community.notepad-plus-plus.org/topic/22756/function-list-weirdness-and-sorting
The text was updated successfully, but these errors were encountered: