Bug 225737 - Embedded JavaScript keeps flicking background colour
Embedded JavaScript keeps flicking background colour
Status: NEW
Product: editor
Classification: Unclassified
Component: Painting & Printing
7.3
All All
: P3 (vote)
: TBD
Assigned To: Miloslav Metelka
issues@editor
: REGRESSION
: 230274 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-05 07:06 UTC by brettryan
Modified: 2013-08-28 03:36 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brettryan 2013-02-05 07:06:09 UTC
When embedding JS inside a HTML document the background colour flicks between the configured colour and white. Simply clicking in the area will cause strange behaviour where the colorisation ends up mixed between white and (default) green.

The syntax colorisation of the JS is not affected, just the background.

A workaround is to set the "HTML > Javascript Embedded in HTML" background colour to "Inherited".
Comment 1 Vladimir Riha 2013-05-27 06:13:07 UTC
*** Bug 230274 has been marked as a duplicate of this bug. ***
Comment 2 MackSix 2013-05-27 13:30:42 UTC
*** Bug 230274 has been marked as a duplicate of this bug. ***
Comment 3 Marek Fukala 2013-05-27 14:24:15 UTC
This is IMO caused by some bug in the highlighting layer. Possibly related to Bug 225341 - Syntax highlighting in JSP occasionally stops working
Comment 4 MackSix 2013-08-28 03:16:33 UTC
This is working for me now in:

Product Version: NetBeans IDE Dev (Build 201308270854)
Updates: Updates available
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 5 MackSix 2013-08-28 03:36:13 UTC
I do see a minor problem still with some green highlighting appear on the white space before the ending script tag, that is not there in earlier versions. But it goes away if you click on the editor above the ending script tag.

See video:

http://youtu.be/0gjUWLW2SE0


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo