Mercurial > vim
comparison src/normal.c @ 17216:11f3cf51d43b v8.1.1608
patch 8.1.1608: the evalfunc.c file is too big
commit https://github.com/vim/vim/commit/f9c85f580b3792f6b95107412972f5360d412ef0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 29 07:41:35 2019 +0200
patch 8.1.1608: the evalfunc.c file is too big
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 Jun 2019 07:45:06 +0200 |
parents | db81cee3a0e1 |
children | 09fa437d33d8 |
comparison
equal
deleted
inserted
replaced
17215:57771dafd317 | 17216:11f3cf51d43b |
---|---|
4559 cap->count0 = cap->count1; | 4559 cap->count0 = cap->count1; |
4560 nv_scroll_line(cap); | 4560 nv_scroll_line(cap); |
4561 } | 4561 } |
4562 #ifdef FEAT_TEXT_PROP | 4562 #ifdef FEAT_TEXT_PROP |
4563 if (bt_popup(curwin->w_buffer)) | 4563 if (bt_popup(curwin->w_buffer)) |
4564 { | 4564 popup_set_firstline(curwin); |
4565 int height = curwin->w_height; | |
4566 | |
4567 curwin->w_firstline = curwin->w_topline; | |
4568 popup_adjust_position(curwin); | |
4569 | |
4570 // we don't want the popup to get smaller, decrement the first line | |
4571 // until it doesn't | |
4572 while (curwin->w_firstline > 1 && curwin->w_height < height) | |
4573 { | |
4574 --curwin->w_firstline; | |
4575 popup_adjust_position(curwin); | |
4576 } | |
4577 } | |
4578 #endif | 4565 #endif |
4579 } | 4566 } |
4580 # ifdef FEAT_GUI | 4567 # ifdef FEAT_GUI |
4581 else | 4568 else |
4582 { | 4569 { |