google-code-export / editra

Automatically exported from code.google.com/p/editra
Other
1 stars 0 forks source link

syntax highlighting: incorrect handling of escaped quotes in strings for SQL lexer. #213

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open a new window or tab
2. set the lexer to SQL
3. add the following line: update `thetable` set var1='peter piper\'s perfect 
peppers'

What is the expected output? What do you see instead?

expected: the phrase 'peter piper\'s perfect peppers' will be recognized as a 
single quote and 
colored appropriately
actual: only the first part of the phrase - 'peter piper\' - is colored as a 
quote; the rest is colored 
as though it were a variable

IMPORTANT!!! Please answer these questions for any and ALL bug reports

What version of the product are you using? On what operating system?

4.01 on Mac os 10.5.5

What method of install was your version installed with (Binary/Source)?

binary

Original issue reported on code.google.com by twrig...@uci.edu on 28 Nov 2008 at 9:41

GoogleCodeExporter commented 9 years ago
Confirmed.

Original comment by CodyPrec...@gmail.com on 28 Nov 2008 at 11:53

GoogleCodeExporter commented 9 years ago
This appears to be fixed in the newer versions of Scintilla.

The fix will be available in Editra when wxPython2.9 is released.

Original comment by CodyPrec...@gmail.com on 13 Feb 2009 at 4:44