Raised This Month: $51 Target: $400
 12% 

Regarding certain statements and such.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
404UserNotFound
BANNED
Join Date: Dec 2011
Old 11-18-2016 , 21:02   Regarding certain statements and such.
Reply With Quote #1

So I'm currently working on a Notepad++ syntax highlighting project to create a new syntax highlighting setup for SourcePawn. I'm basing most of it off of Notepad++'s stock C++ highlighting. Here's how I've organized things like statements thus far.

Keywords1: new for if else do while switch case default return break continue sizeof true false typedef delete

Keywords2: Plugin Action void int float char bool Float String any Handle decl stock forward funcenum functag native function methodmap property typeset view_as cast_as var let public const enum static union struct

And for operators, I've got the following:
Code:
<Keywords name="Operators1">! @ % ^ &amp; * ( ) - | || = + ~ [ ] . , : ; / &lt; &gt; &lt;= =&lt; &gt;= =&gt; ?</Keywords>
<Keywords name="Operators2"></Keywords> // Empty
Is there anything I'm missing from these? Also, is there anything that SourcePawn as a language doesn't use that I should remove? I want to make sure I'm not missing anything before I start adding in .inc file class/type highlighting.

Here's what I've got style-wise so far. I plan to release this once I finish it. Also, I'm open to suggestions about the highlighting color/bold/etc of specific things.
- My highlighting (font is Inconsolata, before you even ask )
- Notepad++'s stock C++ highlighting, for comparison

Last edited by 404UserNotFound; 11-18-2016 at 21:02.
404UserNotFound is offline
 



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 23:00.


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