EditTextView.st
changeset 5414 87ff3f9cbe55
parent 5413 b21cbb97c038
child 5417 213089a29fb8
child 5489 376cd53e78a5
--- a/EditTextView.st	Thu Sep 03 11:41:01 2015 +0200
+++ b/EditTextView.st	Thu Sep 03 11:44:51 2015 +0200
@@ -1310,12 +1310,16 @@
 
 contents:aStringOrStringCollectionOrNil
     "replace the whole contents by something new.
-     this is not undoably, unless you care for yourself"
+     this is not undoably, unless you care for yourself.
+     See replaceContentsWith:newContents for an undoable version of this"
 
     self contents:aStringOrStringCollectionOrNil keepUndoHistory:false.
 !
 
 contents:something keepUndoHistory:keepUndoHistory
+    "set the contents and optionally clear the undo history.
+     The contents-change is not undoable."
+
     super contents:something.
     keepUndoHistory ifFalse:[
         undoSupport resetHistories.