Code inside the code template is written in the editor even if you select cancel or press ESC.
To reproduce the problem please follow the steps below:
1)Type crbl in the toad editor
2)Click control + space
3)A window with the code template appears as expected
4)Now click cancel
Expected result: the windows closes and nothing is typed in the sql window
Actual result: the code is typed on the SQL window
The same behaviour is you press ESC.
Waiting for fix in a future release of Toad for Oracle