News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 261
Total: 261

Author Topic: Notepad++ Custom Language File (Syntax Highlight)  (Read 4442 times)

0 Members and 51 Guests are viewing this topic.

Notepad++ Custom Language File (Syntax Highlight)
« on: »
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
« Last Edit: August 28, 2018, 04:16:13 pm by Urakka Amyx »

Share on Bluesky Share on Facebook


Re: Notepad++ Custom Language File
« Reply #1 on: »
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.) 
« Last Edit: August 28, 2018, 11:40:38 am by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

Re: Notepad++ Custom Language File (Syntax Highlight)
« Reply #2 on: »
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.

Re: Notepad++ Custom Language File
« Reply #3 on: »
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.

Download Page:
[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. 
« Last Edit: August 28, 2018, 11:47:23 am by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

Re: Notepad++ Custom Language File (Syntax Highlight)
« Reply #4 on: »
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
bitbucket.org


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
« Last Edit: August 28, 2018, 01:47:39 pm by Urakka Amyx »

Re: Notepad++ Custom Language File (Syntax Highlight)
« Reply #5 on: »
And also, As far as folding, im currently working on that ^_^

Re: Notepad++ Custom Language File (Syntax Highlight)
« Reply #6 on: »
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]

Perhaps you can help me get AppVeyor working for the repository?  The CI can do the actual compiling work, after that.
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

 

Recent Topics+-