> Just a thought: if I understand the patch correctly you're using "; > as a hidden internal register. Given that regname is an int, wouldn't > it make more sense to use a value that doesn't appear on the keyboard? > Then you don't take away the possibility of adding a "; register in > the future.
Good plan. I'll define a constant. I also realised I'll have to do some jiggerypokery to get redos involving visual mode working. Visual mode needs to be entered with 1v, but only v is recorded in the redo buffer (for technical reasons). And I ignored the case of literal entry in insert mode, which I shouldn't have. So a bit of work to do there still, too. I should have done this one while a bit less rushed! My coding isn't usually this poor...honest... Ben. Send instant messages to your online friends http://au.messenger.yahoo.com --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
