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

GeSHi Pawn highlighter


Post New Thread Reply   
 
Thread Tools Display Modes
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 12-17-2010 , 19:13   Re: GeSHi Pawn highlighter
Reply With Quote #11

ok just please don't kill me
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-17-2010 , 19:25   Re: GeSHi Pawn highlighter
Reply With Quote #12

Quote:
Originally Posted by fysiks View Post
OMG, need to learn to attach files. Are you trying to crash my browser?

If someone had requested this earlier in one of my threads I probably would have done it .
Better than the source code of BlockMaker posted.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-17-2010 , 19:59   Re: GeSHi Pawn highlighter
Reply With Quote #13

EDIT: Just finished one very similar to what I use in Notepad++, see attached. (Includes 3637 functions, forwards, constants, and macros from my AMXX Keywords for Highlighting thread for all MODs)

Quote:
Originally Posted by Exolent[jNr] View Post
Better than the source code of BlockMaker posted.
Agreed.
Attached Files
File Type: txt amxx.php.txt (68.8 KB, 243 views)
__________________

Last edited by fysiks; 12-17-2010 at 22:47.
fysiks is offline
a.aqua
Senior Member
Join Date: Jul 2009
Location: Russia
Old 12-18-2010 , 02:21   Re: GeSHi Pawn highlighter
Reply With Quote #14

Quote:
Originally Posted by fysiks View Post
EDIT: Just finished one very similar to what I use in Notepad++, see attached. (Includes 3637 functions, forwards, constants, and macros from my AMXX Keywords for Highlighting thread for all MODs)



Agreed.
Thanks
edit: but… i have some problem with encode (when post somebody code). And text in this hl not displayed
__________________
a.aqua is offline
Send a message via ICQ to a.aqua
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 12-18-2010 , 12:03   Re: GeSHi Pawn highlighter
Reply With Quote #15

lol fysiks get a real browser
Seta00 is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 12-18-2010 , 12:20   Re: GeSHi Pawn highlighter
Reply With Quote #16

Quote:
Originally Posted by Seta00 View Post
lol fysiks get a real browser
www.opera.com
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-18-2010 , 17:53   Re: GeSHi Pawn highlighter
Reply With Quote #17

Quote:
Originally Posted by a.aqua View Post
Thanks
edit: but… i have some problem with encode (when post somebody code). And text in this hl not displayed
You will need to explain more because I don't know what exactly you are talking about. Which one is which?


Quote:
Originally Posted by Seta00 View Post
lol fysiks get a real browser
I have both FF (3.6 and 4Beta7) and Chrome but there are things that I don't like about them. Please don't reply here about this comment .
__________________
fysiks is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 12-18-2010 , 18:01   Re: GeSHi Pawn highlighter
Reply With Quote #18

A little bit of trivia for y'all... The [pawn ] tags on this site use GeSHi to colorize the code. At least they used to. Am guessing they still do. Might be used with any other tags that colorize the code as well.

Code:
public plugin_init() {     // build version information     new jnk[1], version[8], rev[8];     parse(PLUGIN_VERSION, version, sizeof(version)-1, jnk, sizeof(jnk)-1, rev, sizeof(rev)-1, jnk, sizeof(jnk)-1);     new pluginVersion[16];     formatex(pluginVersion, sizeof(pluginVersion)-1, "%s.%s", version, rev);     register_plugin("Galileo", pluginVersion, "Brad Jones");         register_cvar("gal_version", pluginVersion, FCVAR_SERVER|FCVAR_SPONLY);     set_cvar_string("gal_version", pluginVersion);         register_cvar("gal_server_starting", "1", FCVAR_SPONLY);     cvar_emptyCycle = register_cvar("gal_in_empty_cycle", "0", FCVAR_SPONLY);     register_cvar("gal_debug", "0");     register_dictionary("common.txt");     register_dictionary("nextmap.txt");
__________________
Brad is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-18-2010 , 18:14   Re: GeSHi Pawn highlighter
Reply With Quote #19

Quote:
Originally Posted by Brad View Post
A little bit of trivia for y'all... The [pawn ] tags on this site use GeSHi to colorize the code. At least they used to. Am guessing they still do. Might be used with any other tags that colorize the code as well.

Code:
public plugin_init() {     // build version information     new jnk[1], version[8], rev[8];     parse(PLUGIN_VERSION, version, sizeof(version)-1, jnk, sizeof(jnk)-1, rev, sizeof(rev)-1, jnk, sizeof(jnk)-1);     new pluginVersion[16];     formatex(pluginVersion, sizeof(pluginVersion)-1, "%s.%s", version, rev);     register_plugin("Galileo", pluginVersion, "Brad Jones");         register_cvar("gal_version", pluginVersion, FCVAR_SERVER|FCVAR_SPONLY);     set_cvar_string("gal_version", pluginVersion);         register_cvar("gal_server_starting", "1", FCVAR_SPONLY);     cvar_emptyCycle = register_cvar("gal_in_empty_cycle", "0", FCVAR_SPONLY);     register_cvar("gal_debug", "0");     register_dictionary("common.txt");     register_dictionary("nextmap.txt");
Unfortunately, it doesn't have all the keywords. E.g. formatex().
__________________
fysiks is offline
a.aqua
Senior Member
Join Date: Jul 2009
Location: Russia
Old 12-19-2010 , 00:40   Re: GeSHi Pawn highlighter
Reply With Quote #20

Quote:
Originally Posted by fysiks View Post
You will need to explain more because I don't know what exactly you are talking about. Which one is which?
When i post reply in thread, Google Chrome say me:


Next i reload page (F5) and see — my code (using your highlight) not displayed
__________________
a.aqua is offline
Send a message via ICQ to a.aqua
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 08:02.


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