Raised This Month: $13 Target: $400
 3% 

Gedit Syntax Highlighting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 03-05-2011 , 22:16   Gedit Syntax Highlighting
Reply With Quote #1

Put this on /usr/share/gtksourceview-2.0/language-specs/.

It'll be automatically enabled on .sp files, you can manually activate it under the "Scripts" section of the "Highlight Mode" menu.

Here's a screenshot: http://dl.dropbox.com/u/10968786/syn...ghlighting.png

Have fun.
Attached Files
File Type: zip sourcepawn.lang.zip (6.1 KB, 227 views)
Seta00 is offline
bestmeth0ds
SourceMod Donor
Join Date: Jul 2010
Old 06-09-2012 , 16:05   Re: Gedit Syntax Highlighting
Reply With Quote #2

Was looking everywhere for gedit sourcepawn syntax highlighting, thanks and it works great!
__________________
www.NitrateInteractive.com
bestmeth0ds is offline
Send a message via Skype™ to bestmeth0ds
Pyc
Senior Member
Join Date: Jan 2014
Old 03-21-2016 , 08:57   Re: Gedit Syntax Highlighting
Reply With Quote #3

great!!! need update for sourcemod 1.7
Pyc is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 07-25-2016 , 12:10   Re: Gedit Syntax Highlighting
Reply With Quote #4

Quote:
Originally Posted by Pyc View Post
great!!! need update for sourcemod 1.7
I've updated this for sourcemod 1.7+

https://drive.google.com/file/d/0B3F...ew?usp=sharing

types and storage class show up as green
keywords show up as red
special variables and functions show up as cyan/baby blue
and boolean true and false show up as pink.
__________________

Last edited by nergal; 07-25-2016 at 12:18.
nergal is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 04-13-2020 , 20:43   Re: Gedit Syntax Highlighting
Reply With Quote #5

back with another updated version.
Special thanks to JoinedSenses for his function regex syntax
Attached Files
File Type: zip sourcepawn_gedit.zip (6.5 KB, 22 views)
__________________
nergal is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-29-2020 , 23:47   Re: Gedit Syntax Highlighting
Reply With Quote #6

On Debian 10 the files open up with syntax highlighting already. Nice to see Gnome Edit continue to be intuitive. Thanks for your work. I'll be damned before I use Windows based stuff. This is a great way to start SP. On Gedit!!
__________________
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty a beauty cold and austere, like that of sculpture..." -Bertrand Russell
DJEarthQuake is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:56.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode