I have to create & edit Active Server Pages. Whilst MS VID can be for ASP, VEDIT is used for JSP and PSP versions. However the Colour Syntax Highlighting is a nightmare, because there are three 'types' of data in one file: HTML 'standard' tags, JScript/ECMAscript within <script> tags, and server-side code between '<% %>' tags, which can appear ANYWHERE in the page, even inside quoted strings, HTML tags and JScript code - and any nesting thereof (I can send you a sample if you need one).
Worse still, there doesn't have to be whitespace around these tags, so VEDIT sometimes misses them... (why?)
The server-side code is either Java (JSP), PL_SQL (PSP) or VBscript (ASP) - there may be others I don't know of.
I have created SYN files for JSP and PSP (available if wanted) - they aren't ideal, but sort of work.
I think the IDEAL way to handle this is to regard the server-script escapes (<% %>) as a special case, which causes 'switching' to another syntax file (or section within the same file), but this requires VEDIT to be changed to allow this. Any chance of this being considered? If not, do you know how other users handle this situation?
Otherwise, VEDIT is a great editor, and I use it as the editor of choice.
|
|