BUG: Extra Insertion Point on List Window (34959)






This article was previously published under Q34959

SYMPTOMS

If you press the UP ARROW key immediately after single-step scrolling the program listing, the trace box is shown incorrectly one line above the actual current trace line. Then, either of the following gives slightly unexpected behavior:

  1. Typing text into the line now leaves a spurious insertion point on the screen.
  2. Pressing COMMAND-T (or selecting Step from the Run menu) leaves two trace boxes on the screen.
To make the List window appear normal again, select List from the Windows menu (or press COMMAND-L).

This problem occurs in Microsoft QuickBasic Version 1.00 for Apple Macintosh. Microsoft is researching this problem and will post new information as it becomes available.

MORE INFORMATION

The following steps demonstrate the problem in more detail:

  1. Enter the following program:
       PRINT "LONG      LINE"
       PRINT "SHORT"
       PRINT "LONG      LINE"
       PRINT "SHORT"
       PRINT "LONG      LINE"
       PRINT "SHORT"
       PRINT "LONG      LINE"
       PRINT "SHORT"
    						
  2. Size the List window so only a few lines are visible.
  3. Single-step through the program with Step from the Run menu (or COMMAND-T) until QuickBasic scrolls the listing, leaving the trace box at the top of the window.
  4. Press the UP ARROW key. The text scrolls down correctly, but the trace box is redrawn in its previous size and position, now incorrectly one line above the current trace line.
  5. Typing text into the line now leaves a spurious insertion point on the screen. To make the screen appear normal again, select List from the Windows menu (or press COMMAND-L).

Modification Type: Minor Last Reviewed: 1/8/2003
Keywords: kbbug KB34959