From 19c22cdb80e30711be5af33cb6726566ad629944 Mon Sep 17 00:00:00 2001 From: Jack Danger Canty Date: Mon, 19 Jan 2015 22:21:14 -0800 Subject: "halfway a line" is a very confusing phrase If you Google for this phrase found in the Vim documentation you'll find almost exclusively hits from the Vim documentation. I think changing "halfway a line" to "halfway through a line" makes more sense. There seems to be an pervasive odd use of the word 'halfway' in the original docs which I'm updating everywhere. --- src/nvim/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/screen.c') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 8f4f894128..6e4c17f49e 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -1345,7 +1345,7 @@ static void win_update(win_T *wp) /* * Update a line when it is in an area that needs updating, when it * has changes or w_lines[idx] is invalid. - * bot_start may be halfway a wrapped line after using + * bot_start may be halfway through a wrapped line after using * win_del_lines(), check if the current line includes it. * When syntax folding is being used, the saved syntax states will * already have been updated, we can't see where the syntax state is @@ -4037,7 +4037,7 @@ win_line ( /* DBCS: Put second byte in the second screen char. */ ScreenLines[off] = mb_c & 0xff; ++vcol; - /* When "tocol" is halfway a character, set it to the end of + /* When "tocol" is halfway through a character, set it to the end of * the character, otherwise highlighting won't stop. */ if (tocol == vcol) ++tocol; -- cgit