Message: previous - next
Month: June 2018

Re: [trinity-users] kate can't find gcode.xml

From: Stefan Krusche <linux@...>
Date: Thu, 28 Jun 2018 16:35:13 +0200
Am Donnerstag 28 Juni 2018 schrieb Gene Heskett:
> Greetings all;
> I find that despite having gcode.xml installed at 
> /opt/trinity/share/apps/katepart/syntax/gcode.xml

I have this file on my system, too, and I think it's from the latest upgrade of kate in TDE PSB (Nik and Michele actually talked about it and announced the integration of gcode high-lighting into the package, but you probably know that already). I find "G-Code" in the menus:
Tools -> Highlighting -> Other -> "G-Code"

> neither kate nor kwrite can find it, as in offer it as a choice in the 
> menu's. 

Did you restart kate / kwrite after you installed gcode.xml ?

> geany doesn't have that either so I am used to looking at gcode  
> as plain text.
> Whats  next? The idea does sound helpfull if only to highlight the typu's 
> these ancient fingers can make.
maybe copy "gcode.xml" to "~/.trinity/share/apps/katepart/syntax/gcode.xml" ...?

> OTOH, I find kate takes around 20 seconds of standing on the down arrow 
> key to get to the bottom of a 250 LOC .ngc file.

That's where I use "Ctrl + End" ;-)

> Compared to geany,  
> thats un-acceptably slow. It also apparently can't save the users prefs, 
> so every new session has to be reconfigured to enable such as line 
> numbers. 

IIRC, that's default behavior. I haven't checked again right now, but if I think you can configure that.
Settings -> Configure Kate... -> Application -> Sessions -> "Save Session"

Just my two cents,