Excel functions editor

SyntaxEditor for Windows Forms Forum

Posted 5 years ago by jcmag
Version: 14.1.0321
Avatar

Hi,

I'm new to Actipro SyntaxEditor; I need to develop an Excel-like app, with an editor that displays Excel functions in color, and with intellisense (for macros, and named cells defined in the Excel file).

Where should I start? Should I define my own xml language file? (one drawback I see now is that the list of macros and named cells is dynamic; each Excel file will have a different list. So, should I create the xml language file dynamically?)

Thanks in advance

Comments (1)

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello, yes you could make a core XML definition that has all the keywords, etc. that will be constant.  Then maybe have an empty lexical pattern group that you will intend on dynamically modifying at run-time.

For each document, you'd load up a new instance of your language definition and update the lexical pattern group as appropriate.  Then that would get you customized document-specific syntax highlighting.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.