Mercurial > vim
comparison src/edit.c @ 6075:c3bb76e5b235 v7.4.376
updated for version 7.4.376
Problem: Popup menu flickers too much.
Solution: Remove the forced redraw. (Hirohito Higashi)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 23 Jul 2014 13:50:46 +0200 |
parents | bdbe2037066d |
children | 0a3d958e346e |
comparison
equal
deleted
inserted
replaced
6074:4ac9700e9cff | 6075:c3bb76e5b235 |
---|---|
4591 * In replace mode: Put the old characters back, if any. | 4591 * In replace mode: Put the old characters back, if any. |
4592 */ | 4592 */ |
4593 i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0); | 4593 i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0); |
4594 backspace_until_column(i); | 4594 backspace_until_column(i); |
4595 | 4595 |
4596 /* Not sure what is still valid, better redraw everything. */ | 4596 /* TODO: is this sufficient for redrawing? Redrawing everything causes |
4597 * flicker, thus we can't do that. */ | |
4597 changed_cline_bef_curs(); | 4598 changed_cline_bef_curs(); |
4598 redraw_curbuf_later(NOT_VALID); | |
4599 } | 4599 } |
4600 | 4600 |
4601 /* Insert the new text being completed. */ | 4601 /* Insert the new text being completed. */ |
4602 static void | 4602 static void |
4603 ins_compl_insert() | 4603 ins_compl_insert() |