GeSHi Syntax Highlighter UPDATE

Community News/Announcements
Post Reply
User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

GeSHi Syntax Highlighter UPDATE

#1

Post by Raheem » 5 years ago

Hello,

We have make some good changes for codebox syntax highlighter. Changes done:
  • Added Zombie Escape Mod forwards, natives, constants to the amxx syntax file.
  • Added most of ReAPI natives, constants. Not added all as there is much.
  • Made the default case the codebox expanded not closed. You still can expand/collapse it.
  • Make the header of codebox fixed when you are scrolling.
Some tests:
    1. // Precompile and Control
    2. #include <zombie_escape>
    3. default
    4. case
    5. #if
    6. #pragma
    7.  
    8. // Constants
    9. ADMIN_CHAT
    10. Ham_TakeDamage
    11. ZE_TEAM_ZOMBIE
    12. ZE_ITEM_DONT_SHOW
    13. VIP_A
    14. HC_SUPERCEDE
    15. RG_CBasePlayer_Spawn
    16. m_nMaxPlayers
    17. TEAM_CT
    18.  
    19. // Forwards
    20. plugin_init()
    21. plugin_end()
    22. ze_zombie_appear()
    23. ze_roundend()
    24.  
    25. // Functions
    26. cs_set_user_deaths()
    27. register_event()
    28. ze_is_user_zombie()
    29. ze_add_text_to_item()
    30. RegisterHookChain()
    31. rg_give_item()
    32. rg_round_respawn()
    33.  
    34. // Some tags
    35. Float
    36. HookChain
    37. Array
    38. public
    39. stock
    40.  
    41. // Symbols
    42. ++
    43. --
    44. !
    45. &&
    46.  
    47. // Numbers
    48. 1
    49. 2
    50. 3
    51. 4
    52.  
    53. // Escape sequence
    54. ^n
    55. ^t
Hope you like this :)
He who fails to plan is planning to fail

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 2 guests