Bug 21171 - JS syntax highlight has bug with multiline comments and strings
Summary: JS syntax highlight has bug with multiline comments and strings
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Keishi Hattori
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-27 00:28 PDT by Keishi Hattori
Modified: 2008-09-27 13:18 PDT (History)
0 users

See Also:


Attachments
patch (1.10 KB, patch)
2008-09-27 00:43 PDT, Keishi Hattori
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keishi Hattori 2008-09-27 00:28:00 PDT
There is a bug in the JS syntax highlighter with multiline comments, strings and regexps.
Comment 1 Keishi Hattori 2008-09-27 00:43:40 PDT
Created attachment 23874 [details]
patch

Initialization of previousMatchLength was forgotten.
Comment 2 Timothy Hatcher 2008-09-27 13:18:47 PDT
Landed in r37005.