Since beta 14.0.0.482, I'm getting the error as shown below when formatting an Editor window with a couple of slightly complex statements in it.
I've tried with just "select * from dual;", but that doesn't trigger the error.
These statements (object names are anonimized) do trigger the error, but not always, sometimes I only get the error after pressing Ctrl-Shift-F 2 or 3 times.
DELETE table5
WHERE table3_id IN (SELECT id
FROM table3
WHERE table1_id IN (SELECT id
FROM table1
WHERE column1 = 'N'));
DELETE table4
WHERE table3_id IN (SELECT id
FROM table3
WHERE table1_id IN (SELECT id
FROM table1
WHERE column1 = 'N'));
DELETE table3
WHERE table1_id IN (SELECT id
FROM table1
WHERE column1 = 'N');
DELETE table2
WHERE table1_id IN (SELECT id
FROM table1
WHERE column1 = 'N');
DELETE table1
WHERE column1 = 'N';
The error also occurs if I delete the FmtPlus.opt file and let Toad create a new one.