Christian wrote: > On Fr, 02 Jan 2015, Bram Moolenaar wrote: > > > Problem is that while typing this will open lots of folds before the one > > you actually want to see. > > Do you fear, that this might slow down Vim too much?
It will open folds that the user might not want opened. > > Temporarily opening one fold would be better, > > but might be a bit difficult to implement. > > Like temporarily setting foldclose setting? I don't think that changing an option is a good solution, it may have unexpected side effects. > > Perhaps forcing the line with the match to be displayed even when the > > fold is actually closed might work. > > Not sure, how this would work and sounds like it could be difficult to > implement. Yes. Would require redrawing from the matching line to the end of the window, and again when the match changes position. This happens anyway when the text scrolls more than a few lines. -- Latest survey shows that 3 out of 4 people make up 75% of the world's population. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
