The wrong line is updated because the cursor position between mouse and key movements are mixed up.
Here is example and steps:
In Toad editor, create 3 lines like this:
----------------------------------------------1
----------------------------------------------2
----------------------------------------------3
1) Use mouse and click somewhere in the middle of line 1.
2) Press, the down arrow key. The cursor moves to line 2.
3) Press ctrl-shift-B to execute the uncommented function. Line 2 changes. Okay so far. Now press the down arrow key again. Cursor moves to line 3.
4) Press ctrl-shift-B and line 2 changes (it should have changed line 3). Press up arrow. Cursor moves to line 2.
5) Press ctrl-shift-B and line 3 is changed (it should have changed line 3). Press up arrow. Cursor moves to line 1.
WORKAROUND:
This problem does not occur in TOAD for Oracle 9.8 beta version.
STATUS:
Waiting for fix in a future release of Toad for Oracle.