Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Syntax Edit
  New Posts New Posts RSS Feed - Creating Highly Customized Syntax Highlighting
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Creating Highly Customized Syntax Highlighting

 Post Reply Post Reply
Author
Message
jhunt View Drop Down
Newbie
Newbie


Joined: 08 November 2011
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote jhunt Quote  Post ReplyReply Direct Link To This Post Topic: Creating Highly Customized Syntax Highlighting
    Posted: 08 November 2011 at 8:24am

I have a rather unusual langauge that I would like to have syntax highlighted, and I've tried to find some detailed documentation to determine if the SyntaxExit control could handle it correctly. I can't seem to find any documentation at all about the schclass format however, there seems to be none in the help file.

Is there any documentation for it?
 
Here's a sample of the language. Its a fall-through langauge, so things not in brackets are transmitted to a connected device. Most of the need for syntax highlighing is around detecting errors with parenthesis and brackets. Any thoughts?
 
<Pragma Order>1<EndPragma>
<Pragma Name><Static @R "Display - Click to Update"><@R><EndPragma>
<Pragma Icon><Static @I ""><@I><EndPragma>
<PollEnabled OFF>
<Static @I "">
<Static @R "">
! U1 GETVAR "display.image"<CR><LF>
<Set @I (Collect 1000)>
<Set @I (Mid @I 2)>
! U1 GETVAR "device.unique_id"<CR><LF>
<Set @R (Collect 1000)>
<Set @R (Mid @R 2)>
<Set @R (Mid @R 1 (Sub (Len @R) 1))>
<Set @R (SAdd "Display - " @R " - " (Date) " " (Time))>
<RefreshPragma>
<PollEnabled ON>
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.