nibags created this revision. nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. nibags requested review of this revision.
REVISION SUMMARY TypeScript: - Add asserts: https://github.com/microsoft/TypeScript/pull/32695 - Highlight types after `as` expression. - Add type helpers: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type TypeScript React (TSX): - When `<T extends` is detected, highlight as a type assertion, not as a Tag. See: https://github.com/microsoft/TypeScript-TmLanguage/commit/11b1a4f8dc3a3eaa4df71e8cc1ad6f01a688961d JavaScript React (JSX): - Use non-capture groups in RegExpr rules. REPOSITORY R216 Syntax Highlighting BRANCH update-typescript REVISION DETAIL https://phabricator.kde.org/D24355 AFFECTED FILES autotests/folding/test.ts.fold autotests/folding/test.tsx.fold autotests/html/test.ts.html autotests/html/test.tsx.html autotests/input/test.ts autotests/input/test.tsx autotests/reference/test.ts.ref autotests/reference/test.tsx.ref data/syntax/javascript-react.xml data/syntax/typescript-react.xml data/syntax/typescript.xml To: nibags, #framework_syntax_highlighting, dhaumann, cullmann Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann