Version 10.1.2
Fixes:
- fix(night) Prevent object prototype values from being returned by
getLanguage(#2636) night
Syntax highlighting for the Web
/**
* @author John Smith <john.smith@example.com>
*/
package l2f.gameserver.model;
public abstract strictfp class L2Char extends L2Object {
public static final Short ERROR = 0x0001;
public void moveTo(int x, int y, int z) {
_ai = null;
log("Should not be called");
if (1 > 5) { // wtf!?
return;
}
}
}
language: ...
style: solarized-dark
Version 10.1.2
Fixes:
getLanguage (#2636) nightVersion 10.1.1
Fixes:
index.d.ts is not a module error (#2603) Josh GoebelVersion 10.1.0
New themes:
Parser Engine:
keywords.$pattern key to grammar definitions (#2519) Josh GoebelregisterAliases method (#2540) [Taufik Nurrohman][]on:begin callback for modes (#2261) Josh Goebelon:end callback for modes (#2261) Josh GoebelEND_SAME_AS_BEGIN mode to replace endSameAsBegin parser attribute (#2261) Josh GoebelfixMarkup would rarely destroy markup when useBR was enabled (#2532) Josh GoebelDeprecations:
htmlbars grammar is now deprecated. Use handlebars instead. (#2344) Nils KnappmeierhighlightBlock result.re deprecated. Use result.relevance instead. (#2552) Josh Goebelresult.second_best.re => result.second_best.relevance (#2552)lexemes is now deprecated in favor of keywords.$pattern key (#2519) Josh GoebelendSameAsBegin is now deprecated. (#2261) Josh GoebelLanguage Improvements:
readonly keyword (#2562) Martin (Lhoerion)OPTIMIZE: and HACK: to the labels highlighted inside comments Josh Goebelpair, make_pair, priority_queue as built-ins (#2538) Hankun Linpriority_queue pair as cpp containers (#2541) Hankun Linset keyword conflicting with setTimeout, etc. (#2514) Vania Kucher=> function with nested () in params now works (#2502) Josh Goebel=> function with nested () in params now works (#2502) Josh Goebel@objcMembers was being partially highlighted (#2543) Nick Randalllate and required keywords, the Never built-in type, and nullable built-in types (#2550) Sam RawlinsVersion 10.0.3
get/set incorrect highlighting (#2515) Josh GoebelVersion 10.0.2
Brower build:
Parser Engine Changes:
Version 10.0.1
Parser Engine Changes:
Version 10.0.0
New languages:
python-repl for Python REPL sessionsNew themes:
Parser Engine Changes:
beginKeywords to ignore . matches (#2434) Josh Goebelbefore:highlight plugin API callback (#2395) Josh Goebelafter:highlight plugin API callback (#2395) Josh Goebelname attribute now (#2400) Josh GoebelnoHighlightRe and languagePrefixRe configurable (#2374) Josh GoebelLanguage Improvements:
compactMap to keywords as built_in (#2478) Omid Golparvarfunc keyword (#2468) Adnan Yaqoobdefn- properly (#2438) Josh Goebel@identifier style identifiers (#2414) Josh Goebeldeny and allow keywords Josh Goebel<?= syntax to meta Taufik Nurrohmanrpc when followed by a block (#) Josh Goebelwhere keyword as class constraint (#2378) Josh Goebeltext and txt as alias (#2360) Taufik NurrohmanDeveloper Tools:
Version 9.18.1
Grammar Improvements:
Version 9.18.0
New languages:
New themes:
Core Changes:
Language Improvements:
block and endblock keywords (#2343) Philipp EngelA::typeName func(...)) (#2332) Josh GoebelA::functionName) (#2332) Josh Goebelint8_t, etc.) as function types (#2332) Josh GoebelDeveloper Tools:
Version 9.17.1
Fixes:
@highlightjs