Hi, i'm evaluating the syntax editor because it looks great. I've looked through the samples and it certainly is powerful, much better than other editors i've worked with.
So now it's time for start building some stuff. The documentation is very overwhelming and a little intimidating. I know how to load a XML file into the editor and get it to highlight stuff, i just need a few questions answering before i begin.
Here is the specification for the language i'm creating...
* C-style language.
* Can not be merged with other languages.
* Requires intelliprompt support, that shows function parameters, descriptions etc.
* Would be great if it can show tooltips when hovering over keywords.
* Requires snippet support.
* Outlinging would be handy.
* Allows the end-user to add their own keywords.
Another thing that i want to have in my language is that it can show intelliprompt for a custom class. So if i have a class called "Car" if i do something like...
Car hi = new Car()
... Then when i type "hi." it will show properties like "colour","model","price" in the intelliprompt. I don't need it to be dynamic and search for the properties because the classes i will be using will have fixed properties.
Finally, i read in the documentation that you can define the language using an XML file or you can construct it programatically. I'm unsure how to do it programmatically, do you just create a class and derive from "DynamicSyntaxLanguage"? I havent found an exact example of this yet.
I don't really want an external XML file, because it can be changed outside my application, or maybe i can embed it into my application?
So do you think my proposed language is feasible?
I will dig a little deeper into the documentation, but like i said it is a bit confusing to see how something is done exactly.
Thanks for your time.
So now it's time for start building some stuff. The documentation is very overwhelming and a little intimidating. I know how to load a XML file into the editor and get it to highlight stuff, i just need a few questions answering before i begin.
Here is the specification for the language i'm creating...
* C-style language.
* Can not be merged with other languages.
* Requires intelliprompt support, that shows function parameters, descriptions etc.
* Would be great if it can show tooltips when hovering over keywords.
* Requires snippet support.
* Outlinging would be handy.
* Allows the end-user to add their own keywords.
Another thing that i want to have in my language is that it can show intelliprompt for a custom class. So if i have a class called "Car" if i do something like...
Car hi = new Car()
... Then when i type "hi." it will show properties like "colour","model","price" in the intelliprompt. I don't need it to be dynamic and search for the properties because the classes i will be using will have fixed properties.
Finally, i read in the documentation that you can define the language using an XML file or you can construct it programatically. I'm unsure how to do it programmatically, do you just create a class and derive from "DynamicSyntaxLanguage"? I havent found an exact example of this yet.
I don't really want an external XML file, because it can be changed outside my application, or maybe i can embed it into my application?
So do you think my proposed language is feasible?
I will dig a little deeper into the documentation, but like i said it is a bit confusing to see how something is done exactly.
Thanks for your time.