Skip to content

FunctionList parser for Pascal/Delphi produces duplicate entries in FunctionList panel #12693

@dinkumoil

Description

@dinkumoil

Description of the Issue

The current version of FunctionList parser included with upcoming Notepad++ v8.4.8 produces duplicate entries in FunctionList panel.

Steps to Reproduce the Issue

See discussion in community forum >> here <<, try test code provided by user James Richters (known as @Zaaphod here on GitHub).

Expected Behavior

Declarations of procedures/functions in the interface section of a Pascal unit should not produce entries in FunctionList panel, only the definitions of these procedures/functions in the implementation section should produce such entries.

Actual Behavior

With the current version of Pascal/Delphi function list parser also declarations of procedures/functions in the interface section of a Pascal unit produce superfluous entries in FunctionList panel.

Applies To

Upcoming Notepad++ v8.4.8

Related issues

This is related to issue #12687 which is supposed to be fixed by PR #12686. Since in the community thread mentioned above James Richters/@Zaaphod wrote this fix doesn't really solve the problem, I created this new issue and will also create a new PR to fix it in a more reliable way.

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