Mercurial > vim
comparison src/mouse.c @ 33223:def9fc5c92d1 v9.0.1886
patch 9.0.1886: Various Typos
Commit: https://github.com/vim/vim/commit/ee17b6f70d382ec6c5d8d27b56c4e84106ac8c55
Author: Christian Brabandt <cb@256bit.org>
Date: Sat Sep 9 11:23:50 2023 +0200
patch 9.0.1886: Various Typos
Problem: Various Typos
Solution: Fix Typos
This is a collection of typo related commits.
closes: #12753
closes: #13016
Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Viktor Sz?pe <viktor@szepe.net>
Co-authored-by: nuid64 <lvkuzvesov@proton.me>
Co-authored-by: Meng Xiangzhuo <aumo@foxmail.com>
Co-authored-by: Dominique Pell? <dominique.pelle@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 09 Sep 2023 11:45:04 +0200 |
parents | 22a08166a876 |
children | cb447202030d |
comparison
equal
deleted
inserted
replaced
33222:1e37f623c551 | 33223:def9fc5c92d1 |
---|---|
2160 */ | 2160 */ |
2161 int | 2161 int |
2162 do_mousescroll_horiz(long_u leftcol) | 2162 do_mousescroll_horiz(long_u leftcol) |
2163 { | 2163 { |
2164 if (curwin->w_p_wrap) | 2164 if (curwin->w_p_wrap) |
2165 return FALSE; // no wrapping, no scrolling | 2165 return FALSE; // no horizontal scrolling when wrapping |
2166 | 2166 |
2167 if (curwin->w_leftcol == (colnr_T)leftcol) | 2167 if (curwin->w_leftcol == (colnr_T)leftcol) |
2168 return FALSE; // already there | 2168 return FALSE; // already there |
2169 | 2169 |
2170 // When the line of the cursor is too short, move the cursor to the | 2170 // When the line of the cursor is too short, move the cursor to the |