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 **Changes:** TypeScript: - Don't highlight built-in classes as functions. For example: let a = Array(12); - Fix highlighting of floating points: the rules for detecting floating point aren't in correct order, so numbers like `1.E+3` aren't highlighted correctly. - Improved type detection, for example: hello<string> let d: string = "hello"; TypeScript React: - Adapt to the the changes of `typescript.xml`. TypeScript/JavaScript React: - Allow type assertion in the tag name, for example: `<C<number> />` - Allow tags after the keywords `await` & `yield`. - Allow empty tags: `<></>`. - Allow Non-ASCII characters in component tags. REPOSITORY R216 Syntax Highlighting BRANCH update-typescript REVISION DETAIL https://phabricator.kde.org/D17883 AFFECTED FILES autotests/folding/test.jsx.fold autotests/folding/test.ts.fold autotests/folding/test.tsx.fold autotests/html/test.jsx.html autotests/html/test.ts.html autotests/html/test.tsx.html autotests/input/test.jsx autotests/input/test.ts autotests/input/test.tsx autotests/reference/test.jsx.ref 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, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann