Skip to content

[BUG] "Go to settings" links in Style Configurator go to wrong section #16592

@billybednar

Description

@billybednar

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Almost all the "Go to settings" links in the Style Configurator open the preference dialog to the wrong section.

Steps To Reproduce

  1. Go to Settings > Style Configurator
  2. Select the Edge colour style
  3. Click Go to settings

Current Behavior

Preferences open to the Editing 2 section.

Expected Behavior

Preferences open to the Margins/Border/Edge section.

Debug Information

Notepad++ v8.8.1   (64-bit)
Build time : May  3 2025 - 18:41:09
Scintilla/Lexilla included : 5.5.6/5.4.4
Boost Regex included : 1_85
Path : C:\npp.8.8.1.portable.x64\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
Scintilla Rendering Mode : SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 22H2
OS Build : 19045.5854
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

The following was not updated when the Toolbar and Tab Bar sections were added in e45f72a.

enum preferencesSectionPage {
general = 0,
edit1,
edit2,
darkMode,
margins,
newDocument,
defaultDirectory,
recentFileHistory,
fileAssociation,
language,
indentation,
highlighting,
print,
searching,
backup,
autoCompletion,
multiInstance,
delimiter,
performance,
cloudAndLink,
searchEngine,
misc
};

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