Changeset 7550


Ignore:
Timestamp:
Oct 30, 2007, 9:59:11 AM (12 years ago)
Author:
gb
Message:

Rename #/insertText: to #/insertString:, since the text system calls #/insertText: on key events even if the text view isn't editable (and gets confused if out #/insertText: makes it editable on the fly.) See ticket:121 .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/cocoa-ide/cocoa-typeout.lisp

    r6866 r7550  
    2828  (#/delete: self +null-ptr+))
    2929
    30 (objc:defmethod (#/insertText: :void) ((self typeout-text-view) text)
     30(objc:defmethod (#/insertString: :void) ((self typeout-text-view) text)
    3131  (#/setEditable: self t)
    32   (call-next-method text)
     32  (#/insertText: self text)
    3333  (#/setEditable: self nil))
    3434
     
    175175    (#/performSelectorOnMainThread:withObject:waitUntilDone:
    176176     text-view
    177      (@selector #/insertText:)
     177     (@selector #/insertString:)
    178178     (%make-nsstring (get-output-stream-string (slot-value stream 'string-stream)))
    179179     t)))
Note: See TracChangeset for help on using the changeset viewer.