Modelworks Software Logo


JavaScript Editor

Home

Products

Product
Comparisons


Features

Screen Shots

Downloads

Updates

Free Licenses

Support

FAQ

Editors
   Java
   HTML
   Perl
   JSP
   JavaScript
   PHP
   VBScript
   Velocity
   XML


Both JPad Pro and SitePad Pro support editing JavaScript. The built-in JavaScript support includes editing, smart indent, and syntax coloring for the *.js and *.script file types. Additional JavaScript file types can easily be added. JavaScript editing is also support in <script> type tags in both HTML and XML file types.

If you need to log results in JavaScript embedded in an HTML based file use the following to get an Output object:

var gHost = window.exeternal.Host;
var gOutput = gHost.getOutput();
// Write data to the Results tab in the IDE
gOutput.writeLine(data);

Note that the above code will only work in the preview pane in SitePad Pro. It will not work in a standalone browser.

To run JavaScript within the IDE just copy the code to a script file and then add a function DoCommand(). The DoCommand function will be called when you run the script.

Editing JavaScript with SitePad Pro

Editing JavaScript with SitePad Pro

Other features include custom menus, custom toolbars, smart keys (key patterns that invoke a script), multifile find and replace, spell checker, project, split windows, code folding (outlining), background colors, a movable menu bar, movable tool bars, movable workspace panel, movable output panel, optional MDI editor tabs, output panel tabs, support for html based modeless dialogs. Built-in toolbars include a Finder toolbar, command toolbars, source control toolbar, and a document set toolbar. Support is also included for multiple source control systems.

In addition to JavaScript, other file types supported by SitePad Pro and JPad Pro include java, c/c++, php, xml, perl, vbscript, and html. Custom file types with syntax coloring can be easily added. SitePad Pro also includes basic .NET support for C# including an editor, code folding, and smart complete for the core .NET classes.

 
Copyright 1996-2008  |  About Us  |  Contact Us  |  Privacy Statement  |  Affiliates