[Bug Report] Syntax highlighting and quoted left parenthesis

Ed Holloman

Member²
Version 7.0.2.1076

Hi,

I was doing some text parsing in PL/SQL and had an IF statement like this:

Code:
IF substr(s1, 1, 1) != '(' THEN
      -- code
   ELSE
      -- code
   END IF;
The problem is that after typing

'('

in the IF statement, the syntax highlighter does not consider the quote to be terminated until the appearance of a

)'

somewhere after it, so everything after the opening

'(

is highlighted the same color as a string - very distracting. I was able to work around it by adding a closing right parenthesis and quote within a comment:

Code:
IF substr(s1, 1, 1) != '(' -- )' OR /* )' */
    THEN
      -- code
   ELSE
      -- code
   END IF;
 
This was indeed a problem in the initial 7.0.2 release. The current 7.0.2 version has updated keyword files that fix the issue.
 
Back
Top