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 204614 - Syntax highlighting stops working
Summary: Syntax highlighting stops working
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 09:42 UTC by mienamoo
Modified: 2016-07-07 09:57 UTC (History)
0 users

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 mienamoo 2011-11-03 09:42:23 UTC
NetBeans IDE Dev (Build 201110300600)
JDK 7 build 147

I have to admit that this is a relatively unlikely sequence of events. However, I have found a way to break the syntax highlighting for XML files. :-)

Steps to reproduce:

1. Open up an XML file.
2. Press Ctrl+F to get to the Find bar.
3. Type something that does exist in the file in the Find: text box and press Enter.
4. Select the file (click in the editor panel) and press Ctrl+A to select all the text in the file.
5. Press Ctrl+F.

The syntax highlighting will stop working, and all the lines are coloured as the currently selected line normally is (light blue background on my system). The only way to get the syntax highlighting working again is closing and re-opening the file.

The file I was working with is not particularly large... 405 lines.
Comment 1 Martin Balin 2016-07-07 09:57:01 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