Re: Configuring KDE-KATE to use other highlighting syntaxes
Anders Lund <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kate |
|---|---|
| Organization | Saguaro |
| Message-ID | <[email protected]> |
On Monday 15 July 2002 19:54, Katinka Mills wrote: > On Sat, 13 Jul 2002 06:06, Anders Lund wrote: > > On Friday 12 July 2002 18:32, Katinka Mills wrote: > > > Hi all, > > > > > > I am an EE and wish to use KATE to write programs for the ATMEL AVR. > > > > > > I would like to know the format of the files for syntax highlighting > > > and where they are added, so I can configure an option up for the AVR > > > asembler instructions. > > > > > > Regards, > > > Kat. > > > > The files are in $KDEDIR/share/apps/katepart/syntax. > > > > They are XML files, and there is some documentation in the kate manual, > > as well as you should look at the existing files for reference. > > > > You can enable the XML plugin and use the language.dtd.xml meta DTD to > > get some typing help for editing such files wihtin Kate, it you have a > > recent (cvs, that is) version. > > > > -anders > > Hi all, > > I now have KATE 2.0 under KDE3.0.2 > > I do not have a file called language.dtd.xml (but I do have one called > langugage.dtd) Hmm, It is part of the XML plugin installation, which is in the kdeaddons package. > I have looked through the manual and not found much on making new > highlights or how to add them. That part of the documentation is in appendix A: "Working with Syntax Highlighting", should be. > I think I have my file right :o) so now all I need to know is how to add it > to the list in the highlighter section. Just drop it in $KDEDIR/share/apps/katepart/syntax - $KDEDIR may be your local one, usually ~/.kde3 or just ~/.kde, or the global installation prefix for kde, for example /opt/kde, that depends on your distribution. > Once I have it all worked out I will provide it, as more and more ppl are > moving from winblows to *nix for their programming platform :o) Thank you! Let us know if you need help/testing. -anders