Skip to content

[BUG] Column Editor v8.9.2 regression: no longer allows blank fields #17912

@pryrt

Description

@pryrt

Is there an existing issue for this?

  • I have searched the existing issues

Is the issue reproducible in Notepad++ without plugin?

  • I have tried Notepad++ without plugin

Is the issue reproducible in portable version of Notepad++?

  • I have tried portable version of Notepad++

Does the issue affect SciTE?

  • I have tried SciTE

Description of the Issue

Historically, Column Editor has allowed Increase By and/or Repeat to remain blank, and they would go to a default value if they were.

The change 3d24b6c#r180915776 stopped checking for zero-length string, and thus stopped returning -1 on empty-field, and thus stopped allowing those fields to be left empty.

(Reported in v8.9.3 announcement reply)

Steps To Reproduce

  1. Column Editor
  2. Leave one or both of Increase By and/or Repeat
  3. Click Ok to try to use the default values of Increase By and/or Repeat .
  4. The first empty field flashes red

Current Behavior

Empty Increase By and/or Repeat flashes red

Expected Behavior

Empty Increase By should default to 0
Empty Repeat should default to 1

Debug Information

Notepad++ v8.9.3   (64-bit)
Build time: Mar 20 2026 - 00:44:25
Scintilla/Lexilla included: 5.6.0/5.4.7
Boost Regex included: 1_90
pugixml included: 1.15
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: 
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
WinGUp: present
disableNppAutoUpdate.xml: absent
Periodic Backup: OFF
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: OFF
Display Info:
    primary monitor: 1920x1080, scaling 100%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - Intel(R) UHD Graphics 770
        0000: DriverVersion - 32.0.101.7077
OS Name: Windows 11 Home (64-bit)
OS Version: 25H2
OS Build: 26200.8037
Current ANSI codepage: 1252
Plugins: 
    AutoSave (2)
    CollectionInterface (1.3)
    ComparePlus (2.2)
    Compose (1.1)
    ConfigUpdater (2.4.2)
    DSpellCheck (1.5)
    EnhanceAnyLexer (1.4.1)
    ExtSettings (1.3.1)
    JsonTools (8.4.0.6)
    MarkdownViewerPlusPlus (0.8.2)
    mimeTools (3.1)
    NppConsole (1.2.4.1)
    NppConverter (4.7)
    NppEditorConfig (0.4)
    NppExec (0.8.10)
    NppExport (0.4)
    NppFTP (0.29.14)
    NppUISpy (1.2)
    PreviewHTML (1.4.3)
    PythonScript (3.0.24)
    QuickText (0.2.5.1)
    TagLEET (1.3.10.1)
    XMLTools (3.1.1.13)

Anything else?

my comment 3d24b6c#r180915776 shows which line of code created the regression. ColumnEditorDlg::getNumericFieldValueFromText() needs to return -1 on strlen==0, and it no longer does so. If it did return -1, then the wrapping logic would properly apply the defaults I mentioned above.

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