Changeset 107 for trunk/Forms


Ignore:
Timestamp:
May 6, 2019, 1:40:27 PM (6 years ago)
Author:
chronos
Message:
  • Added: Javascript target.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormTargetCode.pas

    r106 r107  
    88  Classes, SysUtils, FileUtil, SynEdit, SynHighlighterAny, SynHighlighterPas,
    99  SynHighlighterCpp, SynHighlighterPHP, SynHighlighterJava,
    10   SynHighlighterPython, Forms, Controls, Graphics, Dialogs, StdCtrls, Menus,
    11   ActnList, strutils;
     10  SynHighlighterPython, SynHighlighterJScript, Forms, Controls, Graphics,
     11  Dialogs, StdCtrls, Menus, ActnList, strutils;
    1212
    1313type
     
    9494  else if SourceExt = '.php' then SynEditTarget.Highlighter := TSynPhpSyn.Create(nil)
    9595  else if SourceExt = '.java' then SynEditTarget.Highlighter := TSynJavaSyn.Create(nil)
    96   else if SourceExt = '.py' then SynEditTarget.Highlighter := TSynPythonSyn.Create(nil);
     96  else if SourceExt = '.py' then SynEditTarget.Highlighter := TSynPythonSyn.Create(nil)
     97  else if SourceExt = '.js' then SynEditTarget.Highlighter := TSynJScriptSyn.Create(nil);
    9798end;
    9899
Note: See TracChangeset for help on using the changeset viewer.