This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258507 - False-positive 'misspelled word' error for single-quoted phrases
Summary: False-positive 'misspelled word' error for single-quoted phrases
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Spellchecker (show other bugs)
Version: 8.2
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-23 15:28 UTC by NukemBy
Modified: 2017-06-13 16:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
misspelled-word.png (2.02 KB, image/png)
2016-03-23 15:28 UTC, NukemBy
Details
False positive misspelled word "indicator" because of single quote (101.24 KB, image/png)
2017-06-13 15:50 UTC, johnjamesjacoby
Details
Double quotes do not trigger false positives (66.91 KB, image/png)
2017-06-13 15:51 UTC, johnjamesjacoby
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2016-03-23 15:28:24 UTC
Created attachment 158978 [details]
misspelled-word.png

Netbeans complains about spelling error for 'quote' in 'some single quote' (see below).
Same works correctly for double-quoted phrases.
Here is the test example. See attached screenshot for details.

- - - - - - - - - - - - - - - - - - - - 

/**
 * Here is 'some single quote' text.
 * Here is "some double quote" text.
 */
public class DummyClass {
}

- - - - - - - - - - - - - - - - - - - -
Comment 1 johnjamesjacoby 2017-06-13 15:50:24 UTC
Created attachment 164524 [details]
False positive misspelled word "indicator" because of single quote
Comment 2 johnjamesjacoby 2017-06-13 15:51:15 UTC
Created attachment 164525 [details]
Double quotes do not trigger false positives
Comment 3 johnjamesjacoby 2017-06-13 16:02:37 UTC
Hey team,

This is one of those issues that's bugged me for several years, that I figured would be such a small & obvious issue for everyone else that I didn't even bother mentioning it. Today is the day I've finally had enough, and I'm happy to have found at least 1 other person equally as visually triggered as myself, here in this issue.

I've attached 2 screenshots to show the following conditions:

* Properly spelled word
* False positive misspell match with single quote usage
* Correctly skipped as properly spelled with double quotes
* Roll open the suggest UI to show the word in question is actually in the dictionary

This is likely to be a low priority & severity issue in comparison to the wealth of more interesting problems to solve, but I'll buy a beer for whomever fixes this.

It's one of the little fit & finish things that makes new users not have confidence in the software to actually be reporting what it says it sees. It also makes my eyes bleed a little bit in a way that I am mostly helpless to avoid, which just makes the irritation worsen with time.

I'm a PHP developer, but it's been so long, and I imagine this is probably a silly regular expression or parser issue that even I could identify and fix, but then y'all will owe me a beer and that's not how this is supposed to work.

<3