Warcraft 3 documentation
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 - WC3 Optimizer documentation

A new TESH Syntax Highlighter for Warcraft 3 No New Posts WC3 Editing Tools

Started by
WC3Mod

0 Members and 1 Guest are viewing this topic.

Rating

Average Score - 5 / 5

« Created: December 07, 2018, 12:11:33 PM by nel »
+ Show previous

A new TESH Syntax Highlighter for Warcraft 3
on: March 28, 2017, 10:53:33 PM
Version: 0.95
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 resource
« Created: March 28, 2017, 10:53:34 PM by moyack »
« Last Edit: January 18, 2022, 08:22:34 PM by moyack »
This resource / topic is compatible for Warcraft 3 Reforged

    TESH 2.0 - A new Trigger Editor Script Highlighter for Warcraft 3
    by looking_for_help


    1. Introduction

    Historical Notes
    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.
    • Make sure the path in the world_editor_exe_path.ini file is the correct path to the Reforged World Editor.exe.
      The default path after a standard installation, C:\Program Files\Warcraft III\_retail_\x86_64\World Editor.exe, is already defined there,
      so usually you can skip this step.
    • If necessary, create an exception in your antivirus for the WorldEditorTESH.exe.


    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 History
    [/list]
    « Last Edit: January 18, 2022, 08:22:34 PM by moyack »



    Re: A new TESH Syntax Highlighter for Warcraft 3
    Reply #1 on: December 07, 2018, 12:13:39 PM

    I didn't know that tesh has a latest version. Finally, I can customize my own desire color :D.



    Re: A new TESH Syntax Highlighter for Warcraft 3
    Reply #2 on: December 07, 2018, 04:18:20 PM

    I didn't know that tesh has a latest version. Finally, I can customize my own desire color :D.
    Yes, that's a nice feature, the real one, taht makes me still working in 1.27 with JNGP


     

    * Random Tools

    PJass updates

    Views: 3682
    Replies: 2
    Posted by LeP
    December 05, 2014, 02:27:07 PM

    Oinkerwinkle's Animation Transferer

    Views: 1810
    Replies: 0
    Posted by Oinkerwinkle
    January 07, 2012, 12:53:18 AM

    MDLVis

    Views: 21837
    Replies: 4
    Posted by WC3Mod
    February 19, 2011, 10:41:41 PM

    The Jass NewGen Pack (JNGP) 2.0

    Views: 315426
    Replies: 225
    Posted by moyack
    February 19, 2011, 10:16:14 PM

    NeoDex 2.7

    Views: 5523
    Replies: 0
    Posted by BlinkBoy
    November 20, 2010, 09:02:36 PM

    Started by Purgeandfire

    Replies: 0
    Views: 2566
    Tutorial Zone

    Started by moyack

    Replies: 1
    Views: 3090
    Site Discussion

    Started by olofmoleman

    Replies: 0
    Views: 1385
    Warcraft III Models

    Started by REDSEW

    Replies: 2
    Views: 17913
    Site Discussion

    Started by olofmoleman

    Replies: 0
    Views: 1907
    Warcraft III Models
    Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...