G-code syntax highlighting for Geany ?
- jbraun
 - Offline
 - Senior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 65
 - Thank you received: 15
 
			
	
						08 Nov 2022 23:10		 -  09 Nov 2022 07:46		#256250
		by jbraun
	
	
		
			
	
	
			 		
													
	
				G-code syntax highlighting for Geany ? was created by jbraun			
			
				Title = the question. Does this exist ?
I did search the forum.
edit: It turns out Mousepad does g-code highlighting. gcode.lang and ngc.lang are hiding in /usr/share/gtksourceview-2.0/language-specs/ so needed to be linked to gtksourceview-3.0
Running Debian 10 with xfce
					I did search the forum.
edit: It turns out Mousepad does g-code highlighting. gcode.lang and ngc.lang are hiding in /usr/share/gtksourceview-2.0/language-specs/ so needed to be linked to gtksourceview-3.0
Running Debian 10 with xfce
		Last edit: 09 Nov 2022 07:46  by jbraun.			
			Please Log in or Create an account to join the conversation.
- andypugh
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 19678
 - Thank you received: 4559
 
			
	
						09 Nov 2022 12:56				#256277
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic G-code syntax highlighting for Geany ?			
			
				I have looked at this in the past for Geany and not get very far.
geany.org/manual/hacking.html#adding-a-filetype
There is a lexer file here:
www.dynomotion.com/forum/archive/attachments/LexGCode-3150.cxx
But I have not tried combining it with Geany.
					geany.org/manual/hacking.html#adding-a-filetype
There is a lexer file here:
www.dynomotion.com/forum/archive/attachments/LexGCode-3150.cxx
But I have not tried combining it with Geany.
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						09 Nov 2022 13:08				#256280
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic G-code syntax highlighting for Geany ?			
			
				I checked last night, could not find anything useful.			
					Please Log in or Create an account to join the conversation.
		Time to create page: 0.213 seconds