It seems that the syntax highlighting used with Drosera does not understand Regular Expression literals correctly. The following resulted in odd syntax highlighting: replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(:?[eE][+\-]?\d+)?/g, ']')
Created attachment 17556 [details] Screenshot of the wrong syntax highlighting
Thanks for the bug report! Which WebKit nightly were you using, e.g., rNNNNN?
(In reply to comment #2) > Thanks for the bug report! Which WebKit nightly were you using, e.g., rNNNNN? I have R28024 and I'm attaching it to Safari 3.0.4(5523.10) since I couldn't find any other way to get Drosera
(In reply to comment #3) > (In reply to comment #2) > > Thanks for the bug report! Which WebKit nightly were you using, e.g., rNNNNN? > > I have R28024 and I'm attaching it to Safari 3.0.4(5523.10) since I couldn't > find any other way to get Drosera What happens if you use Drosera r28024 and attach it to WebKit nightly r28024. Does it work then?
Confirmed with a local debug build of WebKit r28072 with Safari 3.0.4 (523.12) on Mac OS X 10.4.11 (8S165).
Created attachment 17569 [details] Test case 1. Attach Drosera. 2. Open this attachment in a new tab or window. 3. View source code in Drosera. Note highlighting issues.
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Thanks for the bug report! Which WebKit nightly were you using, e.g., rNNNNN? > > > > I have R28024 and I'm attaching it to Safari 3.0.4(5523.10) since I couldn't > > find any other way to get Drosera > > What happens if you use Drosera r28024 and attach it to WebKit nightly r28024. > Does it work then? No. The syntax highlighting is still getting hung up on the regular expression literal.
We plan to replace the syntax highlighter for the Web Inspector and that will be used for the new debugger. Closing since Drosera doesn't exist anymore.
Closing since Drosera has been replaced by the new Web Inspector debugger. Moving to the New Bugs component so the Drosera component can be closed and removed.