Code bracket lines not shown correctly for WHILE TRUE and WHILE <boolean> lines in Editor.
Example:
while true loop
for loop
end loop
end loop
In the above example, the bracket line of 'while true' is connected to the first 'end loop' and there is no second inside bracket line for the For Loop.
For versions 9.0-9.5:
1. Select View | Toad Options menu option
2. Select Editor | Behavior on the left
3. Under Languages, select Edit button for PL/SQL code
4. Select Rules tab and select "For Start" Rule Name
5. Under Conditions tab, select the Plus button to add a condition
6. Check the Identifier checkbox and uncheck "Include all Tokens" checkbox
7. In Tokens box, enter: while true
8. Hit OK to exit Options
For version 9.6 :
1. Select View | Toad Options menu option
2. Select Editor | Behavior on the left
3. Under Languages, ensure PL/SQL code is selected and select Syntax Highlighting button
4. Perform above steps 4-8