[Cuis-dev] [RFC] TextModel(Morph) and acceptOnAny-mode

Gerald Klix cuis.01 at klix.ch
Thu Sep 15 02:07:03 PDT 2022


Hi all, Hi Juan,

I just discovered that the TextModelMorph updates
its model more often in “acceptOnAny”-mode than
records undo information.
Ordinary edits are compacted into one undo-event
if they happen less than one second after the last edit.
(See TextModel>>#logUndoAndReplaceFrom:to:with:).

Is there interest/demand to add an “accept-mode” -- let's
call “acceptOnAnyDelayed” -- to the TextModelMorph
that uses TextModel's last edited time stamp,
to delay accepts?


Best Regards,

Gerald


More information about the Cuis-dev mailing list