EmEditor's Inadequate Handling of Multiline String Formatting: A Closer Look at Its Syntax Coloring Feature
EmEditor’s Inadequate Handling of Multiline String Formatting: A Closer Look at Its Syntax Coloring Feature
Viewing 4 posts - 1 through 4 (of 4 total)
- Author
Posts - September 13, 2010 at 2:06 pm #8947
Jamil
Participant
I have an example SQL Server SQL script below:
DECLARE @SQL_VAR VARCHAR(4000)
SET @SQL_VAR = ‘SELECT * FROM dbo.Table’
EXEC(@SQL_VAR)
This script is colorized correctly as is.
However, if I modify the sript as follow, colorization breaks:
DECLARE @SQL_VAR VARCHAR(4000)
SET @SQL_VAR = ‘
SELECT *
FROM dbo.Table
‘
EXEC(@SQL_VAR)
The script above is valid and colorized correctly with Microsoft’s SQL Server Management Studio. It appears EmEditor cannot handle a single string containing new lines.
I have reproduced this under the 32-bit and 64-bit versions of 10.0.1
September 13, 2010 at 8:33 pm #8948
CrashNBurn
Member
I’ve noticed this when attempting to create a custom CodeCollapse, that I was unable to use a multi-line regex… which really limits the whole idea of “replace match with string”
Since you can’t replace a match with a back-reference 1 2 etc if it’s a multi-line regex. :P
September 14, 2010 at 6:26 am #8967
Jibz
Member
Try going into the properties for the EmEditor SQL configuration (Alt-Enter if you’re looking at the example at the moment), and on the Highlight (2) tab, under “String Enclosed by Quotation Marks”, check “Continue to Next Line”.
Seems to do the trick here.
September 14, 2010 at 9:41 pm #8974
Jamil
Participant
Ah — I never noticed/realized the purpose of that option.
Yes — turning hat option on resolved this issue.
Thanks. - Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Also read:
- [Updated] 2024 Approved Streamlined Playback Controlling YouTube Video Delivery Speeds
- [Updated] In 2024, Top 6 Minecraft House Ideas [for Beginners]
- 2024 Approved Navigating Copyright on YouTube & CC
- Can ChatGPT Adapt Through Interaction: Learning From Conversations?
- Elevate Views Prime SEO Equipment for Videos
- Experience Copilot Pro at No Cost: The Ultimate Reasons to Sign Up Today – Insights From ZDNet
- How GenAI Is Revolutionizing Developer Workflow: Insights on Increased Productivity in Software Projects
- How Microsoft's AI Integration in Surface Pro and Laptop Poses a Challenge to Apple - ZDNET Insight
- How Windows 11 Captivates Engineering Minds, According to Microsoft - Insights From ZDNet
- Mastering Your Microsoft 365 Plan in the World of Windows 11 with Guidance by Experts at ZDNET
- Maximizing Workplace Efficiency: Revitalizing a Traditional Office Layout for Enhanced Teamwork - Insights From ZDNet
- Microsoft Shifts Strategy: Expected Price Tags on Future Windows 10 Updates Revealed | ZDNet
- Revitalize Graphic Performance: Seamlessly Update Intel HD Graphics 3000 Driver for W10.
- Selecting an iPad: Understanding Which Versions Have Native GPS Functionality
- Simplifying Communication Across Sectors with Microsoft Teams: The Combined Work, Life, and Study App - Insights From ZDNet
- Top Apps and Online Tools To Track Poco C65 Phone With/Without IMEI Number
- Up-to-Date NVIDIA Drivers Available Here: GeForce RTX 3#080 for Windows Users
- Title: EmEditor's Inadequate Handling of Multiline String Formatting: A Closer Look at Its Syntax Coloring Feature
- Author: Joseph
- Created at : 2024-10-10 16:38:24
- Updated at : 2024-10-11 16:34:04
- Link: https://win-hacks.techidaily.com/emeditors-inadequate-handling-of-multiline-string-formatting-a-closer-look-at-its-syntax-coloring-feature/
- License: This work is licensed under CC BY-NC-SA 4.0.