This user defined language thing seems a very nice feature. But... I see folder open keywords always have to be paired by a folder close keyword. I guess it's not possible to create a language specification that would allow folding for .ini files in which sections have no other recognizable end than a separating empty line or more securely the start (open keyword) of a new section.
Don, can you think of any way this could be allowed and implemented?
I am not sure if it would be possible to enter regular expressions as keywords etc. I would love the ability to show any property (before the = character) in, say, italic, and any value (after the = character) in a particular color, or specific properties and values in a specific mark up.
Don, can you at least picture what I'm thinking of?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You may have understood this already, but I would like the blank separtor line _not_ to be part of the group(s). It is a _separator_ itself, not the last line of the group(s) it "has ended". The last line of a subgroup thus would also be the last line of its parent group(s), instead of ending lines currently always belonging to one single group.
I would also expect this for .ini (and .reg) files: the blank separator line should not be included with the group and thus not folded. But I guess this isn't possible in the current UDL implementation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just noticed the MS INI mark up language. It contains a simple "close group on new open keyword" mechanism. How is this done? Where can I find the complete specification (keywords, operators etc.) of the NP++ included languages?
I see MS INI is also used for .reg files. Would it in any way be possible to create sub-folding for those? Any key now has its own separate folding. It would be very nice if subkeys could be folded within their parent keys. Do(n) you think this is possible?
I understand this may be tricky because the sub-folding key has to be matched to the parent key.
I wonder if it could be possible to have some kind of normal structure, like .ini files, with sub-folders. For example, a sub-folder is started within a folder, if it is not separated by a blank line, otherwise it would be a new root folder. It would be marvelous if all sub-folders including the parent folder could be closed by one and the same single blank line. I have some kind of a language that has only opening keywords, ending a certain level of sub-folders by only one single blank line.
I would also be very welcome if keywords could be specifically paired, so an incorrect "endif" wouldn't close any other keyword like "begin". Since it is possible to enter multiple lines in the UDL window, perhaps this could be used to accomplish this somehow.
Is it possible to include spaces in keywords?
How is the keywords precedence order specified? I have some language keywords are extensions of folder keywords. I can't use the prefix option, because those folder keywords will always be shown as language keywords, not allowing folding of the actual group...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why isn't it possible to create/have/add custom operator symbols?
I would like to use the × (x symbol, not the character x itself) as a separator. How can I manage to do so?
How are numbers defined? Is this customizable? I would like certain strings of numbers (fixed length) to be shown in their own mark up.
I would also like numbers that are part of some textual description, to be shown in a custom mark up. These descriptions are always between operators (matching or single). How can I realize this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This user defined language thing seems a very nice feature. But... I see folder open keywords always have to be paired by a folder close keyword. I guess it's not possible to create a language specification that would allow folding for .ini files in which sections have no other recognizable end than a separating empty line or more securely the start (open keyword) of a new section.
Don, can you think of any way this could be allowed and implemented?
I am not sure if it would be possible to enter regular expressions as keywords etc. I would love the ability to show any property (before the = character) in, say, italic, and any value (after the = character) in a particular color, or specific properties and values in a specific mark up.
Don, can you at least picture what I'm thinking of?
Good questions, I would like to see these features too.
In Asymptote "--" or ".." are operators, but I found no way to tell NP++ how to colorize them.
You may have understood this already, but I would like the blank separtor line _not_ to be part of the group(s). It is a _separator_ itself, not the last line of the group(s) it "has ended". The last line of a subgroup thus would also be the last line of its parent group(s), instead of ending lines currently always belonging to one single group.
I would also expect this for .ini (and .reg) files: the blank separator line should not be included with the group and thus not folded. But I guess this isn't possible in the current UDL implementation.
I just noticed the MS INI mark up language. It contains a simple "close group on new open keyword" mechanism. How is this done? Where can I find the complete specification (keywords, operators etc.) of the NP++ included languages?
I see MS INI is also used for .reg files. Would it in any way be possible to create sub-folding for those? Any key now has its own separate folding. It would be very nice if subkeys could be folded within their parent keys. Do(n) you think this is possible?
I understand this may be tricky because the sub-folding key has to be matched to the parent key.
I wonder if it could be possible to have some kind of normal structure, like .ini files, with sub-folders. For example, a sub-folder is started within a folder, if it is not separated by a blank line, otherwise it would be a new root folder. It would be marvelous if all sub-folders including the parent folder could be closed by one and the same single blank line. I have some kind of a language that has only opening keywords, ending a certain level of sub-folders by only one single blank line.
I would also be very welcome if keywords could be specifically paired, so an incorrect "endif" wouldn't close any other keyword like "begin". Since it is possible to enter multiple lines in the UDL window, perhaps this could be used to accomplish this somehow.
Is it possible to include spaces in keywords?
How is the keywords precedence order specified? I have some language keywords are extensions of folder keywords. I can't use the prefix option, because those folder keywords will always be shown as language keywords, not allowing folding of the actual group...
Why isn't it possible to create/have/add custom operator symbols?
I would like to use the × (x symbol, not the character x itself) as a separator. How can I manage to do so?
How are numbers defined? Is this customizable? I would like certain strings of numbers (fixed length) to be shown in their own mark up.
I would also like numbers that are part of some textual description, to be shown in a custom mark up. These descriptions are always between operators (matching or single). How can I realize this?