~~~~
mediaSizeB=(atold_(t.value,true,true,',',["b"],false)/8)+atold_(t.value,true,true,',',["B"],false);//column
1 is media size in bytes
~~~~
vista x32 java 8.4 je 5.3
syntax highlighter (.js) shows this with incorrect highlighting from
~~~~
/8)+atold_(t.value,true,true,',',["B"],false);//column 1 is media size in bytes
~~~~
and on
Submitted | jmichae3 - 2016-04-07 17:15:03.181000 | Assigned | kpouer |
---|---|---|---|
Priority | 5 | Labels | |
Status | open | Group | minor bug |
Resolution | None |
2016-04-07 17:18:42.426000 jmichae3 |
it turns blue.until it hits the first / in the comment. common problem with js syntax highlighters. parsing problem. see the ecmascript (less functions, no DOM) or javascript EBNF. |
---|---|
2016-04-07 18:43:01.866000 daleanson |
This looks like an easy fix, it's caused by this line in the javascript mode file:
|
2016-04-07 18:59:36.388000 daleanson |
- **assigned_to**: Matthieu Casanova |
2016-04-07 18:59:36.614000 daleanson |
Matthieu, from the svn log, it looks like you added this line back in 2008 in revision
12059 and adjusted it in revision 12089 as part of work on this ticket:
|
2016-04-07 22:52:07.830000 jmichae3 |
there are 3 situations where / is used:
|
2016-04-08 22:26:19.389000 marchaefner |
Parsing javascripts regular expression literals vs. division operator is notoriously
difficult as the interpretation of a single `/` is context sensitive.
|