Text from SQL Management Studio reformatted by Google Docs when using IE.

When I am using Google Docs, quite often I am copying the portion of code  from Visual Studio or SQL Management Studio.
but the text is reformatted to become messy.
E.G.
 ALTER PROCEDURE [dbo].[CheckNotProcessed]
    @limit int = 10
AS

declare @StartDate datetime
declare @EndDate  datetime
declare @NotProcessedCount int
is shown as

ALTER

 

PROCEDURE [dbo].[CheckNotProcessed]

@limit

int = 10

AS

declare

 

@StartDate datetime

declare

 

@EndDate datetime

declare

 

@NotProcessedCount int 

 
I've tried to manually insert in HTML view <PRE></PRE> tags and then paste text between tags.
But  in "Edit Html" under IE7  I am not able to "Update" - it causes JavaScript  "Invalid Argument" error.

In Firefox I can paste the plain text.
Unfortunately, it doesn't have syntax colours, that I would like to preserve from SQL Management Studio.
posted @ Saturday, July 4, 2009 7:46 AM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«May»
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678