On Tuesday 26 June 2018 09:47:09 Dr. Nikolaus Klepp wrote:
Am Dienstag, 26. Juni 2018 schrieb Gene Heskett:
On Tuesday 26 June 2018 08:51:15 Dr. Nikolaus
Klepp wrote:
When we are at LinuxCNC, could you try out the
new syntax
highlighting for gcode? It's included in the latest psb builds.
Nik
For what editor? Where should I see it IOW. Certainly not gedit as
it has an incurable tendency to move arbitrary blocks of code around
in the file so its been nuked from all of my systems. gedit is a
very capable editor, capable of wrecking 2 years work. I've sorted
that pan of scrambled eggs, 1000 LOC, several times too many, even
resorting to getting last nights backup out to recover.
It's for "kate" and "kwrite" :-)
oh
I now use nano
or geany if a gui is available, which so far has Just
Worked(TM). It does do some C style code checking, matching brackets
etc type stuff, but I've found highlighting words only usefull by
the spell checkers.
geany was what I used ill I found FernVs gcode.xml for kate. I think
the highlighting for kate works way better than in geany. The only bug
I found is indirect o-calls are marked as syntax error (e.g.: o[#1] is
displayed red underlined).
I'll have to see if thats available. kate and kwrite were not installed
on that machine, but 47 files are being updated as I type, and a reboot
will be needed before I can test this. And after installing them both, I
can't find it (g-code.xml).
As for LCNC, I
wish the highliteing of the line being processed in
it lower code display wasn't greyed out as it is now, but displayed
in bold text. Trying to read the greyed out text is getting
difficult with my cataracts thrown in.
perhaps you could do something about that?
I think that would be possible, but axis is written python and my
python knowledge is still in a book on the shelf ..
99% of mine is too, but I've not bought the book yet. :(
And we are
off-topic, again.
:-)
Nik
--
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>