Master ASP File Editing with JS Syntax Colorization Features in EmEditor Text Editor
Master ASP File Editing with JS Syntax Colorization Features in EmEditor Text Editor
January 29, 2008 at 3:20 pm #5390
Participant
Ok, I have learned how to do the trick.
It seems like the editor keeps the last assumed scripting language in memory, and rewriting the declaration, and even reopening the file does not help to redraw the colors.
However, if I copy the code, paste it in new document, and save it as ASP file, the editor changes it’s present assumed scripting language.
Here are the steps for repeating the bug:
1. Start new document (A), write the following code:
<\%
‘AAAA’
\%>
2. Start another new document (B)
3. Copy the code from document A to document B.
4. Save the document B as “test.asp”
At this point you should see the ‘AAAA’ in green.
5. Change the scripting language in declaration to JScript in document B. The syntax coloring does not change.
6. Save the document B. The syntax coloring does not change.
7. Close the document B, reopen it from “recently viewed files” list. The syntax coloring does not change.
8. Create new document C, copy the code from document B to document C (it’s not with JScript declaration). Save the document C. The syntax coloring is now updated.
Whenever the editor has assumed the language, if I then open an ASP file, it is displayed with this assumed language coloring, not the one that could be detectable from the file declaration.
Besides that, there are many files that are used as includes in the main file, and those do not have “@” declaration. There should be at least hacky way (ie, keyword in comments) to tell the editor what is the scripting language. Or, the default language could be set up in options somewhere, or the language could be detected with more advanced algorythm.
Also read:
- [Updated] Advanced Users Techniques for Effective MacScreencasting
- [Updated] Why Are My Instagram Photos Flipped? Seeking Answers
- Advanced Document Management Through Native Templating & Highlight Capabilities - Explore EmEditor
- EmEditor Text Editor's Open Documents Addon Flaw: Detected Bug and Potential Impact
- EmEditor Tutorial: Simultaneously Editing Files Across Multiple Windows
- EmEditor v7.00 RC6 Reviewed: No Highlight for Paired Brackets in Quoted Sections (Text Editor)
- HandBrake Unterstützung Für AV1 Codec & Umwandlung Von AV1 Dateien
- How Can Tecno Pova 5Mirror Share to PC? | Dr.fone
- How to Enable Line Commenting Feature Within EmEditor Text Editor
- In 2024, How Can Infinix Zero 5G 2023 TurboMirror Share to PC? | Dr.fone
- New 2024 Approved Compressor for FCPX Best Practices for Exporting and Delivering Videos
- Perfect Every Frame Windows 11 & StoryRemix Combo Guide to Video Editing
- Resolving Constant Crashes: Fixing Persistent Freezing Issues with EmEditor v9.03 on Parallels
- Top 10 Heartening Films for Optimism & Power
- Transform Personal Experiences Through Direct Webcam Capture Using VLC
- Why Choose EmEditor? Unveiling the Shift From Traditional Editors to Enhanced Security Measures
- Your Voice Matters: The Most-Requested Additions for EmEditor's Latest Version
- Title: Master ASP File Editing with JS Syntax Colorization Features in EmEditor Text Editor
- Author: Matthew
- Created at : 2024-10-11 07:02:07
- Updated at : 2024-10-14 11:18:55
- Link: https://win-tips.techidaily.com/master-asp-file-editing-with-js-syntax-colorization-features-in-emeditor-text-editor/
- License: This work is licensed under CC BY-NC-SA 4.0.