Jump to content
  • 0

Notepad++ custom syntax with black background unfocused


Echoes

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  155
  • Reputation:   5
  • Joined:  03/30/13
  • Last Seen:  

Hello again, long time no see rAthena 🙂

I'm here to ask a question about a problem I'm facing now that I would want to go back to scripting, and it's the next:

I'm trying to use the Notepad++ rAthena custom Syntax Highlight found here: 

 

But I see a black background on unfocused lines

image.png.8fde462c0249ba17db3261a29043ae0c.pngimage.png.f5415095876190d8132b2dfb144a3537.png
Solarized and Default (contrary to default shown in link) styles

I'm using the very file found in the link above but that's what I see and it's hard to look at.

 

How can I, uhm, avoid this black background everywhere? The colors and highlight in general are to my liking but the square background on every character is pain itself.

I think it has to do with the code for styles but I'm afraid I haven't found a solution yet

        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="FFFFFF" bgColor="000000" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FFFFFF" bgColor="000000" fontName="@Dotum" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FFFFFF" bgColor="000000" fontName="@Dotum" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0000" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="800080" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF8000" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="000000" fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00AE00" bgColor="000000" fontName="" fontStyle="0" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="800000" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="FF0000" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF0080" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000080" bgColor="000000" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>

 

Help please 🙂

I don't think pinging the author would mean anything, since last seen was in 2020

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1188
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

6 hours ago, Echoes said:

Hello again, long time no see rAthena 🙂

I'm here to ask a question about a problem I'm facing now that I would want to go back to scripting, and it's the next:

I'm trying to use the Notepad++ rAthena custom Syntax Highlight found here: 

 

But I see a black background on unfocused lines

image.png.8fde462c0249ba17db3261a29043ae0c.pngimage.png.f5415095876190d8132b2dfb144a3537.png
Solarized and Default (contrary to default shown in link) styles

I'm using the very file found in the link above but that's what I see and it's hard to look at.

 

How can I, uhm, avoid this black background everywhere? The colors and highlight in general are to my liking but the square background on every character is pain itself.

I think it has to do with the code for styles but I'm afraid I haven't found a solution yet

        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="FFFFFF" bgColor="000000" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FFFFFF" bgColor="000000" fontName="@Dotum" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FFFFFF" bgColor="000000" fontName="@Dotum" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0000" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="800080" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF8000" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="000000" fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00AE00" bgColor="000000" fontName="" fontStyle="0" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="800000" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="FF0000" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF0080" bgColor="000000" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000080" bgColor="000000" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>

 

Help please 🙂

I don't think pinging the author would mean anything, since last seen was in 2020

 

try with this version

 

https://github.com/cydh/rAthena-syntax-highlight

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  155
  • Reputation:   5
  • Joined:  03/30/13
  • Last Seen:  

5 hours ago, hendra814 said:

Hi hendra814, thank you for your reply!

And it worked! I was still getting the error abot a different background color but now I could note it was due to the bgColor part of the code, so I just edited it to reflect my Solarized background.

 

Thank you!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...