Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 311 by [email protected]: `relativenumber` slows down moving with long lines
https://code.google.com/p/vim/issues/detail?id=311

What steps will reproduce the problem?
1. wget https://gist.githubusercontent.com/blueyed/b098ff662b2963621ec0/raw/a6f5a88f43c3f55a48bf89ddcad08c86ed2e67c9/test.diff
2. vim -u NONE -N -c 'set nowrap relativenumber' -c 'syn on' test.diff


What is the expected output? What do you see instead?

Moving up/down using k/j is slow.
It's ok with `norelativenumber`.

This indicates that redrawing the numbers triggers processing of the long, non-wrapped line somehow, which should get optimized.

What version of the product are you using? On what operating system?
7.4.560 (hg)

Please provide any additional information below.

You might get hit by https://code.google.com/p/vim/issues/detail?id=309 before - I've patched syntax/diff.vim locally to make it behave better.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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.

Raspunde prin e-mail lui