Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 222 by [email protected]: Paragraph motions should ignore
whitespace
http://code.google.com/p/vim/issues/detail?id=222
What steps will reproduce the problem?
1. Insert text with paragraphs separated by lines consisting of a single
space character.
2. Use { and } to skip between paragraphs.
What is the expected output? What do you see instead?
The { and } motions should stop at the whitespace only lines. This is
consistent with the paragraph text-object which delimits paragraphs with
whitespace only lines.
What version of the product are you using? On what operating system?
7.4, Linux
Please provide any additional information below.
Wrapping the ml_get() call in startPS() (in search.c) with skipwhite()
fixes the problem. If we're worried about backward compatibility perhaps a
flag could be used to turn this behavior on.
Attachments:
fix_vim_paragraph_motions.diff 360 bytes
--
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.