Posts: 6,242
Threads: 8
Joined: Jun 2008
Read the Tutorial on NotePad++ with PAWN...
After all, it doesn't natively recognize pawn. You have to put it in. Either through the tutorial or with CodeParser.
Posts: 6,242
Threads: 8
Joined: Jun 2008
CodeParser also allows for the most recent function additions to SAMP to be included.
https://sampforum.blast.hk/showthread.php?tid=512798
Reading Slices Tutorial though is a good thing to get into.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Actually, the UserDefineLang.xml that NotePad++ for pawn uses has the bgcolor hardcoded, as well as fgcolor.
Posts: 3,324
Threads: 96
Joined: Sep 2013
Look for Mauzen's NPP function, define, variable, macro exporter. It exports all of the required files to make the themes based on your includes.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Код:
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="C8C8C8" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="D69D85" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="D69D85" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="4E9CD6" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="D69D85" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="D69D85" bgColor="1E1E1E" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="4E9CD6" bgColor="1E1E1E" fontName="" fontStyle="1" />
<WordsStyle name="COMMENT" styleID="1" fgColor="608B4E" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="608B4E" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="B5CEA8" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="DCDCDC" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="D69D85" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="608B4E" bgColor="1E1E1E" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="4E9CD6" bgColor="1E1E1E" fontName="" fontStyle="0" />
</Styles>
My attempt at transferring the styles section of the CodeParser output to match the theme.
Just make sure you back up everything and replace the entire section in UserDefineLang.xml.
The theme looks pretty awesome.