It is currently Sat Nov 25, 2017 3:03 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Yet another Notepad++ language
PostPosted: Sun Sep 17, 2017 5:39 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Oct 26, 2015 2:55 am
Posts: 889
Location: Ukraine
Hi.
Daily I've updated my Notepad++ PB lang file and now it looks much better and complete ^^
So much better that I'd like to post it here.

I'm using Notepad++ sometimes to view code, also sometimes it does better in some "batch" edit.
Don't know for what you using it with PB, but here is that syntax file:
http://geocities.ws/lunasole/data/_4pb/npplang/l

I've used color scheme similar to VS style, cause that's one I'm using in IDE. This can be redefined of course.
Generally just try & see

_________________
Time beyond time

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another Notepad++ language
PostPosted: Sun Sep 17, 2017 11:58 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 21, 2006 12:31 am
Posts: 1773
Location: Canada
Thanks for sharing. :)

_________________
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another Notepad++ language
PostPosted: Mon Sep 18, 2017 3:13 pm 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 378
Location: Berlin and Ibiza
Thank you too. :)

_________________
ImageImageImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another Notepad++ language
PostPosted: Mon Sep 18, 2017 3:37 pm 
Online
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2472
Location: Boston, MA
Thanks.
The latest NotePad++ has PB as a language selection, but "C:\Users\%username%\AppData\Roaming\Notepad++\functionList.xml" does not have entries for PureBasic. Has anyone made an attempt to add "Procedure..EndProcedure" to this format?

_________________
Intelligence is like underwear. It is important to have it, but showing it to the wrong people has the tendency to make them feel uncomfortable. ~ Angela Johnson


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another Notepad++ language
PostPosted: Tue Sep 19, 2017 9:07 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Oct 26, 2015 2:55 am
Posts: 889
Location: Ukraine
Updated it to 1.5 (minor style fix of 3rd keywords group + added keywords like ProcedureDLL/DeclareDLL + fixed style for numbers as procedure arguments)

// this stuff is made slightly with breaking rules of that UDL ^^
Also I've finally updated Notepad++ itself to 7.5, but that built-in PB lang anyway doesn't impress

_________________
Time beyond time

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye