#2 Editing bug crashes CLIPSWIN

CLIPS
closed
nobody
None
5
2013-02-28
2009-01-20
David Holz
No

Backspacing past the beginning of an input line when there is still text to the right of the cursor crashes CLIPSWIN, at least in XP Pro64 using the pre-built binary installer for Quicksilver Beta 3/26/08

Type "asdf", cursor left once, hold down backspace to replicate.

Discussion

  • Gary Riley
    Gary Riley
    2013-02-28

    Added the following line to HandleBackSpace in Display.c:

    if (length == theData->caretOffset) return;

    If the caret position has been moved to the far left of the entire command in the command buffer, don't attempt to delete characters to the left since there are none.

    Fix has been checked into subversion.

     
  • Gary Riley
    Gary Riley
    2013-02-28

    • status: open --> closed
    • milestone: --> CLIPS