Raised This Month: $ Target: $400
 0% 

[Version: 2.0] Notepad++ Classic Syntax Highlighting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ShufflexDD
Senior Member
Join Date: Apr 2011
Location: :noitaɔo˩
Old 11-16-2012 , 15:38   [Version: 2.0] Notepad++ Classic Syntax Highlighting
Reply With Quote #1


I've made another syntax highlighting for Notepad++ from scratch.
It looks almost like original NP++ highlighting.
As compared with another highlighting it hasn't bug with escaping symbols, and has all predefined constants & operators.

Installing:
Notepad++ -> Language -> Define your language... -> Import and restart Notepad++.

Version: 2.0

ChangeLog:
2.0
-- Added all predefined constants with Turquoise color(the same as in standard sourcepawn highlighting)
-- Added support separating big numbers with underscore: new z = 1_000_000
1.0 - 11 views

P.S: As you can see in preview, last number in color array isn't looks correctly. It will be fixed in new revisions of Notepad++.
Attached Thumbnails
Click image for larger version

Name:	nppsyntax.png
Views:	822
Size:	45.3 KB
ID:	112215  
Attached Files
File Type: zip sourcepawn_v2.zip (6.6 KB, 145 views)
__________________

⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈
Check this website and find out how many functions
it has working with game server together.

Last edited by ShufflexDD; 11-17-2012 at 11:20.
ShufflexDD is offline
Send a message via ICQ to ShufflexDD Send a message via Skype™ to ShufflexDD
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 11-16-2012 , 22:35   Re: Notepad++ Classic Syntax Highlighting
Reply With Quote #2

Guess I'll give it a try, been using the most recent which sadly doesn't have the basic console include <_<

Edit: Will this had include definitions ever?

Last edited by ReFlexPoison; 11-17-2012 at 00:40.
ReFlexPoison is offline
ShufflexDD
Senior Member
Join Date: Apr 2011
Location: :noitaɔo˩
Old 11-17-2012 , 04:38   Re: Notepad++ Classic Syntax Highlighting
Reply With Quote #3

please tell me more about this
__________________

⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈
Check this website and find out how many functions
it has working with game server together.
ShufflexDD is offline
Send a message via ICQ to ShufflexDD Send a message via Skype™ to ShufflexDD
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 11-17-2012 , 07:26   Re: Notepad++ Classic Syntax Highlighting
Reply With Quote #4

i think he means that .inc is not added to the default file extensions
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
ShufflexDD
Senior Member
Join Date: Apr 2011
Location: :noitaɔo˩
Old 11-17-2012 , 07:43   Re: Notepad++ Classic Syntax Highlighting
Reply With Quote #5

I didn't add it because all languages has .inc extension.
Tell me if I'm wrong, and I'll add it.
__________________

⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈
Check this website and find out how many functions
it has working with game server together.
ShufflexDD is offline
Send a message via ICQ to ShufflexDD Send a message via Skype™ to ShufflexDD
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 11-18-2012 , 17:08   Re: Notepad++ Classic Syntax Highlighting
Reply With Quote #6

Quote:
Originally Posted by ShufflexDD View Post
I didn't add it because all languages has .inc extension.
Tell me if I'm wrong, and I'll add it.
ReFlexPoison is offline
ShufflexDD
Senior Member
Join Date: Apr 2011
Location: :noitaɔo˩
Old 11-19-2012 , 08:50   Re: [Version: 2.0] Notepad++ Classic Syntax Highlighting
Reply With Quote #7

got it.
I'll try to do it.
__________________

⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈
Check this website and find out how many functions
it has working with game server together.
ShufflexDD is offline
Send a message via ICQ to ShufflexDD Send a message via Skype™ to ShufflexDD
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 11-19-2012 , 22:46   Re: [Version: 2.0] Notepad++ Classic Syntax Highlighting
Reply With Quote #8

Here's a version using the same highlighting as your version but with Auto-Completion for the core and custom includes. Used the generator from the other thread here.
Attached Files
File Type: zip SourcePawn.zip (118.0 KB, 102 views)
ReFlexPoison is offline
ShufflexDD
Senior Member
Join Date: Apr 2011
Location: :noitaɔo˩
Old 11-20-2012 , 09:11   Re: [Version: 2.0] Notepad++ Classic Syntax Highlighting
Reply With Quote #9

oh, sh*t.......................
I almost finished doing it by myself in php

anyway, I'm trying to finish mine, cause that have only functions
__________________

⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈⇈
Check this website and find out how many functions
it has working with game server together.

Last edited by ShufflexDD; 11-20-2012 at 09:41.
ShufflexDD is offline
Send a message via ICQ to ShufflexDD Send a message via Skype™ to ShufflexDD
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 11-20-2012 , 16:53   Re: [Version: 2.0] Notepad++ Classic Syntax Highlighting
Reply With Quote #10

Quote:
Originally Posted by ShufflexDD View Post
oh, sh*t.......................
I almost finished doing it by myself in php

anyway, I'm trying to finish mine, cause that have only functions
The problem with the generator based Auto-Completions is it adds void to the signatures for a large portion of the natives in the includes. You can customize it to your liking by editing the xml file but there are over 900 entrees with this "problem."

Here is a version simply changing void to a > symbol.
Attached Files
File Type: zip SourcePawn.zip (118.0 KB, 90 views)

Last edited by ReFlexPoison; 11-20-2012 at 16:57.
ReFlexPoison is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode