Home
Help
Search
Login
Register
SlickEdit Community
»
SlickEdit Product Discussion
»
SlickEdit®
»
minor bug with syntax highlighting and javascript regular expressions
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: minor bug with syntax highlighting and javascript regular expressions (Read 2481 times)
greggman
Senior Community Member
Posts: 280
Hero Points: 14
minor bug with syntax highlighting and javascript regular expressions
«
on:
July 08, 2014, 08:30:52 PM »
I have this code in JavaScript
Code:
[Select]
var m = /^\/([^/]+)\/([^/]+)\//.exec(someString);
It's valid JavaScript but slickedit thinks the // at the end is a comment
Logged
patrick
SlickEdit Team Member
Senior Community Member
Posts: 1818
Hero Points: 151
Re: minor bug with syntax highlighting and javascript regular expressions
«
Reply #1 on:
July 08, 2014, 09:00:25 PM »
Yeah, it looks like v19 doesn't quite handle it correctly either, even though I thought I had fixed that lexer problem. Thanks for the report, I'll take a look at it.
Logged
patrick
SlickEdit Team Member
Senior Community Member
Posts: 1818
Hero Points: 151
Re: minor bug with syntax highlighting and javascript regular expressions
«
Reply #2 on:
September 16, 2014, 03:38:19 PM »
This is fixed, and will be in the v19 beta 6 drop.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
SlickEdit Community
»
SlickEdit Product Discussion
»
SlickEdit®
»
minor bug with syntax highlighting and javascript regular expressions