Some Help with Notepad++
Posted: Wed Mar 05, 2014 3:08 am
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++
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++