patch 9.1.1425: tabpanel: there are still some problems with the tabpanel
Problem: tabpanel: there are still some problems with the tabpanel with
column handling
Solution: fix the problems and refactor Tabpanel feature (Hirohito
Higashi).
fixes: #17423
fixes: #17332
closes: #17336
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index a929465..08d2c1e 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -8234,7 +8234,7 @@
{
n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
if (n >= 0)
- windgoto(n, curwin->w_wincol + curwin->w_wcol + TPL_LCOL(curwin));
+ windgoto(n, curwin->w_wincol + curwin->w_wcol);
}
len = eap->line2;