[TxMt] Copy Condensed SQL to clipboard bug : removing newlines from string literals

Matthijs Bomhoff matthijs at quarantainenet.nl
Mon Jan 16 12:32:15 UTC 2006


Hello,

the "copy condensed sql to clipboard" function removes newlines from  
string literals as well, effectively changing the semantics of the  
query. It would be nice if it replaced them with the correct escape- 
sequences, or even left them in...

e.g. if you copy "SELECT 'line 1
line 2' " to you clipboard, you get "SELECT 'line 1 line 2'", that  
actually does something else... Especially nasty with INSERT/UPDATE  
queries etc.

regards,

Matthijs



More information about the textmate mailing list