![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi, I was not able to find a syntax coloring definition for gcode in gtksourceview (gedit) so I made one. It helps me when I´m reading through my gcode so I thought It might help others if I shared it.. it´s far from perfect, but it´s a start ![]() http://dl.dropbox.com/u/22370817/ngc.lang drop it in either .gnome2/gtksourceview-2.0/language-specs/ or /usr/share/gtksourceview-2.0/language-specs/ Henrik Last edited by henrikw; 03-02-2011 at 04:20 PM. Reason: Added lang file to original post in case the dropbox file goes down. |
|
#3
| |||
| |||
| This adds a menu item but doesn't seem to do anything else Did you upload the wrong file or is it a work in progress ? Maybe it's something I'm doing wrong ?
__________________ Anyone who says "It only goes together one way" has no imagination. |
|
#5
| |||
| |||
| There are a couple of others available. one from the linuxcnc wiki EMC Documentation Wiki: Highlighting In Gedit and another from the inkscape gcode developer (Gcode tools) cnc-club.ru • They look rather easy to customize with a bit of knowledge of regular expressions. I'd like to see one that has separate colors for letters X,Y and Z as seen in some other gcode editors.
__________________ Anyone who says "It only goes together one way" has no imagination. |
| Sponsored Links |
|
#7
| |||
| |||
__________________ Anyone who says "It only goes together one way" has no imagination. |
|
#8
| |||
| |||
| Yep, simple and helpful nice! too bad it's hidden away like that.I'm working on a script to make it easier to install such "features" on a vanilla emc2 ubuntu. Any tips on features that will be helpful? what are the first thing you do after a fresh install? Henrik |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Coloring Gold or Platinum | tung | Metal Finishing and Plating | 1 | 03-07-2010 05:18 PM |
| Coloring brass | ErnieD | Metal Finishing and Plating | 2 | 02-14-2010 09:41 AM |
| Need Help!- Using Gedit without EMC2 to manually edit Gcode with syntax | mouratoglou | LinuxCNC (formerly EMC2) | 6 | 07-25-2009 02:36 AM |
| painting & coloring via cnc? | vaneeck1 | Printing, Scanners, Vinyl cutting and Plotters | 1 | 03-25-2006 12:33 PM |
| Syntax question | doug6949 | Mastercam | 2 | 12-13-2004 01:14 PM |