https://bugs.kde.org/show_bug.cgi?id=411508
Christoph Cullmann <cullm...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://commits.kde.org/syn | |tax-highlighting/364ed572e2 | |ec89c090c1c19dab8eab6a02518 | |d46 Resolution|--- |FIXED Status|REPORTED |RESOLVED --- Comment #3 from Christoph Cullmann <cullm...@kde.org> --- Git commit 364ed572e2ec89c090c1c19dab8eab6a02518d46 by Christoph Cullmann, on behalf of Nibaldo González. Committed on 03/09/2019 at 16:46. Pushed by cullmann into branch 'master'. C & ISO C++: add digraphs (folding & preprocessor) Summary: **ISO C ++** * Add folding for digraphs `<%`, `%>`, `<:` and `:>`, which are equivalent to `{`, `}`, `[` and `]`. * Fix the highlight of `%:` in preprocessor, for example, `%:include <some>`. **C** * Add folding for digraphs `<%` and `%>`, which are equivalent to `{` and `}`. * Add `%:` equivalent to `#` in preprocessor. Trigraphs were removed in C++17 and are supported in C (if activated in the compiler), but are almost obsolete. That's why I decided not to add them. Although if you wish I can add folding to `??<` and `??>`, which are equivalent to `{` and `}`. **More:** * https://en.wikipedia.org/wiki/Digraphs_and_trigraphs#C 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/D23691 M +8 -0 autotests/folding/highlight.cpp.fold M +9 -0 autotests/folding/test.c.fold M +8 -0 autotests/html/highlight.cpp.html M +9 -0 autotests/html/test.c.html M +8 -0 autotests/input/highlight.cpp M +9 -0 autotests/input/test.c M +8 -0 autotests/reference/highlight.cpp.ref M +9 -0 autotests/reference/test.c.ref M +21 -16 data/syntax/c.xml M +9 -4 data/syntax/isocpp.xml https://commits.kde.org/syntax-highlighting/364ed572e2ec89c090c1c19dab8eab6a02518d46 -- You are receiving this mail because: You are watching all bug changes.