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:
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:
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;
'('
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;