On 14-Jan-2012 3:28 -0800 (PST), jimrandomh wrote: > [29 lines deleted] > Editing vim's C implementation instead might be better - make a > special buffer type or fold type that handles cross-file relations. > Again, a lot of things pick up new corner cases - the screen > rendering, cursor motions and folding code come to mind in particular, > but I haven't dived into the code yet so I'm having a had time judging > how feasible that is.
I'm no expert on the code, either, but I think the current C code lacks the proper abstractions and interfaces to allow such a thing. > Any ideas for better ways to do this? I like your idea (and it is related to other ideas such as having multiple regions in a file with different filetype settings, or editing just a fragment of a file in a separate window), but I'm afraid all you can do is attempt a half-assed Vimscript implementation with many limitations. Sorry. -- regards, ingo -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php