summaryrefslogtreecommitdiff
path: root/src/move.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.1928: popup windows don't move with the text when making changesv8.1.1928Bram Moolenaar2019-08-251-4/+6
| | | | | | | Problem: Popup windows don't move with the text when making changes. Solution: Add the 'textprop" property to the popup window options, position the popup relative to a text property. (closes #4560) No tests yet.
* patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar2019-08-211-15/+3
| | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
* patch 8.1.1645: cannot use a popup window for a balloonv8.1.1645Bram Moolenaar2019-07-071-0/+90
| | | | | | Problem: Cannot use a popup window for a balloon. Solution: Add popup_beval(). Add the "mousemoved" property. Add the screenpos() function.
* patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar2019-03-301-2/+0
| | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
* patch 8.1.1026: unused conditionv8.1.1026Bram Moolenaar2019-03-201-39/+2
| | | | | Problem: Unused condition. (Coverity) Solution: Remove the condition. Also remove unused #define.
* patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'v8.1.0864Bram Moolenaar2019-01-311-35/+43
| | | | | | | 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)
* patch 8.1.0856: when scrolling a window the cursorline is not always updatedv8.1.0856Bram Moolenaar2019-01-311-3/+1
| | | | | | | | 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.
* patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar2019-01-261-10/+1
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
* patch 8.1.0806: too many #ifdefsv8.1.0806Bram Moolenaar2019-01-241-3/+1
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2.
* patch 8.1.0715: superfluous call to redraw_win_later()v8.1.0715Bram Moolenaar2019-01-111-3/+2
| | | | | Problem: Superfluous call to redraw_win_later(). Solution: Remove the call.
* patch 8.1.0708: third argument for redrawWinline() is always FALSEv8.1.0708Bram Moolenaar2019-01-091-2/+2
| | | | | Problem: Third argument for redrawWinline() is always FALSE. Solution: Drop the argument. (neovim #9479)
* patch 8.1.0543: Coverity warns for leaking memory and using wrong structv8.1.0543Bram Moolenaar2018-11-241-1/+1
| | | | | | Problem: Coverity warns for leaking memory and using wrong struct. Solution: Free pointer when allocation fails. Change "boff" to "loff". (closes #3634)
* patch 8.1.0448: cursorline not removed when using 'cursorbind'v8.1.0448Bram Moolenaar2018-10-021-9/+7
| | | | | Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes) Solution: Store the last cursor line per window. (closes #3488)
* patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-7/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
* patch 8.1.0435: cursorline highlight not removed in some situationv8.1.0435Bram Moolenaar2018-09-251-0/+6
| | | | | | | Problem: Cursorline highlight not removed in some situation. (Vitaly Yashin) Solution: Reset last_cursorline when resetting 'cursorline'. (Christian Brabandt, closes #3481)
* patch 8.1.0374: moving the cursor is slow when 'relativenumber' is setv8.1.0374Bram Moolenaar2018-09-121-12/+16
| | | | | Problem: Moving the cursor is slow when 'relativenumber' is set. Solution: Only redraw the number column, not all lines.
* patch 8.1.0373: screen updating still slow when 'cursorline' is setv8.1.0373Bram Moolenaar2018-09-121-1/+3
| | | | | Problem: Screen updating still slow when 'cursorline' is set. Solution: Fix setting last_cursorline.
* patch 8.1.0372: screen updating slow when 'cursorline' is setv8.1.0372Bram Moolenaar2018-09-121-1/+20
| | | | | Problem: Screen updating slow when 'cursorline' is set. Solution: Only redraw the old and new cursor line, not all lines.
* patch 8.1.0174: after paging up and down fold line is wrongv8.1.0174Bram Moolenaar2018-07-101-11/+16
| | | | | | Problem: After paging up and down fold line is wrong. Solution: Correct the computation of w_topline and w_botline. (Hirohito Higashi)
* patch 8.0.1566: too many #ifdefsv8.0.1566Bram Moolenaar2018-03-041-6/+0
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-2/+0
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
* patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar2017-09-221-11/+11
| | | | | Problem: W_WIDTH() is always the same. Solution: Expand the macro.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-26/+5
| | | | | | 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.
* patch 8.0.0956: scrolling in a terminal window has flickerv8.0.0956Bram Moolenaar2017-08-171-1/+1
| | | | | | 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.
* patch 8.0.0515: ml_get errors in silent Ex modev8.0.0515Bram Moolenaar2017-03-271-5/+4
| | | | | | 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.
* patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar2017-03-121-1/+1
| | | | | Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
* patch 8.0.0193: accidentally removed #ifdefv8.0.0193Bram Moolenaar2017-01-151-0/+2
| | | | | Problem: Accidentally removed #ifdef. Solution: Put it back. (Masanori Misono)
* patch 8.0.0188: redrawing for 'cursorbind' is inefficientv8.0.0188Bram Moolenaar2017-01-151-4/+2
| | | | | | 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.
* patch 8.0.0182: cursor ilne not update when 'cursorbind' is setv8.0.0182Bram Moolenaar2017-01-141-1/+1
| | | | | | | 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.
* patch 8.0.0181: with cursorbind set cursor column highlighting is offv8.0.0181Bram Moolenaar2017-01-141-0/+4
| | | | | | 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)
* patch 8.0.0069v8.0.0069Bram Moolenaar2016-11-061-2/+2
| | | | | Problem: Compiler warning for self-comparison. Solution: Define ONE_WINDOW and add #ifdef.
* patch 8.0.0044v8.0.0044Bram Moolenaar2016-10-181-5/+2
| | | | | | 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.
* patch 7.4.2322v7.4.2322Bram Moolenaar2016-09-041-0/+1
| | | | | Problem: Access memory beyond the end of the line. (Dominique Pelle) Solution: Adjust the cursor column.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2201v7.4.2201Bram Moolenaar2016-08-121-6/+1
| | | | | Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt)
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-1/+1
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.1611v7.4.1611Bram Moolenaar2016-03-191-5/+5
| | | | | | Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
* patch 7.4.1211v7.4.1211Bram Moolenaar2016-01-301-89/+59
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-12/+12
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* patch 7.4.863v7.4.863Bram Moolenaar2015-09-091-33/+8
| | | | | Problem: plines_nofill() used without the diff feature. Solution: Define PLINES_NOFILL().
* patch 7.4.856v7.4.856Bram Moolenaar2015-09-081-6/+4
| | | | | Problem: "zt" still doesn't work well with filler lines. (Gary Johnson) Solution: Check for filler lines above the cursor. (Christian Brabandt)
* patch 7.4.853v7.4.853Bram Moolenaar2015-09-011-5/+7
| | | | | Problem: "zt" in diff mode does not always work properly. (Gary Johnson) Solution: Don't count filler lines twice. (Christian Brabandt)
* patch 7.4.822v7.4.822Bram Moolenaar2015-08-111-1/+1
| | | | | Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
* updated for version 7.4.669v7.4.669Bram Moolenaar2015-03-201-1/+1
| | | | | | 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)
* updated for version 7.4.550v7.4.550Bram Moolenaar2014-12-131-22/+4
| | | | | | | 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.
* updated for version 7.4.458v7.4.458Bram Moolenaar2014-09-231-0/+12
| | | | | Problem: Issue 252: Cursor moves in a zero-height window. Solution: Check for zero height. (idea by Christian Brabandt)
* updated for version 7.4.226v7.4.226Bram Moolenaar2014-03-281-16/+26
| | | | | | Problem: Cursurline highlighting not redrawn when scrolling. (John Marriott) Solution: Check for required redraw in two places.
* updated for version 7.4.219v7.4.219Bram Moolenaar2014-03-271-13/+20
| | | | | | 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.
* updated for version 7.4.212v7.4.212Bram Moolenaar2014-03-231-6/+0
| | | | | | Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
* updated for version 7.4.177v7.4.177Bram Moolenaar2014-02-111-0/+2
| | | | | Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef.