Mercurial > vim
annotate src/proto/if_xcmdsrv.pro @ 30745:fdc44acc3250 v9.0.0707
patch 9.0.0707: with 'smoothscroll' cursor position not adjusted in long line
Commit: https://github.com/vim/vim/commit/118c235112854f34182d968613d7fe98be3b290b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 9 17:19:27 2022 +0100
patch 9.0.0707: with 'smoothscroll' cursor position not adjusted in long line
Problem: With 'smoothscroll' and 'scrolloff' non-zero the cursor position
is not properly adjusted in a long line.
Solution: Move the cursor further up or down in the line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 09 Oct 2022 18:30:03 +0200 |
parents | 71311d899b42 |
children |
rev | line source |
---|---|
7 | 1 /* if_xcmdsrv.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
2 int serverRegisterName(Display *dpy, char_u *name); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
3 void serverChangeRegisteredWindow(Display *dpy, Window newwin); |
11211
71311d899b42
patch 8.0.0492: a failing client-server request can make Vim hang
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
4 int serverSendToVim(Display *dpy, char_u *name, char_u *cmd, char_u **result, Window *server, int asExpr, int timeout, int localLoop, int silent); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
5 char_u *serverGetVimNames(Display *dpy); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
6 Window serverStrToWin(char_u *str); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
7 int serverSendReply(char_u *name, char_u *str); |
11211
71311d899b42
patch 8.0.0492: a failing client-server request can make Vim hang
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
8 int serverReadReply(Display *dpy, Window win, char_u **str, int localLoop, int timeout); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
9 int serverPeekReply(Display *dpy, Window win, char_u **str); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
10 void serverEventProc(Display *dpy, XEvent *eventPtr, int immediate); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
11 void server_parse_messages(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
12 int server_waiting(void); |
7 | 13 /* vim: set ft=c : */ |