[Monodevelop-devel] Vi Emulation Marks and Macros

Levi Bard taktaktaktaktaktaktaktaktaktak at gmail.com
Tue Feb 16 11:02:41 EST 2010


> I've been working on adding marks and macros support to the Vi
> emulation in MonoDevelop. I posted two (not-so-complete) versions of
> what I was working on to the mailing lists yesternight. I've
> subsequently discovered some small issues with my code and have
> modified it accordingly.
>
> What I have now is, I think, somewhat complete. I was wondering if
> someone could try out the (attached) patch and give me some feedback
> (and hopefully get it merged).

Hi Sanjoy,
The macro recording and playback work ok for me; however, the mark
save/load only get me to the recorded line, and not the recorded
position within the line (in vim, if I record a mark in the middle of
the line, it puts me back in the middle of the line).

With respect to the code, I'd say that ViMark and ViMacro should
probably get their own files in Mono.TextEditor.Vi/.
Finally, the console output should probably come out of the final patch. ;-)

Other than that, it looks good to me, although I'm sure others
(mhutch) will have more to add.

Levi (Tak!)

-- 
http://theoatmeal.com/comics/apostrophe
http://homes.eff.org/~barlow/EconomyOfIdeas.html
http://www.gnu.org/philosophy/shouldbefree.html


More information about the Monodevelop-devel-list mailing list