google-code-export / notepad2-mod

Automatically exported from code.google.com/p/notepad2-mod
Other
2 stars 1 forks source link

Folding for SQL is incorrect with CASE keyword #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using a simple select with CASE as follows:
   select a,
       case b
         when 0 then 1
         else 0
       end as b1,
       c
   from x
   where d = 1

2. Folding for CASE collapse all the way to the end, even when there are 
subsequent separate SQL's following

What is the expected output? What do you see instead?
Folding for CASE should terminate on the END keyword

What version of the product are you using? On what operating system?
4.2.25 rev 720 (64-bit)

Please provide any additional information below.

Original issue reported on code.google.com by luther...@gmail.com on 2 May 2012 at 7:08

GoogleCodeExporter commented 9 years ago
It was a problem with Scintilla and not Notepad2-mod. This was fixed with the 
update of Scintilla around r722-r723.

Original comment by XhmikosR on 2 May 2012 at 7:15