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 231075 - Need of custom word finders
Summary: Need of custom word finders
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 185469 202468 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-11 10:14 UTC by Ondrej Brejla
Modified: 2016-07-07 07:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Brejla 2013-06-11 10:14:17 UTC
See the bugs marked as duplicates. 

Words are matched wrong, because "*" is NOT marked as an identifier and "\" IS in PHPLanguage.isIdentifierChar() which considers where the word starts.

Maybe PHP should have custom editor kit and adjust common document to better handle that? Not sure.
Comment 1 Ondrej Brejla 2013-06-11 10:14:35 UTC
*** Bug 185469 has been marked as a duplicate of this bug. ***
Comment 2 Ondrej Brejla 2013-06-11 10:14:39 UTC
*** Bug 202468 has been marked as a duplicate of this bug. ***
Comment 3 Ondrej Brejla 2013-12-04 09:11:44 UTC
We talked about that with Svata cca 6-9 month ago. So imho more likely CSL issue, it has to be supported there. Maybe enhancement? Feel free to change it. Thanks.

PS: problem was, that Language.isIdentifierChar can't match properly every char, without a context (without chars around it...i.e. escaped chars, etc.)
Comment 4 Ondrej Brejla 2013-12-04 09:12:11 UTC
Reassigning.
Comment 5 Martin Balin 2016-07-07 07:29:42 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss