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

            Bug ID: 460527
           Summary: [PATCH] Better support for some geography-related file
                    formats
    Classification: Frameworks and Libraries
           Product: frameworks-syntax-highlighting
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: sommer...@gmail.com
                CC: walter.von.entfer...@posteo.net
  Target Milestone: ---

Created attachment 152888
  --> https://bugs.kde.org/attachment.cgi?id=152888&action=edit
syntax.zip

[PATCH] Better support for some geography-related file formats

Improvements for CartoCSS MSS:
- NEW Highlighting for functions
- NEW Better integrate with predefined styles (like dsControlFlow…)
- BUGFIX Ignore comments within context_expression and context_filter_attribute
(because indeed the CartoCSS parser also does not accept comments there).
- PERFORMANCE Add some <DetectSpaces/>

New syntax highlighting for CartoCSS MML:
- The CartoCSS parser uses two file formats: MSS (which is yet supported by
KSyntaxHighlighting) and MML (which is currently unsupported). To run CartoCSS
successfully, you always need exactly one MML file and one or more MSS files.
- This patch proposes an initial support for MML files. As MML is basically,
YAML, the highlighting file is based on the existing YAML highlighting file,
and it adds PostgreSQL injection, which is essential for good highlighting of
MML files.

Improvements for PostgreSQL:
- NEW Highlighting for PostGIS functions. (PostGIS is an extension of Postgre.)
- NEW Individual support for the actually available escape sequences in the
different types of strings/identifiers
- BUGFIX Add support for some missing Postgre built-in functions.
- BUGFIX When using the names of build-in functions as identifier, they are now
correctly highlighted as identifier.
- A test file is attached.

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

Reply via email to