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 130582

Summary: String Escape Sequence Highlighting
Product: javafx Reporter: David Strupl <dstrupl>
Component: EditorAssignee: Rastislav Komara <moonko>
Status: VERIFIED FIXED    
Severity: blocker CC: vvg
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://wiki.netbeans.org/JavaFXEditorFeatureListM2
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 130138    

Description David Strupl 2008-03-19 22:24:51 UTC
String Escape Sequence Highlighting
Comment 1 Victor Vasilyev 2008-03-20 15:46:25 UTC
Please, verify this issue against the latest build from the trunk, and close it if all are OK.

Otherwise, please, provide detailed specification about _ALL_ String Escape Sequences that must be highlighted in the
"String Literals" section located here:
http://wiki.netbeans.org/JavaFXPluginHighlightingSpecification#section-JavaFXPluginHighlightingSpecification-StringLiterals
This part of specification should be following the words:
"Requirement: All String Escape Sequences inside a string literal should be highlighted."
Comment 2 David Strupl 2008-04-03 09:08:23 UTC
Hello,

this does not seem like implemented in my current build.

Please try typing " \uabcd \b \n " in the java editor and in the fx editor. I guess the result should be similar.

I am not sure about JFX but for java the escape sequences are defined here
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html
in section 3.10.6 + \u which is covered elsewhere in the spec.

Rasta said he knows where to look for the implementation --> assigning to him ;-)

David
Comment 3 Rastislav Komara 2008-04-07 09:39:01 UTC
Fixed: changeset: 11885:41dd4afba903
Comment 4 Lark Fitzgerald 2008-04-07 18:15:07 UTC
Verified using:
Product Version: NetBeans IDE Dev (Build 200804010004)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Plugin: CB#312 (2008-04-07_14-26-18.zip)