So I'm making a custom theme using Notepad++ for LÖVE, and I've run in to some difficulty.
Here's what I've done so far:
Made LOVE.xml, which is basically a copy of my favorite theme (Obsidian), but everything is removed except the .lua information and and the GlobalStyles.
I've also added the LÖVE functions with the "keywordClass" of "lovemodules", "lovecallbacks", and "lovefunctions". I made each of them have a special color (pink, just for LÖVE!), with the same information as everything else, except the styleID, which I wasn't sure about, so I just left that as the next ones (16, 17, 18), as well as the keywordClass. I've put this file in the themes folder.
I've made a langs.models.xml file as well. It's the exact same, but with the new Keywords. All 3 hold all of the pertinent information, with the first containing the module names as well as "love" itself. The second contains the basic functions (draw, update, etc). The third contains all of the actual functions (e.g. love.graphics.draw, it would be "draw"). This has been added to the langs.models.xml file.
I changed the stylers.models.xml so that it matches exactly the lua part of the LOVE.xml file.
Everything works, all the Lua features, at least. The custom added ones don't work, however. This is my problem.
I appreciate any help, even if it's a recommendation to switch to another text editor!
But seriously, I would like to keep using Notepad++
Some Help with Notepad++
Some Help with Notepad++
- Attachments
-
- stylers.model.xml
- stylers.model.xml
- (96.58 KiB) Downloaded 79 times
-
- langs.model.xml
- langs.model.xml
- (113.85 KiB) Downloaded 79 times
-
- LOVE.xml
- LOVE.xml
- (5.5 KiB) Downloaded 82 times
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Some Help with Notepad++
How did you add the costume ones ?
Re: Some Help with Notepad++
I added the LOVE.xml to the themes folder. Then I just added the extra information to the files specified.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Some Help with Notepad++
But did you write your stuff direcly to the XML or did you use notepad++ to add the costum ones ?
EDIT: 404 posts not found (your number of posts )
EDIT: 404 posts not found (your number of posts )
Re: Some Help with Notepad++
404 comment not found. About to change.
I used wrote them directly (using a preexisting one as a template). I would have done it the easier way, but the them change never saved for me.
I also have some new information: When calling a function, if numbers are input as arguments, the text is the color of one of the custom ones...
I used wrote them directly (using a preexisting one as a template). I would have done it the easier way, but the them change never saved for me.
I also have some new information: When calling a function, if numbers are input as arguments, the text is the color of one of the custom ones...
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Some Help with Notepad++
Hmmm.. You are using this window right ?
Re: Some Help with Notepad++
I wanted to make it a theme, not a language. I don't really know why, just wanted to.
All of the currently existing NP++ plugins I have tried are really ugly, though.
EDIT: If you don't mind, where did you get that one?
All of the currently existing NP++ plugins I have tried are really ugly, though.
EDIT: If you don't mind, where did you get that one?
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Some Help with Notepad++
It's one that comes with NP++, "Deep Black".
Why not just make a language ?
Why not just make a language ?
Re: Some Help with Notepad++
No, I meant the language download. For some reason, I hadn't even thought about making a new language.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Some Help with Notepad++
It's a costum one, here it is (it might be outdated and it might have some of my own functions too): https://mega.co.nz/#!t5ZgnKCA!L9-RBjptx ... pRMP-yZMPc
Who is online
Users browsing this forum: No registered users and 6 guests