<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Feb 8, 2007, at 6:21 PM, William Uther wrote:</DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>Just another feature suggestion.<SPAN class="Apple-converted-space">  </SPAN>Use case:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>I've been making some changes in a source file.<SPAN class="Apple-converted-space">  </SPAN>I've been making the changes in two locations in the file in parallel, trying to keep them roughly in sync as I make the changes.<SPAN class="Apple-converted-space">  </SPAN>When I get to the end, I notice that there was a simpler set of changes for one of the two locations.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>I'd like to be able to select a region of text and 'undo in selection'.<SPAN class="Apple-converted-space">  </SPAN>It is just like normal undo, but it skips over commands in the undo list that don't affect the selection and only undoes commands that do affect the selection.<SPAN class="Apple-converted-space">  </SPAN>(For bonus points, the 'skipped' undo commands could be left in the undo queue, so if I start using normal undo then they start being undone.)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>I suspect that this isn't a particularly common request, so I don't really expect it to ever be implemented, but I thought it was better to mention the idea than not.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Be well,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Will<SPAN class="Apple-converted-space">            </SPAN>:-}</DIV></BLOCKQUOTE></DIV><BR><DIV>IMHO, the current state of affairs with regard to undo really … stinks. (yay censorship!)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Not just TextMate, but most applications have really REALLY terrible undo systems.</DIV><DIV>Some people are actually innovating in this space. The e editor <A href="http://www.e-texteditor.com">http://www.e-texteditor.com</A>/ for example has a really stinking sweet (looking, since I haven't actually used it) system. That editor actually manages all of the edits and lets you go back in time for the whole document or just a section and keep the entire backward AND foreward history preserved across edits and saves and closing and reopening the file.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">I <I>really really</I> want this functionality in TextMate.</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I really want to just close the document or quit the app and come back a week later and still have my full undo history.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Currently this is not doable with the current bundle system.</DIV><DIV>I have investigated linking into the preview window since it can actually run a command every time you make an edit, but the limitations of this system are just too great to bother with it.</DIV><DIV>It might be doable with a plugin, i have no clue.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I think we're just going to have to wait for Allan to open the door to this sort of thing, and I really doubt that it's going to be before TextMate 3.0.</DIV><DIV>I'm sure the stuff in 2.0 will happily distract me from being too annoyed about it for now.</DIV><DIV><BR><DIV>thomas Aylott — <I>design</I><B>42</B> — <B>subtleGradient </B>— CrazyEgg</DIV></DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>