[Tutorial] PAWN for SA-MP in Sublime Text 2
#32

Quote:
Originally Posted by wups
View Post
Great tutorial, however i have one small problem with the text colors:
If i use this format:
pawn Code:
#define SOME_NUMBER 20
SendClientMessage(playerid,COLOR," Something text something costs:"#SOME_NUMBER"$");
Then everything continues to have a quote color. Any ideas how to fix this?
Its because everything everything after # is considered as a part of a define statement. I noticed this early, but wasnt aware of a method to fix it.
syntax highlighter uses regex for matching, which is located in Pawn.tmLanguage file. If anyone manages to fix it, I'll update the download links.
Reply


Messages In This Thread
PAWN for SA-MP in Sublime Text 2 - by Macluawn - 23.06.2013, 23:12
Re: PAWN for SA-MP in Sublime Text 2 - by PaulDinam - 24.06.2013, 00:56
Re: PAWN for SA-MP in Sublime Text 2 - by Cameryn - 24.06.2013, 05:26
Re: PAWN for SA-MP in Sublime Text 2 - by StreetGT - 24.06.2013, 12:39
Re: PAWN for SA-MP in Sublime Text 2 - by Macluawn - 24.06.2013, 12:56
Re: PAWN for SA-MP in Sublime Text 2 - by dipsnark - 23.07.2013, 18:44
Re: PAWN for SA-MP in Sublime Text 2 - by Aprezt - 23.07.2013, 21:23
Re : PAWN for SA-MP in Sublime Text 2 - by Garwan50 - 24.07.2013, 00:05
Re : PAWN for SA-MP in Sublime Text 2 - by Garwan50 - 24.07.2013, 00:28
Re: PAWN for SA-MP in Sublime Text 2 - by Micius - 24.07.2013, 09:06
Re : PAWN for SA-MP in Sublime Text 2 - by Garwan50 - 25.07.2013, 15:39
Re : PAWN for SA-MP in Sublime Text 2 - by Garwan50 - 28.07.2013, 00:15
Re : PAWN for SA-MP in Sublime Text 2 - by Garwan50 - 30.07.2013, 02:33
Re: PAWN for SA-MP in Sublime Text 2 - by JusstinRoller - 30.07.2013, 04:25
Re: PAWN for SA-MP in Sublime Text 2 - by JusstinRoller - 30.07.2013, 07:11
Re : PAWN for SA-MP in Sublime Text 2 - by Garwan50 - 30.07.2013, 15:24
Re : PAWN for SA-MP in Sublime Text 2 - by Garwan50 - 30.07.2013, 15:51
Re: PAWN for SA-MP in Sublime Text 2 - by Macluawn - 30.07.2013, 20:25
Re: PAWN for SA-MP in Sublime Text 2 - by Binx - 31.07.2013, 15:15
Re: PAWN for SA-MP in Sublime Text 2 - by Misiur - 09.10.2013, 10:52
Re: PAWN for SA-MP in Sublime Text 2 - by iFiras - 09.10.2013, 11:13
Re: PAWN for SA-MP in Sublime Text 2 - by Memorex™ - 14.10.2013, 23:19
Re: PAWN for SA-MP in Sublime Text 2 - by rafikk - 25.10.2013, 20:40
Re: PAWN for SA-MP in Sublime Text 2 - by rafikk - 29.10.2013, 16:15
Re: PAWN for SA-MP in Sublime Text 2 - by manoc - 30.10.2013, 05:53
Re: PAWN for SA-MP in Sublime Text 2 - by PaulDinam - 30.10.2013, 15:14
Re: PAWN for SA-MP in Sublime Text 2 - by Misiur - 03.11.2013, 18:08
Re: PAWN for SA-MP in Sublime Text 2 - by Vanter - 04.02.2014, 12:48
Respuesta: Re: PAWN for SA-MP in Sublime Text 2 - by TheChaoz - 04.02.2014, 13:17
Re: PAWN for SA-MP in Sublime Text 2 - by Guest4390857394857 - 30.04.2014, 17:52
Re: PAWN for SA-MP in Sublime Text 2 - by Joey^ - 24.07.2014, 12:51
Re: PAWN for SA-MP in Sublime Text 2 - by Macluawn - 15.08.2014, 20:54
Re: PAWN for SA-MP in Sublime Text 2 - by M134Minigun - 13.10.2014, 13:10
Re: PAWN for SA-MP in Sublime Text 2 - by FuznesS - 21.10.2014, 16:20
Re: PAWN for SA-MP in Sublime Text 2 - by DeViL_GSB - 23.10.2014, 05:05
Re: PAWN for SA-MP in Sublime Text 2 - by welderlourenco - 08.12.2014, 19:14
Re: PAWN for SA-MP in Sublime Text 2 - by CoaPsyFactor - 30.05.2015, 22:13
Re: PAWN for SA-MP in Sublime Text 2 - by CharCoast - 08.06.2015, 22:43
Re: PAWN for SA-MP in Sublime Text 2 - by sakang - 12.06.2015, 12:48
Respuesta: PAWN for SA-MP in Sublime Text 2 - by Dreyfuz - 15.08.2015, 03:04

Forum Jump:


Users browsing this thread: 1 Guest(s)