Changeset 12144


Ignore:
Timestamp:
May 27, 2009, 9:09:22 PM (10 years ago)
Author:
gb
Message:

Make sure that the newline typed to "Confirm Listener Input" replaces
the selection, if any.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/hemlock/src/listener.lisp

    r12123 r12144  
    199199
    200200    (when input-region
    201       (insert-character (current-point) #\NewLine)
     201      (insert-character (current-point-for-insertion) #\NewLine)
    202202      (when (balanced-expressions-in-region input-region)
    203203        (let* ((string (region-to-string input-region))               )
Note: See TracChangeset for help on using the changeset viewer.