[MonoDevelop] [PATCH] Add Vim style goto in Vi mode (try2)

Adam Petaccia adam at tpetaccia.com
Sun Jul 19 19:17:26 EDT 2009

Updated with direction from Tiago.

Testing revealed that for some reason we're not always entirely aware of
our document before we see all of it. After console.WriteLine debugging,
I found out that running 900gg on a 928 line document failed because MD
thought there were only around 200 lines. Typing 'G' as the first
command though forces MD to see the other lines and update status, and
allows goto to work correctly. 

This patch does not work around the issue, though the problem can be
mediated by creating a Constructor which calls CursorToEnd followed by
CursorToStart, though this loses you the ability to "pick up where you
left off".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AddVimNumberGotoToMono.Texteditor.Vi.patch
Type: text/x-patch
Size: 4112 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090719/bffabe5b/attachment.bin 

More information about the Monodevelop-list mailing list