comparison src/screen.c @ 33316:a2dfcbbfc301 v9.0.1923

patch 9.0.1923: curswant wrong on click with 've' and 'wrap' set Commit: https://github.com/vim/vim/commit/db54e989b5cff3cc6442dfc500e3962cc1c0b6d0 Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Sep 21 16:33:09 2023 +0200 patch 9.0.1923: curswant wrong on click with 've' and 'wrap' set Problem: curswant wrong on click with 've' and 'wrap' set Solution: Add w_leftcol to mouse click column. closes: #13142 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Sep 2023 16:45:04 +0200
parents 8665cf0eab86
children 95db67c7b754
comparison
equal deleted inserted replaced
33315:d198db604bcf 33316:a2dfcbbfc301
16 * 16 *
17 * ScreenLines[off] Contains a copy of the whole screen, as it is currently 17 * ScreenLines[off] Contains a copy of the whole screen, as it is currently
18 * displayed (excluding text written by external commands). 18 * displayed (excluding text written by external commands).
19 * ScreenAttrs[off] Contains the associated attributes. 19 * ScreenAttrs[off] Contains the associated attributes.
20 * ScreenCols[off] Contains the virtual columns in the line. -1 means not 20 * ScreenCols[off] Contains the virtual columns in the line. -1 means not
21 * available (below last line), MAXCOL means after the end 21 * available or before buffer text, MAXCOL means after the
22 * of the line. 22 * end of the line.
23 * 23 *
24 * LineOffset[row] Contains the offset into ScreenLines*[], ScreenAttrs[] 24 * LineOffset[row] Contains the offset into ScreenLines*[], ScreenAttrs[]
25 * and ScreenCols[] for each line. 25 * and ScreenCols[] for each line.
26 * LineWraps[row] Flag for each line whether it wraps to the next line. 26 * LineWraps[row] Flag for each line whether it wraps to the next line.
27 * 27 *