EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     Syntax Coloring Does Not Correctly Handle Strings On Multiple Lines
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Jamil
Posted on: 9/13/2010 6:06 am
Just popping in
Joined: 6/27/2010
From:
Posts: 13
Syntax Coloring Does Not Correctly Handle Strings On Multiple Lines
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
Flat Previous Topic | Next Topic


Subject Poster Date
 » Syntax Coloring Does Not Correctly Handle Strings On Multiple Lines Jamil 9/13/2010 6:06 am
     Re: Syntax Coloring Does Not Correctly Handle Strings On Multiple Lines CrashNBurn 9/13/2010 12:33 pm
       Re: Syntax Coloring Does Not Correctly Handle Strings On Multiple Lines Jibz 9/13/2010 10:26 pm
         Re: Syntax Coloring Does Not Correctly Handle Strings On Multiple Lines Jamil 9/14/2010 1:41 pm

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文