Hello team,
I am using SyntaxEditor (for WinForms) and I am coding a simple language that ressembles BASIC, so I have already defined the color coding using a Grammar XML definition (GDX) file and it worked perfectly. But now I am faced with other concerns since my ultimate goal is to make this language much more andvanced and I need to prepare an evaluation on how to approach each of the following elements using ActiPro, so I was wondering if you could guide me a little on how to do the following things and/or maybe point me to code snippets?:
Q1:
Auto completion (IntelliPrompt for variable, code, fct, parameters) -> User shall be able to enter a variable name, function name by directly typing the name of the elements. While typing, user shall be presented the list of available element that started with letter typed.
Q2:
How to incorporate span indicator inside my present design have an automatic parsing feature that changes the style in real time for the following:
* How to show Compiler error in real time as user types and after compilation is done.
* Grammar error - draws a green wave line under text
* Highlighting style - how and when to use the highlighting style object?
* Spelling error - draws a blue wave line under text
* Syntax error - draws a red wave line under the error
How to approach teh following span indicators?
* How to implement Breakpoint
* Current statement - this is for step by step debug with the yellow arrow.
Also, I would like to know how can these styles be customized so that the user can change them whenever he/she wants (ex: from the options menu)?
Q3:
My application requires that we lock certain declared variables. SO I was wondering if it was possible in ActiPro to add little pictures (ex. a little lock) right next to the variable name in the text editor?
This would be triggered by a menustrip item when right clicking on the variable.
Q4:
How do i include intellisens in my code? Is there an easy way to do so? And if so, do you have specfic code examples?
Q5.
I was wondering, would the .NET language add-on help increase the rapidity of developement for what I wish to achieve? If so, could it be used in parallel with the GXD-Grammar XML Definition file or would that completely change all the developement i've done so far?
I know this is asking you a lot and if you could help me with all the above question I would greatly appreaciated it.
Regards
NF
I am using SyntaxEditor (for WinForms) and I am coding a simple language that ressembles BASIC, so I have already defined the color coding using a Grammar XML definition (GDX) file and it worked perfectly. But now I am faced with other concerns since my ultimate goal is to make this language much more andvanced and I need to prepare an evaluation on how to approach each of the following elements using ActiPro, so I was wondering if you could guide me a little on how to do the following things and/or maybe point me to code snippets?:
Q1:
Auto completion (IntelliPrompt for variable, code, fct, parameters) -> User shall be able to enter a variable name, function name by directly typing the name of the elements. While typing, user shall be presented the list of available element that started with letter typed.
Q2:
How to incorporate span indicator inside my present design have an automatic parsing feature that changes the style in real time for the following:
* How to show Compiler error in real time as user types and after compilation is done.
* Grammar error - draws a green wave line under text
* Highlighting style - how and when to use the highlighting style object?
* Spelling error - draws a blue wave line under text
* Syntax error - draws a red wave line under the error
How to approach teh following span indicators?
* How to implement Breakpoint
* Current statement - this is for step by step debug with the yellow arrow.
Also, I would like to know how can these styles be customized so that the user can change them whenever he/she wants (ex: from the options menu)?
Q3:
My application requires that we lock certain declared variables. SO I was wondering if it was possible in ActiPro to add little pictures (ex. a little lock) right next to the variable name in the text editor?
This would be triggered by a menustrip item when right clicking on the variable.
Q4:
How do i include intellisens in my code? Is there an easy way to do so? And if so, do you have specfic code examples?
Q5.
I was wondering, would the .NET language add-on help increase the rapidity of developement for what I wish to achieve? If so, could it be used in parallel with the GXD-Grammar XML Definition file or would that completely change all the developement i've done so far?
I know this is asking you a lot and if you could help me with all the above question I would greatly appreaciated it.
Regards
NF