Mercurial > vim
comparison src/insexpand.c @ 18135:1868ec23360e v8.1.2062
patch 8.1.2062: the mouse code is spread out
Commit: https://github.com/vim/vim/commit/b20b9e14ddd8db111e886ad0494e15b955159426
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 21 20:48:04 2019 +0200
patch 8.1.2062: the mouse code is spread out
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Sep 2019 21:00:07 +0200 |
parents | 8ca20b0a3dc3 |
children | e0ec4cd7a865 |
comparison
equal
deleted
inserted
replaced
18134:c06a2bc8144f | 18135:1868ec23360e |
---|---|
1993 ptr = NULL; | 1993 ptr = NULL; |
1994 ins_compl_fixRedoBufForLeader(ptr); | 1994 ins_compl_fixRedoBufForLeader(ptr); |
1995 } | 1995 } |
1996 | 1996 |
1997 #ifdef FEAT_CINDENT | 1997 #ifdef FEAT_CINDENT |
1998 want_cindent = (can_cindent_get() && cindent_on()); | 1998 want_cindent = (get_can_cindent() && cindent_on()); |
1999 #endif | 1999 #endif |
2000 // When completing whole lines: fix indent for 'cindent'. | 2000 // When completing whole lines: fix indent for 'cindent'. |
2001 // Otherwise, break line if it's too long. | 2001 // Otherwise, break line if it's too long. |
2002 if (compl_cont_mode == CTRL_X_WHOLE_LINE) | 2002 if (compl_cont_mode == CTRL_X_WHOLE_LINE) |
2003 { | 2003 { |