| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
|
|
|
|
|
| |
Problem: Accidentally removed #ifdef.
Solution: Put it back. (Masanori Misono)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Compiler warning for self-comparison.
Solution: Define ONE_WINDOW and add #ifdef.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Access memory beyond the end of the line. (Dominique Pelle)
Solution: Adjust the cursor column.
|
|
|
|
|
| |
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
|
|
|
|
|
| |
Problem: The sign column disappears when the last sign is deleted.
Solution: Add the 'signcolumn' option. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Looping over windows, buffers and tab pages is inconsistant.
Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: The versplit feature makes the code uneccessary complicated.
Solution: Remove FEAT_VERTSPLIT, always support vertical splits when
FEAT_WINDOWS is defined.
|
|
|
|
|
|
| |
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
|
|
|
|
|
|
| |
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Also remove use of HAVE_STDARG_H.
|
|
|
|
|
| |
Problem: plines_nofill() used without the diff feature.
Solution: Define PLINES_NOFILL().
|
|
|
|
|
| |
Problem: "zt" still doesn't work well with filler lines. (Gary Johnson)
Solution: Check for filler lines above the cursor. (Christian Brabandt)
|
|
|
|
|
| |
Problem: "zt" in diff mode does not always work properly. (Gary Johnson)
Solution: Don't count filler lines twice. (Christian Brabandt)
|
|
|
|
|
| |
Problem: More problems reported by coverity.
Solution: Avoid the warnings. (Christian Brabandt)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Issue 252: Cursor moves in a zero-height window.
Solution: Check for zero height. (idea by Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Cursurline highlighting not redrawn when scrolling. (John
Marriott)
Solution: Check for required redraw in two places.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
|
|
|
|
|
| |
Problem: Compiler warning for unused variable. (Tony Mechelynck)
Solution: Add #ifdef.
|
|
|
|
|
|
| |
Problem: When using scrollbind the cursor can end up below the last line.
(mvxxc)
Solution: Reset w_botfill when scrolling up. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Computing number of lines may have an integer overflow.
Solution: Check for MAXCOL explicitly. (Dominique Pelle)
|
|
|
|
|
|
| |
Problem: With 'cursorbind' set moving up/down does not always keep the same
column.
Solution: Set curswant appropriately. (Gary Johnson)
|
|
|
|
|
|
| |
Problem: 'cursorbind' does not work correctly in combination with
'virtualedit' set to "all".
Solution: Copy coladd. (Gary Johnson)
|
|
|
|
|
|
|
| |
Problem: With '$' in 'cpoptions' the $ is not displayed in the first
column.
Solution: Use -1 instead of 0 as a special value. (Hideki Eiraku and
Hirohito Higashi)
|
|
|
|
|
| |
Problem: Compiler warnings for shadowed variables.
Solution: Remove or rename the variables.
|
|
|
|
|
|
|
|
| |
Problem: Executing a :normal command in 'statusline' evaluation causes the
cursor to move. (Dominique Pelle)
Solution: When updating the cursor for 'cursorbind' allow the cursor beyond
the end of the line. When evaluating 'statusline' temporarily
reset 'cursorbind'.
|
|
|
|
|
|
| |
Problem: When 'cursorbind' is set another window may scroll unexpectedly
when 'scrollbind' is also set. (Xavier Wang)
Solution: Don't call update_topline() if 'scrollbind' is set.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Problem: CTRL-B doesn't go back to the first line of the buffer.
Solution: Avoid an overflow when adding MAXCOL.
|
|
|
|
|
|
|
| |
Problem: Computing the cursor column in validate_cursor_col() is wrong when
line numbers are used and 'n' is not in 'cpoptions', causing the
popup menu to be positioned wrong.
Solution: Correctly use the offset. (partly by Dominique Pelle)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|