From kwrite-devel Thu Oct 14 23:15:42 2004 From: Hedley Robertson Date: Thu, 14 Oct 2004 23:15:42 +0000 To: kwrite-devel Subject: Re: Syntax Highlighting Message-Id: <416F089E.5040008 () hedleyrobertson ! com> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=109779568020242 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1042037860==" This is a multi-part message in MIME format. --===============1042037860== Content-Type: multipart/alternative; boundary="------------040401040507080709040204" This is a multi-part message in MIME format. --------------040401040507080709040204 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit All your advice got me on the right track. Thanks much for the help Anders and Wilbert. Loving this editor, beats anything I had on Windows hands down! Anders Lund wrote: >On Thursday 14 October 2004 03:02, Hedley Robertson wrote: > > >>Greetings. >> >>I hope this is the correct forum for questions like this, I couldn't >> >>seem to find a general support form / list. My apologies if this is the >>wrong audience. >> >> > >Asking here is fine :) You can try visiting irc.kde.org#kate in irc for live >support. > > > >>Ok this should be easy, but for whatever reason I am having problems... >> >>My base install of KDE 3.2 included Kate (gentoo 2.6, if that helps), >>which I am finding to be a really super cool editor. It seemed to >>understand the syntax highlighting rules for .aspx files (asp.net, c# >>specifically) initially, but when I associate .aspx to Kate in KDE, the >>syntax highlighting poofed. Removing the association seems to do the >>same thing. >> >> > >In the configure dialog in kate, go to the "Editor->highlighting" page and >select a highlight to change the mimetype/pattern associations for it. > > > >>I tried to track down where the highlighting files are, just to be sure >>they are there, but couldnt find them in either of the paths mentioned >>in the how to write xml highlighting page. >> >>(tried *$(KDEDIR)/share/apps/kate/syntax* and >>*~/.kde/share/apps/kate/syntax*)* >> >> > >The files are in KDEDIR/share/apps/katepart/syntax/ and >KDEHOME/share/apps/katepart/syntax these days. > >-anders > > -- - Hedley Robertson < hedley [at] hedleyrobertson [dot] com > office: 425-939-0066 cell: 206-979-6446 --------------040401040507080709040204 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 7bit All your advice got me on the right track.  Thanks much for the help Anders and Wilbert.  Loving this editor, beats anything I had on Windows hands down!


Anders Lund wrote:
On Thursday 14 October 2004 03:02, Hedley Robertson wrote:
  
Greetings.

I hope this is the correct forum for questions like this, I couldn't

seem to find a general support form / list.  My apologies if this is the
wrong audience.
    

Asking here is fine :) You can try visiting irc.kde.org#kate in irc for live 
support.

  
Ok this should be easy, but for whatever reason I am having problems...

My base install of KDE 3.2 included Kate (gentoo 2.6, if that helps),
which I am finding to be a really super cool editor.  It seemed to
understand the syntax highlighting rules for .aspx files (asp.net, c#
specifically) initially, but when I associate .aspx to Kate in KDE, the
syntax highlighting poofed.  Removing the association seems to do the
same thing.
    

In the configure dialog in kate, go to the "Editor->highlighting" page and 
select a highlight to change the mimetype/pattern associations for it.

  
I tried to track down where the highlighting files are, just to be sure
they are there, but couldnt find them in either of the paths mentioned
in the how to write xml highlighting page.

(tried *$(KDEDIR)/share/apps/kate/syntax* and
*~/.kde/share/apps/kate/syntax*)*
    

The files are in KDEDIR/share/apps/katepart/syntax/ and 
KDEHOME/share/apps/katepart/syntax these days.

-anders
  

-- 
- Hedley Robertson
< hedley [at] hedleyrobertson [dot] com >
office:	425-939-0066
cell:	206-979-6446
--------------040401040507080709040204-- --===============1042037860== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============1042037860==--