Skip to content

Function List: retain tree state after Save/Reload #10280

@Yaron10

Description

@Yaron10

STR 1:
Open Notepad_plus.cpp.
Open the Function List panel.
You get the following state.

תמונה

Double-click isUrl, edit that function body, save the file and return focus to the FL by clicking on its caption.

Result:
The root Notepad_plus.cpp node is selected.

Expected:
isUrl should be selected.


STR 2:
Open Notepad_plus.cpp.
Open the Function List panel.
Expand the Notepad_plus node.
You get the following state.

תמונה

Press Sort by Name.
Double-click replaceInFiles, edit that function body, save and return focus to the FL by clicking on its caption.

Result:
The tree is collapsed and the Notepad_plus.cpp node is selected.

Expected:
The tree should retain its expanded state and replaceInFiles should be selected.


Notepad++ v8.1.2 (32-bit)
Build time : Jul 28 2021 - 01:28:03
Path : C:---\notepad++.exe
Command Line :
Admin mode : ON
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 2009
OS Build : 19042.985
Current ANSI codepage : 1255
Plugins : ComparePlus.dll HTMLTag_unicode.dll MenuIcons.dll PythonScript.dll _CustomizeToolbar.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions