- User Since
- Aug 22 2017, 7:25 AM (82 w, 3 d)
Wed, Mar 20
- Fix theme names
Convert theme names from KTextEditor => KSyntaxHighlighting and avoid using invalid KSyntaxHighlighting::Theme objects.
Tue, Mar 19
Tue, Mar 12
It isn't possible to compile, because the elm.xml file has multiple issues :(
The script "data/schema/validatehl.sh" serves to verify the XML files:
cd syntax-highlighting/data/schema/ ./validatehl.sh ../syntax/elm.xml
../syntax/elm.xml:3: element language: Schemas validity error : Element 'language', attribute 'version': '1.0' is not a valid value of the atomic type 'xs:integer'. ../syntax/elm.xml:43: element WordDetect: Schemas validity error : Element 'WordDetect', attribute 'string': The attribute 'string' is not allowed. ../syntax/elm.xml:43: element WordDetect: Schemas validity error : Element 'WordDetect': The attribute 'String' is required but missing. ../syntax/elm.xml:84: element StringDetect: Schemas validity error : Element 'StringDetect', attribute 'char': The attribute 'char' is not allowed. ../syntax/elm.xml:84: element StringDetect: Schemas validity error : Element 'StringDetect': The attribute 'String' is required but missing. ../syntax/elm.xml:86: element context: Schemas validity error : Element 'context': The attribute 'lineEndContext' is required but missing. ../syntax/elm.xml:93: element context: Schemas validity error : Element 'context': The attribute 'lineEndContext' is required but missing. ../syntax/elm.xml:102: element context: Schemas validity error : Element 'context': The attribute 'lineEndContext' is required but missing. ../syntax/elm.xml:114: element itemDatas: Schemas validity error : Element 'itemDatas': This element is not expected. Expected is ( context ). ../syntax/elm.xml:4: element highlighting: Schemas validity error : Element 'highlighting': Missing child element(s). Expected is ( itemDatas ). ../syntax/elm.xml fails to validate
For example: </contexts> (line 133) must be placed before <itemDatas> and dsHexVal isn't a valid default style (use dsBaseN, look here). By solving it, maybe compile everything well.
Sun, Mar 10
Yes, this corresponds to the bug you mention.
In the "Vim (dark)" scheme, bold="0" doesn't work either, since all the text is bold.
Fri, Mar 8
- Update styles
In D19324 the icons for code and code-oss were added, which also need symbolic links for Flatpak (com.visualstudio.code & com.visualstudio.code.oss)
Wed, Mar 6
Also missing the symlink for JDownloader (org.jdownloader.JDownloader.svg): https://flathub.org/apps/details/org.jdownloader.JDownloader
Tue, Mar 5
I want to check the colors of this highlighter before doing the commit
Use: cmake ./ && make to compile
I still have problems with dsError + underline="0" :(
In "autotest/html" these aren't underlined, but when I open the file "test.logcat" with Kate, it's underlined.
I even tried creating a new Unix user, but the problem persists (I'm using KDE Frameworks 5.55.0).
Even removing the underlines in "Configure Kate -> Fonts & Colors", the problem persists.
Also clarify that the file "$HOME/.config/katesyntaxhighlightingrc" doesn't exist.
Mon, Mar 4
Not seem, from what I see it is a recent bug. I just checked it in KDE Frameworks 5.48.0 (Fedora 28) and it works correctly
- Add tests
Sat, Mar 2
Wed, Feb 27
The MustacheJS highlight is modified in this diff: D19328
Tue, Feb 26
Sat, Feb 23
Feb 13 2019
I can add more examples in "autotests/input/highlight.php", for all the cases of languages included
Feb 12 2019
- Add unit test
It's good, I think it's a better solution ;D
Feb 5 2019
Jan 28 2019
Some highlighters use endRegion+lookAhead to determine the end of a region when a new one starts, that is, they don't consider the text with endRegion+lookAhead as part of the fold region. This behavior was present before the implementation of KSyntaxHighlighting and, apparently, is no longer from the commit: c004f3f787b2
Jan 27 2019
If you are only going to use the "admonition" keywords list for autocompletion, you could add them to the end of the context "section" or "start", keeping the attribute (Normal). I have done this in some highlight files
Jan 26 2019
Please, also add a test file in: "autotests/input/". To generate the files in "folding", "html" and "reference" use make test and autotests/update-reference-data.sh.
Jan 25 2019
The bug is identical to D17891 !
Please, also put #pop!error in fallthroughContext="error", on lines 238 and 363.
And increase the file version
Jan 16 2019
- Small correction in comment
Jan 11 2019
Jan 4 2019
Jan 3 2019
- Small modification in comments
- Update test file
Jan 2 2019
I asked in the thread of the Wesnoth forum, that appears in the wml.xml file (http://www.wesnoth.org/forum/viewtopic.php?f=21&t=13781), if the changes are OK and someone has suggested to me that the array indices (array) aren't highlighted as tags, as well that I included it
Dec 31 2018
- Fix RegExp of tag name
Nov 24 2018
- typescript.xml & typescript-react.xml: add some comments and the operator "!" after objects
- rust.xml: fix indentation.
The file uses tabs, but in one part I used spaces as indentation
Nov 22 2018
- Add tests
Nov 21 2018
- Update comment
Sep 28 2018
Sep 27 2018
I attach two files. The "usr.bin.firefox" file causes the error on line 31 and "usr.bin.apparmor-profile-test" on line 184.
I did debug with gdb and valgrind, but the information is not relevant, since Kate freezes and I have to kill the process (I think I used the term "crash" incorrectly :S).
I have done some tests and the problem is in the use of #pop!some_context on the main context ("_profile").
For example, formerly, when doing #pop!some_context on the main context, "some_context" was stacked on top of the main context, it did not replace it. Now, in KF5.50.0, the main context is removed from de "stack" and replaced by "some_context". In the AppArmor XML file I use #pop#pop!some_context in general to finish a rule and, in some cases, #pop!some_context is done in the main context, which produces the error in large files, since it is not a behavior that I envisioned.
Sep 26 2018
Sep 10 2018
Sep 9 2018
Aug 31 2018
Corresponds to the commit: https://phabricator.kde.org/R216:498f72d49a66ec05c71f3ec614698a6cb63c513f