Results 1 to 4 of 4

Thread: Is there some language Syntax Highlight keywords lack in Kate on Opensuse?

  1. #1

    Default Is there some language Syntax Highlight keywords lack in Kate on Opensuse?

    I like to use kate because its great features.But since I changed to Opensuse,I found that kate may lack some important Syntax Highlight files in the distribution.For example,I need to use pascal to do some work,but I found that the highlight feature just do not work on Pascal,most keywords are not highlight.It just change the color of numbers or types such as longint.But in other distribution,like Fedora and Ubuntu,with the same version of Kate,It works well as I tested.All the keywords of Pascal like 'var' 'program' 'begin' are highligh in Black color.
    Is there anyone know how to fix it up?and is there a way that I can download some files to use a fully-featured Kate in Opensuse? 11.3Thanks a lot.

  2. #2
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,443

    Default Re: Is there some language Syntax Highlight keywords lack in Kate on Opensuse?

    What version are you using? I have 3.4.4 which is KDE4.4.4(release 3) which is the most recent update.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,663
    Blog Entries
    14

    Default Re: Is there some language Syntax Highlight keywords lack in Kate on Opensuse?

    In the main toolbar:


    Utilities - Accentuate - Sourcecodes - Pascal ticked, 'var 33 longint' now does:
    var -> black
    33 -> brownish
    longint -> blue

    This is on KDE4 4.5.1 with Kate 3.5.1


    Let us know if this helps
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re: Is there some language Syntax Highlight keywords lack in Kate on Opensuse?

    I'm using Kate 3.4.4 as Opensuse 11.3's default version.It seems that the string 'Var' isn't in black in pascal mode by taking step Utilities - Accentuate - Sourcecodes - Pascal.It's just like other normal strings in color.The numbers and data types works well,but other pascal's own keywords like 'for','to','begin' is not in black.I just compared the file /usr/share/kde4/apps/katepart/syntaxusr/share/kde4/katepart/syntax/pascal.xml with the same file in other distribution like Fedora and Ubuntu,there're not any difference.So I think there must be a whole language-syntax-highlight-support file but I still dont know why it doesn't work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •