Case conversion on language keywords.
Submitted by Wednesday, 4 February, 2004 - 18:27
on
jEdit is being used at my company for editing source code written in our proprietary language. We have already defined a new language mode and registered it in the catalog. Syntax highlighting for our language works perfectly at this point.
My company's language's keywords are all in upper case, while variable, function and other identifiers are all in lower case, and this rules are enforced by our compiler. When writing code, it is actually a pain to use the CAPS LOCK key constantly to switch between lower and upper case, so we are wondering whether jEdit can do upper case conversion automatically on keywords just as it highlights them (that way we could take advantage of the rules we specified in our custom mode for this purpose and we would not need any additional programming). The DOS-based editor we used previously had this capability.
Is this feature already included in jEdit? We have not been able to find it in the user's guide. We are using jEdit 4.2-pre8. Should I post this as a Feature Request?
I believe this feature would be useful for people working in other languages as well; for example, I think SQL programmers will like it (yes, I have already checked out the tsql mode for guidance, but I could not find anything regarding this matter -- it ignores the case when highlighting and does not do case conversion).
Thank you.
My company's language's keywords are all in upper case, while variable, function and other identifiers are all in lower case, and this rules are enforced by our compiler. When writing code, it is actually a pain to use the CAPS LOCK key constantly to switch between lower and upper case, so we are wondering whether jEdit can do upper case conversion automatically on keywords just as it highlights them (that way we could take advantage of the rules we specified in our custom mode for this purpose and we would not need any additional programming). The DOS-based editor we used previously had this capability.
Is this feature already included in jEdit? We have not been able to find it in the user's guide. We are using jEdit 4.2-pre8. Should I post this as a Feature Request?
I believe this feature would be useful for people working in other languages as well; for example, I think SQL programmers will like it (yes, I have already checked out the tsql mode for guidance, but I could not find anything regarding this matter -- it ignores the case when highlighting and does not do case conversion).
Thank you.