components/prism-java.js


Log

Author Commit Date CI Message
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Golmote dcf31d29 2015-01-03T12:46:12 Little fix for Java numbers
Andreas Rohner 4d352495 2014-08-12T01:16:07 Fix Java operators to correctly highlight examples.html This patch basically adds a lot of `=?` at the end of operators that were missing. The order of the `>=` and `<=` operator was wrong. It also changes the order of the lookbehind pattern, so that the start of the line is matched first. This last change fixes a lot of the bugs on the `example.html` page. The design of Prism makes it seem as if the regex multi line flag has no effect, because strings are continuosly split up before the regexes are applied. In this case it is necessary so that `^` is interpreted as the start of a line instead of the start of the document.
Sebastien Herblot d478d6aa 2014-05-25T09:20:51 Remove escaped entities from Java
Lea Verou 1b40db97 2012-11-10T00:23:33 Made Java & JavaScript inherit from a generic C-style language definition; Added methods for language definition inheritance; Added simple dependency management in downloader
sebh c571149a 2012-08-07T16:22:23 improve number highlight
Sebastien Herblot 20778033 2012-08-05T08:47:24 fix * operator highlight for import a.b.*;
sebh 201077e9 2012-08-03T17:25:09 Added Java syntax highlighter