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 101882 - Highlighting problem with singlequoted strings with escape sequences
Summary: Highlighting problem with singlequoted strings with escape sequences
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-20 00:59 UTC by teki321
Modified: 2011-01-28 20:10 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 teki321 2007-04-20 00:59:09 UTC
Sample string:
VssBin = '"C:\Program Files\Microsoft Visual Studio\VSS\win32\SS.EXE"'

Highlights the \P \M \V \w \S substrings as escape sequences.
Comment 1 Jiri Kovalsky 2007-07-03 14:09:08 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 2 Torbjorn Norbye 2007-08-07 21:49:59 UTC
The intension was to alert users to possibly unintended usage of \n in a singlequoted string but this gets in the way of legitimate uses where you want to 
emit \ followed by n as opposed to the newline, and you used a singlequoted string specifically for that purpose.
Comment 3 Erno Mononen 2009-03-12 13:41:26 UTC
Still an issue in 090312.