Skip to content

[BUG] Summary - Word Count Incorrect #17932

@markpahulje

Description

@markpahulje

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

View -> Summary - word count is incorrect.

Steps To Reproduce

1.Cut and paste following values into a new document.
1,000
1,000.00
O'Connel
O' Connel

Word Count is 9. Should be 5.

Current Behavior

Word Count is 9.

Expected Behavior

Count should be 5.

Debug Information

Notepad++ v8.9.2   (64-bit)
Build time: Feb 13 2026 - 02:47:53
Scintilla/Lexilla included: 5.5.8/5.4.6
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
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DEFAULT (0)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: OFF
Display Info:
    primary monitor: 1440x2560, scaling 125%
    visible monitors count: 2
    installed Display Class adapters: 
        0000: Description - NVIDIA GeForce GT 710
        0000: DriverVersion - 22.21.13.8476
OS Name: Windows 7 Ultimate (64-bit)
OS Build: 7601.24544
Current ANSI codepage: 1252
Plugins: 
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)
    XMLTools (3.1.1.13)

Anything else?

I know this is trivial stats, but I was using this as a standard to test against, when I was writing my own word count in C# for new 1995 Dale Chall Algo. Turns out it's the simplest things are sometime the most complex. I had to build a list for all Unicode title prefixes and suffixes. Cheers, and thanks for this Notepad++ being a legend in my toolbox.
https://readabilityformulas.com/learn-about-the-new-dale-chall-readability-formula/

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