FIXED: [12.00b3] Highlighting bugs

Post bug reports when testing beta versions here.
Post Reply
User avatar
pjj
Posts: 2109
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

FIXED: [12.00b3] Highlighting bugs

Post by pjj »

There are two problems with highlighting in the following code sample:

Code: Select all

<script type="text/javascript">
'use strict';
$('p').on('focusin', function() {
    $(this).prepend('<ul></ul>');
});
/*
$('p').on('focusout', function() {
    alert('yay!');
});
*/
</script>
First, commented block isn't painted as comment. Secondly, single quote is erroneously painted as non-paired, while in fact, it is (this also happens with e.g. brackets.) File in question has .php extension and uses HTML highlighter.
js-hilite-bug.png
js-hilite-bug.png (13.99 KiB) Viewed 5778 times
As you might see, with

Code: Select all

    $(this).prepend();
commented block is highlighted as such.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

Re: [12.00b3] Highlighting bugs

Post by Rickard Johansson »

This one was actually a bit tricky to find, but I finally got it. It's been fixed 8)
Post Reply