Products Syntax Highlighters

Latest Releases

Tera Term4.84
LogMeTT2.10.2
Macro Wizard1.1
TTLEditor1.5
PCC1.3
RegReloc1.0.1

Support This Site

LogMeTT on Twitter

LogMeTT on Twitter

Support Forum Stats

Total Topics1978
Total Posts7078
Question Backlog219
Registered Users1271

Sponsored Links

Syntax Highlighter Icon Syntax Highlighters

Syntax Highlighters available from this web site were developed for Tera Term Macro language. We created two types of highlighters:

Syntax Highlighter with Syntax Completion Proposal

LogMeTT and TTLEditor have built-in Syntax Highlighter and Syntax Completion Proposal functionality. To avoid recompiling LogMeTT and TTLEditor binaries every time new commands are added to Tera Term Macro language, LogMeTT Syntax Highlightersyntax specific information is kept separate from the source code of these applications and stored in plain text files KeyFile.ini and SynComp.pro. Both these files are included into LogMeTT installation package and reside in Tera Term installation directory if user chose to install LogMeTT. KeyFile.ini and SynComp.pro should be overwritten when newer version of the files becomes available.

File KeyFile.ini contains syntax highlighting information and help-ids for each highlighted keyword. Help-ids are utilized by Context Sensitive help function of LogMeTT and TTLEditor that is called after pressing <Ctrl-F1>.

File SynComp.pro contains all notations for each Macro commands. In LogMeTT or TTLEditor macro editor user can press <Ctrl-Space> and get access to the list of possible completions for current macro command.

Tera Term project team does not maintain syntax highlighter files and each release of Tera Term that contains new Macro commands comes with out of dated KeyFile.ini and SynComp.pro files. As the result, newly added commands are neither highlighted, nor shown in syntax completion proposal lists. When this happens user can check Download section of our web site for the latest versions of the files.

KeyFile.ini and SynComp.pro are distributed as the part of highlighter-abc.zip file, where abc represents Tera Term version number supported by the files.


Tera Term Macro Language file for Generic Syntax Highlighter (GeSHi)

GeSHi started as an idea to create a generic syntax highlighter for the phpBB forum system, but later was generalized into the separate project. GeSHi Syntax Highlighter for Tera Term Macro LanguageGeSHi aims to be a simple but powerful highlighting class, with the following goals:

  • Support for a wide range of popular languages
  • Easy to add a new language for highlighting
  • Highly customizable output formats

GeSHi is written on PHP and already supports huge number of different programming languages. We developed ttl.php file to add Tera Term Macro language highlighting to GeSHi. We also integrated GeSHi with Tera Term support forums and now any part of the post containing macro script, when surrounded with [code=ttl] and [/code] tags, appears highlighted. This change is not retroactive, which means earlier posts, unless re-submitted, will remain colorless.

We'll maintain ttl.php file to keep it up to date. In addition, we will update GeSHi project team with the latest versions of ttl.php file that became part of GeSHi installation package. The latest ttl.php file is available from our Download section.

To learn more about Generic Syntax Highlighter project please visit GeShi home page at http://qbnz.com/highlighter/.