On Sunday, May 15, 2016 at 9:17:02 AM UTC-7, Bram Moolenaar wrote: > > Raw mode should help.
Indeed it does. Converted code to use "raw" here: https://github.com/wincent/ferret/commit/06eaeed9881ffcddf97fa8e181d7a81d354c3b3a And then taught it to truncate long lines to 32k here: https://github.com/wincent/ferret/commit/3379d5d6b80492816b03d7e4db1346f8fbf01046 (Could DRY it up a bit, but just wanted to get it working first.) > Since a 150 Mbyte line is usually useless, we could set a limit to the > line length. We have something similar for quickfix, thus it makes > sense. Perhaps we should set the default to something very big that > won't cause an out-of-memory, like 1 Mbyte. Sounds reasonable. Are you sure it's not a lower limit, like 1K? When I run the above code that shoves lines as long as 32k into the quickfix listing (via `:cexpr`), the lines are truncated to 1024 columns (which seems fine, TBH). -Greg -- -- 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.
