https://bugs.kde.org/show_bug.cgi?id=407060

Nibaldo G. <nibg...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/syn
                   |                            |tax-highlighting/28b11e39fb
                   |                            |a077fc1b41e27ee31439a331fd0
                   |                            |66e
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.59.0

--- Comment #3 from Nibaldo G. <nibg...@gmail.com> ---
Git commit 28b11e39fba077fc1b41e27ee31439a331fd066e by Nibaldo González.
Committed on 31/05/2019 at 18:58.
Pushed by ngonzalez into branch 'master'.

YAML: only comments after spaces and other improvements/fixes

Summary:
FIXED-IN: 5.59.0

Improvements and corrections to YAML.

**Changes:**
* Only highlight comments after spaces.
* Add folding indentation, like the Python highlighter.
* Avoid highlighting lists, hashes and strings within blocks with multiple
lines, incorrectly.
* Highlight two points of Keys in another color, to make it easier to
differentiate Keys and attributes in some color schemes.
* Changes in colors:
     * The Keys are now in bold, helps to differentiate Keys and attributes,
especially in the Solarized schemes.
     * Data types are highlighted with `dsOthers`, to differentiate from the
Attribute color.
     * "Normal Text" is now `dsAttribute`, to unify the colors of attributes,
since in attributes with multiple lines the colors are inconsistent. This is
done according to other text editors such as VSCode and Atom, where the same
color is used for attributes and normal text.

{F6849805}

{F6849807}

Solarized scheme:
{F6849808}

Normal block & literal block:
{F6849809}

Reviewers: dhaumann, cullmann, #framework_syntax_highlighting

Reviewed By: dhaumann, cullmann, #framework_syntax_highlighting

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

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

M  +34   -28   autotests/folding/test.yaml.fold
M  +4    -4    autotests/html/example.rmd.html
M  +98   -92   autotests/html/test.yaml.html
M  +6    -0    autotests/input/test.yaml
M  +4    -4    autotests/reference/example.rmd.ref
M  +89   -83   autotests/reference/test.yaml.ref
M  +190  -127  data/syntax/yaml.xml

https://commits.kde.org/syntax-highlighting/28b11e39fba077fc1b41e27ee31439a331fd066e

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

Reply via email to