Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Syntax Highlighting for MATRIXx - Setup files for Crimson Editor

0 ratings | 0.00 out of 5
Print

Downloads

Filename: matrixxcrimson.zip
Requirements: View

The Application Note linked in the related links section describes the general concepts of implementing syntax highlighting for MATRIXx. Attached are files showing an example of the implementation in a specific editor. Crimson Editor is a freeware editor with syntax highlighting available at http://www.crimsoneditor.com.

Three types of files are included in the ZIP file.
*.key: contains the keywords for MathScript and Template Programming Language (TPL).
*.spc: contains the language rules for MathScript and TPL.
extension.*: provides the association between an extension and the corresponding keyword and language rule file.

It is not possible to fully implement all the aspects of MATRIXx MathScripts and TPL in Crimson. For MathScripts Crimson does not properly recognize the use of " as an escape character in a string. For TPL the TPL statements are not recognized. The TPL keywords and functions are highlighted wether they occur in a TPL statement or in plain text portion of the code. In general this is not a problem because TPL statements mostly contain keywords and functions and these same keywords and functions are rarely found outside TPL statements.

Related Links:
Application Note: Syntax Highlighting for MATRIXx
External Link: Crimson Editor

Requirements


Filename: matrixxcrimson.zip

Software Requirements


Application Software: MATRIXx Development System 6.3
Language(s): None

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).