This is an old revision of the document!


Service Scripts

Service scripts (or Script Plugins) is a rich kind of scripts, that are very close in possibilities to binary plugins and allows you to create extensions for HippoEDIT that seamlessly integrating in its UI giving same feeling as native built-in functionality.

Set syntax dynamically for new files (normally this is done with Tools→Options→Syntax Settings→Syntax→Miscellaneous→File Pattern)

on-new-document.hejs
onNewDocument = function() {
  this.Syntax = Settings.GetSyntax("xml");
};