3063 Posts in 559 Topics - by 2206 Members - Latest Member: Cozad

Warcraft III: MapsModelsSkinsIconsSpellsToolsTutorials
WC3 JASS: Code SnippetsJASS and vJASS Spells and SystemsJass Tutorials
Chat @Discord

vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation - Zinc documentation

* Random WC3 Tools


Views: 2997
Replies: 2
Posted by Ruke
June 02, 2016, 11:00:57 PM

SharpCraft, a managed replacement for Reinventing the Craft

Views: 3467
Replies: 0
Posted by BlizzMod
May 17, 2016, 10:20:13 PM

Wc3 Universal Calculator 5.3

Views: 10552
Replies: 7
Posted by D.O.G.
November 18, 2012, 05:42:05 AM

Gmax 1.2

Views: 8503
Replies: 5
Posted by BlizzMod
April 27, 2012, 07:49:05 AM

The Jass NewGen Pack (JNGP) 2.0

Views: 207059
Replies: 215
Posted by moyack
February 19, 2011, 10:16:14 PM

Author Topic: A new TESH Syntax Highlighter for Warcraft 3  (Read 919 times)

Average Score
« Created: April 25, 2017, 09:02:19 AM by AGD »
+ Show previous

  • Recognized User
  • Newbie - level 4
  • *****
  • Posts: 33
  • WC3 Models: 11
  • WC3 Tutorials: 0
  • WC3 Tools: 0
  • WC3 Maps: 0
  • WC3 Skins: 0
  • WC3 Icons: 0
  • WC3 Spells: 0
  • Reputation: 0
  • User
    • View Profile
A new TESH Syntax Highlighter for Warcraft 3
« on: March 28, 2017, 10:53:33 PM »
Version: 0.9
Keywords: tesh, new, syntax, highlighting, vJASS, JASS
Operating System (OS):
  • Windows XP
  • Windows Vista
  • Windows 7
  • Windows 8
  • Windows 10
Tool Category: Text Editor & Highlighter
Rating: 5
Warcraft III tool
« Created: March 28, 2017, 10:53:34 PM by moyack »
« Last Edit: March 30, 2017, 08:44:41 AM by moyack »
    TESH 2.0 - A new Trigger Editor Script Highlighter for Warcraft 3
    by looking_for_help

    1. Introduction

    It's been a long time since the first Trigger Editor Script Highlighter (TESH) was released by SFilip in 2007. His outstanding work was improved several times by others like Zoxc, Van Damm and Artificial, as well as by the developers of the Horus extension. The TESH adds some very nice Syntax Highlighting and Code-Completion functionality to the Warcraft 3 Editor and made coding in JASS and vJASS much more comfortable and nicer. However, after many years of extensive use, there are still some problems or things that could be solved nicer in order to make vJASS coding even more comfortable. As the original TESH is written in Delphi which is not free anymore and the source code is hardly commented at all, it was not possbile to build up such an extension on the original TESH source. For this reason, and because some of the features I had in mind required a modification of the Scintilla Source-Code itself, I decided to rewrite everything in C++ and restart with it completely from the scratch.

    2. Installation and Requirements

    To install the new TESH to your Warcrat 3 Trigger Editor, just download the attached zip-file, unzip it and put the folder in your jassnewgenpack5d installation folder:

    • Download the attached zip-file.
    • Unzip it using 7zip for example.
    • Place it in your jassnewgenpack5d folder replacing the former one
    • Make sure you don't use any other version of the SciLexer.dll and Hook.dll than delivered with this package, otherwise you will get an error message.

    3. New Functionality

    There is tons of new functionality, both compared to the first TESH and to the older versions of TESH 2.0 (before version 0.9).

    Many of the features are already listed in the Version 0.9 changelog. To list some here:

    • Fixed the input latency bug in the World Editor
    • Fixed the trigger corruption bug.
    • Added options dialog to allow user customization of styles and general options
    • Almost double styles configurable compared to the old TESH
    • Various options allow you to configure autocomplete behavior as well
    • Different general options allow you for example to enable/disable warnings, use reduced folding or enable/disable auto-braces, vertical line, line numbers and many more
    • Autocomplete window can now be configured to dynamically grow/shrink while typing and only listing matching items
    • Escape characters are now highlighted within strings
    • Int, Hex and Float numbers can now be styled differently
    • Nested block-comments are now highlighted correctly depending on their nesting level
    • Nesting levels can have a different style as well in block-comments (up to a nest level of 2)
    • URL hyperlinks in strings and comments are now highlighted and are CTRL-Click sensitive
    • Braces have now a primary and a secondary style for highlighting matches
    • User includes (functions) can be added to the highlighter by customized text files (like in the old TESH)
    • User includes can be reloaded and removed without the need to restart the editor
    • Function list also adds user includes
    • Function list now distinguishes between (normal) constants and events
    • Trigger templates can now be configured (both the button and the menu entries)
    • Users can build their own structure for trigger templates which is updated on the fly in the TESH menu
    • Keywords (normal, string and character keywords) are now stored in a SQLite database and can therefore also be modified from outside (including calltips and function list descriptions)
    • Search string for Trigger Editor window can now be configured by the .ini file "trigger_editor_name.ini"
    • New about dialog with more than 40 did-you-know messages
    • Improved performance
    • Fixed various bugs

    And attached some screenshots:

    Or some customized dark styling (just one example):

    4. Version History

    Attached is the version history of the TESH documented with links to the corresponding update which contain further information.

    Version Histroy
    « Last Edit: March 30, 2017, 08:44:41 AM by moyack »


    The Jass NewGen Pack (JNGP) 2.0 vs Warcraft III's patch 1.27a

    Started by ApelliBoard General Help and WC3 Discussion

    Replies: 9
    Views: 5555
    Last post March 21, 2016, 06:32:55 AM
    by LembidiZ
    Warcraft the movie First Official trailer launch today!!!

    Started by moyackBoard Site News & Updates

    Replies: 6
    Views: 15297
    Last post March 20, 2016, 06:07:15 PM
    by moyack
    Warcraft III Big News - Patch 1.25b Now Live

    Started by moyackBoard Warcraft III News

    Replies: 0
    Views: 4147
    Last post March 11, 2011, 06:42:43 AM
    by moyack
    Warcraft III Resource Submission Rules

    Started by moyackBoard Warcraft III Resources

    Replies: 0
    Views: 4167
    Last post May 14, 2013, 08:39:53 AM
    by moyack
    Warcraft III patch 1.25b is now live!

    Started by moyackBoard Warcraft III News

    Replies: 0
    Views: 3890
    Last post March 26, 2011, 05:59:55 AM
    by moyack
    Blizzard Modding Information Center Starcraft II Modding Information Center Wacraft III Modding Information Center WC3JASS.com - The JASS Vault Chronicles of Darkness - A Warcraft III mod Jetcraft - A Starcraft II mod Troll Smash - A Warcraft III Arena
      Mod DB - Change the Game Power of Corruption - A Warcraft III altered melee map Chaos Realm - The world of Game modders and wc3 addicts Follow us on Facebook!!