Am I correctly concluding that the predefined languages are hardcoded into N++?
It would explain why they appear to have so much more functions we can't so in user-defined functions, and it would also explain why I can't find any file with their definitions.
What I was trying to do is add support for a templating language for a Templating Engine that I'm still developing. It would be a language based on HTML, much like PHP is (if you're just looking to the syntax, which only matters here, otherwise PHP would be infinitely more powerful. But I can't seem to do this, the difference in the systems made me think they are hardcoded. Of course there might be another reason tehy are more powerful, but I wouldn't know what that other reason would be.
Jasper
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
COrrect, the predefined languages are baked in. So is the User defined language actually, but you can define 'copies' of it and adjust certain parsing rules.
In C++ for example, { and } and hardcoded for folding but the user define language lets you define your own string.
Since recently you can make your own plugin that has its own language rrules in it which can do as much as the predefined languages. Look in the Plugins forum to find details how to do this (someone explained it)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Am I correctly concluding that the predefined languages are hardcoded into N++?
It would explain why they appear to have so much more functions we can't so in user-defined functions, and it would also explain why I can't find any file with their definitions.
What I was trying to do is add support for a templating language for a Templating Engine that I'm still developing. It would be a language based on HTML, much like PHP is (if you're just looking to the syntax, which only matters here, otherwise PHP would be infinitely more powerful. But I can't seem to do this, the difference in the systems made me think they are hardcoded. Of course there might be another reason tehy are more powerful, but I wouldn't know what that other reason would be.
Jasper
COrrect, the predefined languages are baked in. So is the User defined language actually, but you can define 'copies' of it and adjust certain parsing rules.
In C++ for example, { and } and hardcoded for folding but the user define language lets you define your own string.
Since recently you can make your own plugin that has its own language rrules in it which can do as much as the predefined languages. Look in the Plugins forum to find details how to do this (someone explained it)