patch 9.0.0488: cursor wrong with virtual text "above" and 'showbreak'
Problem: Cursor in wrong position with virtual text "above" and
'showbreak'.
Solution: Take the first character column into account. (closes #11149)
diff --git a/src/charset.c b/src/charset.c
index c5edaf4..9ddb21d 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1280,6 +1280,9 @@
numberextra = numberwidth;
vcol += numberextra + mb_added;
+#ifdef FEAT_PROP_POPUP
+ vcol -= wp->w_virtcol_first_char;
+#endif
if (vcol >= (colnr_T)wp->w_width)
{
vcol -= wp->w_width;