[frameworks-syntax-highlighting] [Bug 384716] TypeScript Highlighting

2018-11-24 Thread Nibaldo G .
https://bugs.kde.org/show_bug.cgi?id=384716

Nibaldo G.  changed:

   What|Removed |Added

   Version Fixed In||5.53
 CC||nibg...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 384716] TypeScript Highlighting

2018-11-24 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=384716

Christoph Cullmann  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/a25ce26d2c
   ||6bae4932d4477b2dd7458af38a3
   ||317

--- Comment #2 from Christoph Cullmann  ---
Git commit a25ce26d2c6bae4932d4477b2dd7458af38a3317 by Christoph Cullmann, on
behalf of Nibaldo González.
Committed on 24/11/2018 at 16:24.
Pushed by cullmann into branch 'master'.

Add syntax highlighting for TypeScript & TypeScript React

Summary:
TypeScript is a superset of JavaScript, therefore, it use JavaScript
highlighting, adding some features and built-in classes and functions. It is
based on the official TextMate grammar files:
https://github.com/Microsoft/TypeScript-TmLanguage

The TypeScript React highlighting adds support for tags, such as XML.

Also, some modifications are made to the JavaScript & JavaScript React:

JavaScript:
* The shebang is corrected, empty lines are no longer allowed before the
shebang.
* Add missing keywords.
* Add rule to highlight "default" in switch conditions.
* Add operator: "=>".
* The "FindComments" & "FindStrings" contexts are created, which is used by
typescript.xml.

JavaScript React:
* Fix shebang.
* Fix: add Doxygen comments.
* Other minor changes.

Depends on D17085

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, cullmann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D17092

M  +23   -23   autotests/folding/highlight.js.fold
M  +4-4autotests/folding/test.js.fold
M  +33   -31   autotests/folding/test.jsx.fold
M  +2-2autotests/folding/test.qml.fold
A  +50   -0autotests/folding/test.ts.fold
A  +56   -0autotests/folding/test.tsx.fold
M  +1-1autotests/html/highlight.js.html
M  +4-2autotests/html/test.jsx.html
A  +57   -0autotests/html/test.ts.html
C  +13   -7autotests/html/test.tsx.html [from: autotests/html/test.jsx.html
- 084% similarity]
M  +4-2autotests/input/test.jsx
A  +50   -0autotests/input/test.ts
C  +8-2autotests/input/test.tsx [from: autotests/input/test.jsx - 088%
similarity]
M  +1-1autotests/reference/highlight.js.ref
M  +4-2autotests/reference/test.jsx.ref
A  +50   -0autotests/reference/test.ts.ref
C  +14   -8autotests/reference/test.tsx.ref [from:
autotests/reference/test.jsx.ref - 071% similarity]
M  +36   -54   data/syntax/javascript-react.xml
M  +27   -17   data/syntax/javascript.xml
C  +87   -65   data/syntax/typescript-react.xml [from:
data/syntax/javascript-react.xml - 071% similarity]
A  +1953 -0data/syntax/typescript.xml

https://commits.kde.org/syntax-highlighting/a25ce26d2c6bae4932d4477b2dd7458af38a3317

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 384716] TypeScript Highlighting

2018-04-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=384716

gszymas...@short.pl changed:

   What|Removed |Added

 OS|Linux   |All
 CC||gszymas...@short.pl
   Platform|Archlinux Packages  |unspecified

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 384716] TypeScript Highlighting

2017-10-17 Thread Karmo Rosental
https://bugs.kde.org/show_bug.cgi?id=384716

Karmo Rosental  changed:

   What|Removed |Added

 CC||karmo.rosen...@gmail.com

--- Comment #1 from Karmo Rosental  ---
I wish to see TypeScript syntax support in ksyntaxhighlighting too.

-- 
You are receiving this mail because:
You are watching all bug changes.