summaryrefslogtreecommitdiffstats
path: root/src/move.c
AgeCommit message (Collapse)Author
2019-03-30patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
2019-03-20patch 8.1.1026: unused conditionv8.1.1026Bram Moolenaar
Problem: Unused condition. (Coverity) Solution: Remove the condition. Also remove unused #define.
2019-01-31patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'v8.1.0864Bram Moolenaar
Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'. (Gary Holloway) Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by Aron Widforss, closes #3539)
2019-01-31patch 8.1.0856: when scrolling a window the cursorline is not always updatedv8.1.0856Bram Moolenaar
Problem: When scrolling a window other than the current one the cursorline highlighting is not always updated. (Jason Franklin) Solution: Call redraw_for_cursorline() after scrolling. Only set w_last_cursorline when drawing the cursor line. Reset the lines to be redrawn also when redrawing the whole window.
2019-01-26patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-24patch 8.1.0806: too many #ifdefsv8.1.0806Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2.
2019-01-11patch 8.1.0715: superfluous call to redraw_win_later()v8.1.0715Bram Moolenaar
Problem: Superfluous call to redraw_win_later(). Solution: Remove the call.
2019-01-09patch 8.1.0708: third argument for redrawWinline() is always FALSEv8.1.0708Bram Moolenaar
Problem: Third argument for redrawWinline() is always FALSE. Solution: Drop the argument. (neovim #9479)
2018-11-24patch 8.1.0543: Coverity warns for leaking memory and using wrong structv8.1.0543Bram Moolenaar
Problem: Coverity warns for leaking memory and using wrong struct. Solution: Free pointer when allocation fails. Change "boff" to "loff". (closes #3634)
2018-10-02patch 8.1.0448: cursorline not removed when using 'cursorbind'v8.1.0448Bram Moolenaar
Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes) Solution: Store the last cursor line per window. (closes #3488)
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-09-25patch 8.1.0435: cursorline highlight not removed in some situationv8.1.0435Bram Moolenaar
Problem: Cursorline highlight not removed in some situation. (Vitaly Yashin) Solution: Reset last_cursorline when resetting 'cursorline'. (Christian Brabandt, closes #3481)
2018-09-12patch 8.1.0374: moving the cursor is slow when 'relativenumber' is setv8.1.0374Bram Moolenaar
Problem: Moving the cursor is slow when 'relativenumber' is set. Solution: Only redraw the number column, not all lines.
2018-09-12patch 8.1.0373: screen updating still slow when 'cursorline' is setv8.1.0373Bram Moolenaar
Problem: Screen updating still slow when 'cursorline' is set. Solution: Fix setting last_cursorline.
2018-09-12patch 8.1.0372: screen updating slow when 'cursorline' is setv8.1.0372Bram Moolenaar
Problem: Screen updating slow when 'cursorline' is set. Solution: Only redraw the old and new cursor line, not all lines.
2018-07-10patch 8.1.0174: after paging up and down fold line is wrongv8.1.0174Bram Moolenaar
Problem: After paging up and down fold line is wrong. Solution: Correct the computation of w_topline and w_botline. (Hirohito Higashi)
2018-03-04patch 8.0.1566: too many #ifdefsv8.0.1566Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
2017-09-22patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
2017-08-17patch 8.0.0956: scrolling in a terminal window has flickerv8.0.0956Bram Moolenaar
Problem: Scrolling in a terminal hwindow as flicker when the Normal background differs from the terminal window background. Solution: Set the attribute to clear with.
2017-03-27patch 8.0.0515: ml_get errors in silent Ex modev8.0.0515Bram Moolenaar
Problem: ml_get errors in silent Ex mode. (Dominique Pelle) Solution: Clear valid flags when setting the cursor. Set the topline when not in full screen mode.
2017-03-12patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-01-15patch 8.0.0193: accidentally removed #ifdefv8.0.0193Bram Moolenaar
Problem: Accidentally removed #ifdef. Solution: Put it back. (Masanori Misono)
2017-01-15patch 8.0.0188: redrawing for 'cursorbind' is inefficientv8.0.0188Bram Moolenaar
Problem: Using NOT_VALID for redraw_later() to update the cursor line/column highlighting is not efficient. Solution: Call validate_cursor() when 'cul' or 'cuc' is set.
2017-01-14patch 8.0.0182: cursor ilne not update when 'cursorbind' is setv8.0.0182Bram Moolenaar
Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is not, then the cursor line highlighting is not updated. (Hirohito Higashi) Solution: Call redraw_later() with NOT_VALID.
2017-01-14patch 8.0.0181: with cursorbind set cursor column highlighting is offv8.0.0181Bram Moolenaar
Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column highlignt in non-current windows is wrong. Solution: Add validate_cursor(). (Masanori Misono, closes #1372)
2016-11-06patch 8.0.0069v8.0.0069Bram Moolenaar
Problem: Compiler warning for self-comparison. Solution: Define ONE_WINDOW and add #ifdef.
2016-10-18patch 8.0.0044v8.0.0044Bram Moolenaar
Problem: In diff mode the cursor may end up below the last line, resulting in an ml_get error. Solution: Check the line to be valid.
2016-09-04patch 7.4.2322v7.4.2322Bram Moolenaar
Problem: Access memory beyond the end of the line. (Dominique Pelle) Solution: Adjust the cursor column.
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-12patch 7.4.2201v7.4.2201Bram Moolenaar
Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt)
2016-07-24patch 7.4.2101v7.4.2101Bram Moolenaar
Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
2016-03-19patch 7.4.1611v7.4.1611Bram Moolenaar
Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
2016-01-30patch 7.4.1211v7.4.1211Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1198v7.4.1198Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
2015-09-09patch 7.4.863v7.4.863Bram Moolenaar
Problem: plines_nofill() used without the diff feature. Solution: Define PLINES_NOFILL().
2015-09-08patch 7.4.856v7.4.856Bram Moolenaar
Problem: "zt" still doesn't work well with filler lines. (Gary Johnson) Solution: Check for filler lines above the cursor. (Christian Brabandt)
2015-09-01patch 7.4.853v7.4.853Bram Moolenaar
Problem: "zt" in diff mode does not always work properly. (Gary Johnson) Solution: Don't count filler lines twice. (Christian Brabandt)
2015-08-11patch 7.4.822v7.4.822Bram Moolenaar
Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
2015-03-20updated for version 7.4.669v7.4.669Bram Moolenaar
Problem: When netbeans is active the sign column always shows up. Solution: Only show the sign column once a sign has been added. (Xavier de Gaye)
2014-12-13updated for version 7.4.550v7.4.550Bram Moolenaar
Problem: curs_rows() function is always called with the second argument false. Solution: Remove the argument. (Christian Brabandt) validate_botline_win() can then also be removed.
2014-09-23updated for version 7.4.458v7.4.458Bram Moolenaar
Problem: Issue 252: Cursor moves in a zero-height window. Solution: Check for zero height. (idea by Christian Brabandt)
2014-03-28updated for version 7.4.226v7.4.226Bram Moolenaar
Problem: Cursurline highlighting not redrawn when scrolling. (John Marriott) Solution: Check for required redraw in two places.
2014-03-27updated for version 7.4.219v7.4.219Bram Moolenaar
Problem: When 'relativenumber' or 'cursorline' are set the window is redrawn much to often. (Patrick Hemmer, Dominique Pelle) Solution: Check the VALID_CROW flag instead of VALID_WROW.
2014-03-23updated for version 7.4.212v7.4.212Bram Moolenaar
Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
2014-02-11updated for version 7.4.177v7.4.177Bram Moolenaar
Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef.
2014-02-11updated for version 7.4.173v7.4.173Bram Moolenaar
Problem: When using scrollbind the cursor can end up below the last line. (mvxxc) Solution: Reset w_botfill when scrolling up. (Christian Brabandt)
2012-11-28updated for version 7.3.739v7.3.739Bram Moolenaar
Problem: Computing number of lines may have an integer overflow. Solution: Check for MAXCOL explicitly. (Dominique Pelle)
2012-03-28updated for version 7.3.482v7.3.482Bram Moolenaar
Problem: With 'cursorbind' set moving up/down does not always keep the same column. Solution: Set curswant appropriately. (Gary Johnson)