diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-02-17 23:16:06 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-05 19:03:36 -0500 |
commit | 4d7b31fd61695e7a1be2b662fe729a81112ef89b (patch) | |
tree | 51ed30b51c4de241b0e0543707591a83f6275883 /src/nvim/ex_getln.c | |
parent | 49e71641650d07c2cda7756e3a8b88e6ec42c1d8 (diff) | |
download | rneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.tar.gz rneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.tar.bz2 rneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.zip |
Macro cleanup: USE_ON_FLY_SCROLL
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 3dffb1f1d3..a7bb4afa70 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -291,9 +291,6 @@ getcmdline ( redir_off = TRUE; /* Don't redirect the typed command. Repeated, because a ":redir" inside completion may switch it on. */ -#ifdef USE_ON_FLY_SCROLL - dont_scroll = FALSE; /* allow scrolling here */ -#endif quit_more = FALSE; /* reset after CTRL-D which had a more-prompt */ cursorcmd(); /* set the cursor on the right spot */ @@ -904,9 +901,6 @@ getcmdline ( goto returncmd; /* back to cmd mode */ case Ctrl_R: /* insert register */ -#ifdef USE_ON_FLY_SCROLL - dont_scroll = TRUE; /* disallow scrolling here */ -#endif putcmdline('"', TRUE); ++no_mapping; i = c = plain_vgetc(); /* CTRL-R <char> */ @@ -1270,9 +1264,6 @@ getcmdline ( case Ctrl_K: ignore_drag_release = TRUE; putcmdline('?', TRUE); -#ifdef USE_ON_FLY_SCROLL - dont_scroll = TRUE; /* disallow scrolling here */ -#endif c = get_digraph(TRUE); if (c != NUL) break; |