Torchmodders
Modding => Tips & Tools => Topic started by: Urakka Amyx on August 26, 2018, 04:11:10 pm
-
Notepad ++ Syntax highlighter and styles
No invasive dll that you have to move to any folder and what not.
Just Open up npp go to language->define your language->import and select the files.
and thats it.
The file is incomplete, but when i get some time ill throw some more tags in there.
also, if you want that font, just go to torchlight DIR, and register the torchlight font to your system. :P its also great to register, because it becomes available to Photoshop as well :D
-
The file is incomplete, but when i get some time ill throw some more tags in there.
I have been planning on working on something like this anyway. May I be allowed to contribute?
I am hoping for an eventual minimum, of feature parity with TLDatLexer (the DLL method you mentioned).
No invasive dll that you have to move to any folder and what not.
Just Open up npp go to language->define your language->import and select the files.
Not to mention that, said DLL file only works for 32-bit installations of Notepad++.
That turns out to be the bigger hassle for me—if I can use a 64-bit binary, that is preferred over its 32-bit equivalent. (Even if I have to do some something silly, like use a nightly build from the stable branch of ScummVM, because those are the only official win64 builds since v1.4.)
-
I have been planning on working on something like this anyway. May I be allowed to contribute?
Yes, please. i mean its not really anything special, i wish the theming had the ability for regex. >__> would make it alot cleaner
Not to mention that, said DLL file only works for 32-bit installations of Notepad++.
That turns out to be the bigger hassle for me—if I can use a 64-bit binary, that is preferred over its 32-bit equivalent. (Even if I have to do some something silly, like use a nightly build from the stable branch of ScummVM, because those are the only official win64 builds since v1.4.)
I completely understand.. took me forever to get it to work.. to much copy/paste in a program directory. I prefer not to use things like that. (external plugin installation). not that its bad, its just something i prefer.
-
Yes, please. i mean its not really anything special, i wish the theming had the ability for regex. >__> would make it alot cleaner
As a show of good faith, an example you might try reverse-engineering (that I certainly plan to), is the Minecraft "Config Highlighter" UDL. See the associated screenshot (https://media.forgecdn.net/attachments/219/875/sans-titre.png).
Download Page:
[https://minecraft.curseforge.com/projects/config-highlighter-for-notepad (https://minecraft.curseforge.com/projects/config-highlighter-for-notepad)]
This is notable for the way it highlights config tags differently, depending on the tag type.
I am still looking for a functional UDL example of code-folding (the other crucial feature of TLDatLexer). Let me know if you find one.
I completely understand.. took me forever to get it to work.. to much copy/paste in a program directory. I prefer not to use things like that. (external plugin installation). not that its bad, its just something i prefer.
It took me forever too—but not because I did not easily figure it out.
I got the installation right on the second or third try…only to have Notepad++ refuse to launch due to the 32-bit DLL file. So then I procrastinated…and procrastinated…because I did not want to downgrade to a 32-bit app if a 64-bit app was available.
I did eventually do it (the inherent utility of the plugin outweighed the performance benefits of avoiding it), but I did so reluctantly, and with much griping.
Oh, and then I had to remove all traces of my Notepad++ 64-bit program directory—because it was somehow breaking my Notepad++ 32-bit file associations.
-
So, basically you want to use the dll, but you dont like having to downgrade your 64bit. correct?. You could make a 64 bit version for yourself. I mean notepad++ plugins are pretty easy to make depending on your knowledge of programming. if you would like,
i could take a look and try to reverse engineer the TLdatLexer
Never mind
https://bitbucket.org/Jarcho/tldatlexer/src/9f4994de048fa0591b8cd8721a1e27249921aaff/TlDatLexer/?at=master
Should be simple enough to just rebuild in a 64 bit architecture, ill reinstall Visual studios and check it out to see if i can get it to work.
UPDATE:: Downloading VS over a tether is ... painful. :P
-
And also, As far as folding, im currently working on that ^_^
-
Should be simple enough to just rebuild in a 64 bit architecture, ill reinstall Visual studios and check it out to see if i can get it to work.
@Urakka Amyx, I forked the TLDatLexer repository to Github, in case you would like to post any bugfixes or feature enhancements for it.
[https://github.com/LordNyriox/TLDatLexer (https://github.com/LordNyriox/TLDatLexer)]
Perhaps you can help me get AppVeyor working for the repository? The CI can do the actual compiling work, after that.