Bug 53004

Summary: kate reports errors with syntax highlighting
Product: [Applications] kate Reporter: hughjonesd
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description hughjonesd 2003-01-14 22:43:41 UTC
Version:           2.2 (using KDE 3.1.9)
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18-4GB

with 3.1RC6:
Go to Settings->Configure Kate->Editor->Highlighting

The first time you do this, multiple errors are shown:

There were warning(s) and/or error(s) while parsing the syntax highlighting configuration.
Details:
/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context 0 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context 0 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context 0 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context Perl:2 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context Perl:2 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context Perl:2 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context Perl:2 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context Perl:2 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context Perl:3 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context Perl:3 not addressed by a symbolic name/home/kde-devel/kde-unstable/share/apps/katepart/syntax/perl.xml:Deprecated syntax. Context Perl:2 not addressed by a symbolic name

And the same for sql-mysql, sql-postgresql, ilerpg and mason.

cheers
Dave
Comment 1 Hamish Rodda 2003-01-21 09:22:03 UTC
Subject: kdelibs/kate/data

CVS commit by rodda: 

Fix highlighting definitions.  Where I couldn't determine the correct settings
and had to use my intuition I have added a comment (xmldebug and ilerpg.xml)

Should probably be backported - if you use one or more of these, please test
them and let me know if they work as they're supposed to.

CCMAIL:53004-done@bugs.kde.org


  M +43 -45    ilerpg.xml   1.7
  M +35 -35    perl.xml   1.20
  M +1 -1      sql-mysql.xml   1.5
  M +38 -36    sql-postgresql.xml   1.3
  M +181 -180  xmldebug.xml   1.3