apache / apache/netbeans

Spellcheck False Alarms - Soft Hyphens

Open
#4,843 0 comments 0 reactions 0 assignees View on GitHub
Contribution welcome Editor kind:bug
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 15

### What happened

The spell checker incorrectly flags as misspelled words with embedded soft hyphens (U+00AD). We have tens thousands of these in our site, but NetBeans' spell check is the first one to report these words were misspelled.

Spell checker should ignore soft hyphens.

### How to reproduce

Spellcheck false alarms happen 100% of the time.

Example: The word **Net­Beans** has a soft hyphen after the 't.' Paste it into a Web page with spell checking enabled.

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Windows 10 Home, version 21H2, OS build 19044.2130, Windows Feature Experience Pack 120.2212.4180.0,Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz

### JDK

java version "18.0.2" 2022-07-19 Java(TM) SE Runtime Environment (build 18.0.2+9-61) Java HotSpot(TM) 64-Bit Server VM (build 18.0.2+9-61, mixed mode, sharing)

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

Product Version: Apache NetBeans IDE 15
Java: 18.0.2; Java HotSpot(TM) 64-Bit Server VM 18.0.2+9-61
Runtime: Java(TM) SE Runtime Environment 18.0.2+9-61
System: Windows 10 version 10.0 running on amd64; UTF-8; en_US (nb)

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. First reproduce the false alarm in Apache NetBeans 15 by pasting the provided “Net­Beans” example into a Web page with spell checking enabled, then locate the spell-checker implementation and its tests. Done means words containing U+00AD are no longer reported as misspelled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.