Notepad++ Theme Configuration Problem.
#1

Hello erverybody, I have problem with Notepad++, I downloaded Visual Basic dark theme for it, but when I load it inside Notepad, it`s looks like:

But when I saw screens on github it`s should look like:


Then I saw xml file(theme file) and I saw that there is no defines for pawn language. Does anyone have defines of all words which pawn uses?
Reply
#2

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.
Reply
#3

You need the PAWN syntax highlight for Notepad++.
As Sew_Sumi said read the tutorial here: https://sampforum.blast.hk/showthread.php?tid=174046

If you need only the syntax highlight download only the userDefineLang.xml file and put it in the Notepad++ Appdata folder. I think you can use this with the theme you downloaded.
Reply
#4

This will help you https://sampforum.blast.hk/showthread.php?tid=174046
Reply
#5

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.
Reply
#6

Quote:
Originally Posted by Darkwood17
Посмотреть сообщение
You need the PAWN syntax highlight for Notepad++.
As Sew_Sumi said read the tutorial here: https://sampforum.blast.hk/showthread.php?tid=174046

If you need only the syntax highlight download only the userDefineLang.xml file and put it in the Notepad++ Appdata folder. I think you can use this with the theme you downloaded.
Quote:
Originally Posted by DavidGravelli
Посмотреть сообщение
I saw that tutorial, I read that three times, and I don`t get it. Why is words white, when I switch to mySQL code, program detects good but in other it can`t....
Reply
#7

Actually, the UserDefineLang.xml that NotePad++ for pawn uses has the bgcolor hardcoded, as well as fgcolor.
Reply
#8

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.
Reply
#9

Код:
		<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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)