On Mon, Dec 14, 2009 at 16:13, 0x0000 <zero_...@yahoo.com> wrote: > > > M$ Office AutoCorrect/AutoFormat > > leverages Undo for similar functionality: the > > autolinking/autoformating is added to the undo list as a > > separate action from the typing, so that you can just type > > and press Ctrl+Z to supress the autothings when your > > don't want them. > > > > Currently in zim they are fused: FooBar<SPACE> turns > > it into a link when you add the <SPACE>; Ctrl+Z > > removes the link but also the <SPACE>; pressing > > <SPACE> again to continue typing restores the link. > > > > So maybe we want to adopt the separately-undoable > > autolinking model? > > I like this - in fact, I already use that (the format and/or markup going > into the undo buffer separately from the text) other editors > > UPDATE: turns out it already works this way in perl zim, and almost-works in pyzim! pyzim does undo the autolinking separately, but currently places the cursor before the space. So to enter a non-link "FooBar ", you press: FooBar<SPACE><Ctrl+Z><RIGHT>. Will be fixed. See https://bugs.launchpad.net/zim/+bug/487084 for details.
-- Beni Cherniavsky-Paskin <c...@users.sf.net>
_______________________________________________ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp