diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-10-13 15:46:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-10-18 20:21:26 +0900 |
commit | 4e910c2ad620b3c4455066588b53bd56e405bc55 (patch) | |
tree | 19a3483f9d4c959068191413fa5b089019e58912 /kate/data | |
parent | 609a7393b262cbfe37e58d95169b0a5baf8b075d (diff) | |
download | tdelibs-4e910c2ad620b3c4455066588b53bd56e405bc55.tar.gz tdelibs-4e910c2ad620b3c4455066588b53bd56e405bc55.zip |
Kate: unified diff and markdown's syntax colors for diff code to green/red
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/data')
-rw-r--r-- | kate/data/diff.xml | 6 | ||||
-rw-r--r-- | kate/data/markdown.xml | 4 | ||||
-rw-r--r-- | kate/data/update-files.xml | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kate/data/diff.xml b/kate/data/diff.xml index b681b4270..62fdceb1e 100644 --- a/kate/data/diff.xml +++ b/kate/data/diff.xml @@ -15,7 +15,7 @@ 2008-02-13: 1.11 Eduardo Robles Elvira <edulix AT gmail DOT com> Fixed folding. --> -<language name="Diff" version="1.12" kateversion="2.4" section="Other" extensions="*.diff;*patch" mimetype="text/x-patch"> +<language name="Diff" version="1.13" kateversion="2.4" section="Other" extensions="*.diff;*patch" mimetype="text/x-patch"> <highlighting> @@ -108,8 +108,8 @@ <itemData name="Normal Text" defStyleNum="dsNormal"/> <itemData name="File" defStyleNum="dsKeyword"/> <itemData name="Header" defStyleNum="dsDataType"/> - <itemData name="Removed line" defStyleNum="dsString" color="#FF0000"/> - <itemData name="Added line" defStyleNum="dsOthers" color="#0000FF"/> + <itemData name="Removed line" defStyleNum="dsString" backgroundColor="#ffeef0"/> + <itemData name="Added line" defStyleNum="dsOthers" backgroundColor="#e6ffed"/> <itemData name="Changed line (old)" defStyleNum="dsString" color="#FF0000"/> <itemData name="Changed line (new)" defStyleNum="dsOthers" color="#0000FF"/> </itemDatas> diff --git a/kate/data/markdown.xml b/kate/data/markdown.xml index 2ede54fd3..177b904da 100644 --- a/kate/data/markdown.xml +++ b/kate/data/markdown.xml @@ -146,8 +146,8 @@ <itemData name="diffheader1" defStyleNum="dsNormal" backgroundColor="#eeeeee" color="#800000" bold="true" /> <itemData name="diffheader2" defStyleNum="dsNormal" backgroundColor="#eeeeee" color="#800000" /> <itemData name="diffheaderdiff" defStyleNum="dsNormal" backgroundColor="#eeeeee" color="#000000" bold="true" /> - <itemData name="difflineremove" defStyleNum="dsNormal" backgroundColor="#ffeef0" /> - <itemData name="difflineadd" defStyleNum="dsNormal" backgroundColor="#e6ffed" /> + <itemData name="difflineremove" defStyleNum="dsString" backgroundColor="#ffeef0" /> + <itemData name="difflineadd" defStyleNum="dsOthers" backgroundColor="#e6ffed" /> <itemData name="strongemphasis" defStyleNum="dsNormal" italic="true" bold="true"/> <itemData name="ruler" defStyleNum="dsNormal" color="#e200e2" bold="true" /> <itemData name="strikeout" defStyleNum="dsNormal" strikeOut="true" backgroundColor="#fafaaf" /> diff --git a/kate/data/update-files.xml b/kate/data/update-files.xml index 6b2200e6c..12924302b 100644 --- a/kate/data/update-files.xml +++ b/kate/data/update-files.xml @@ -52,7 +52,7 @@ <Definition name="Debian Changelog" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/debianchangelog.xml" version="6"/> <Definition name="Debian Control" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/debiancontrol.xml" version="0.84"/> <Definition name=".desktop" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/desktop.xml" version="2-1"/> -<Definition name="Diff" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/diff.xml" version="1.12"/> +<Definition name="Diff" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/diff.xml" version="1.13"/> <Definition name="Django HTML Template" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/djangotemplate.xml" version="3"/> <Definition name="Dockerfile" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/dockerfile.xml" version="1.1"/> <Definition name="MS-DOS Batch" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/dosbat.xml" version="0.30"/> |