aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
Commit message (Collapse)AuthorAge
* *: Fix linter errorsZyX2017-02-15
|
* *: Partial string handling refactoringZyX2017-02-15
| | | | | | | | Main points: - Replace `char_u` with `char` in some cases. - Remove `str[len] = NUL` hack in some cases when `str` may be considered `const`.
* vim-patch:8.0.0275Justin M. Keyes2017-02-06
| | | | | | | | Problem: When checking for CTRL-C typed the GUI may detect a screen resize and redraw the screen, causing trouble. Solution: Set updating_screen in ui_breakcheck(). https://github.com/vim/vim/commit/e3caa1109072b9655f8d5103c92efd73177f8577
* vim-patch:8.0.0274Justin M. Keyes2017-02-04
| | | | | | | | Problem: When update_single_line() is called recursively, or another screen update happens while it is busy, errors may occur. Solution: Check and update updating_screen. (Christian Brabandt) https://github.com/vim/vim/commit/070b33da93ad3a191664bb61f5ccc50781460c03
* vim-patch:7.4.2099 (#5951)Shougo2017-01-15
| | | | | | | Problem: When a keymap is active only "(lang)" is displayed. (Ilya Dogolazky) Solution: Show the keymap name. (Dmitri Vereshchagin, closes vim/vim#933) https://github.com/vim/vim/commit/73ac0c4281a3606651604a3cbcc334bfb3859a87
* Merge pull request #5613 from jamessan/vim-7.4.2183James McCoy2017-01-01
|\ | | | | vim-patch:7.4.2183,7.4.2194,7.4.2201,7.4.2204,0952131,7.4.2215,7.4.2225,7.4.2226,7.4.2272,7.4.2273,7.4.2277,7.4.2294
| * lintJames McCoy2016-12-28
| |
| * vim-patch:7.4.2201Chris Lucas2016-12-28
| | | | | | | | | | | | | | Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt) https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
* | vim-patch:7.4.1834 (#5854)Shougo2017-01-01
|/ | | | | | Problem: Possible crash when conceal is active. Solution: Check for the screen to be valid when redrawing a line. https://github.com/vim/vim/commit/908be438794619f10ef7fa25e24e5893b2ae0189
* vim-patch:8.0.0040Michael Ennen2016-12-07
| | | | | | | Problem: Whole line highlighting with matchaddpos() does not work. Solution: Check for zero length. (Hirohito Higashi) https://github.com/vim/vim/commit/8507747600bddfd6a68aed057840856bf5548e61
* vim-patch:8.0.0033Michael Ennen2016-12-06
| | | | | | | Problem: Cannot use overlapping positions with matchaddpos(). Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi) https://github.com/vim/vim/commit/a6c27ee6db2c328e0ab0e6d143e2a295a0bb9c9a
* vim-patch:7.4.2269Michael Ennen2016-12-06
| | | | | | | | | Problem: Using 'hlsearch' highlighting instead of matchpos if there is no search match. Solution: Pass NULL as last item to next_search_hl() when searching for 'hlsearch' match. (Shane Harper, closes vim/vim#1013) https://github.com/vim/vim/commit/e17bdffff78ebd6a4e3cff26754cc667557ea810
* vim-patch:7.4.2217Michael Ennen2016-12-06
| | | | | | | | Problem: When using matchaddpos() a character after the end of the line can be highlighted. Solution: Only highlight existing characters. (Hirohito Higashi) https://github.com/vim/vim/commit/4f416e41243ca151b95d39d81ce23d00b1484755
* Merge pull request #5674 from brcolow/vim-7.4.1723James McCoy2016-12-01
|\ | | | | vim-patch:7.4.1723
| * vim-patch:7.4.1723Michael Ennen2016-11-26
| | | | | | | | | | | | | | | | Problem: When using try/catch in 'tabline' it is still considered an error and the tabline will be disabled. Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #746) https://github.com/vim/vim/commit/f73d3bc253fa79ad220f52f04b93e782e95a9d43
* | Merge pull request #5665 from brcolow/vim-7.4.1711James McCoy2016-12-01
|\ \ | |/ |/| | | vim-patch:7.4.1711
| * vim-patch:7.4.1711Michael Ennen2016-11-25
| | | | | | | | | | | | | | | | Problem: When using try/catch in 'statusline' it is still considered an error and the status line will be disabled. Solution: Check did_emsg instead of called_emsg. (haya14busa, closes vim/vim#729) https://github.com/vim/vim/commit/a742e084b677f76c67e9e52c4f9fb9ab24002e20
* | vim-patch:7.4.1696Shougo Matsushita2016-11-24
|/ | | | | | | | Problem: When using :stopinsert in a silent mapping the "INSERT" message isn't cleared. (Coacher) Solution: Always clear the message. (Christian Brabandt, closes vim/vim#718) https://github.com/vim/vim/commit/fd773e9e88add7d1ffef890fb9f3a00d613b4326
* encoding: delete non-UTF-8 implementations of multibyte functionsBjörn Linse2016-11-05
| | | | Deleted documentation was duplicated at specific utf_ implementation
* encoding: cleanup mbyte.c given fixed encoding=utf-8Björn Linse2016-11-05
| | | | | | | | | Eliminate mb_init(): Set "enc_utf" and "has_mbyte" early. Eliminate "enc_unicode" and "enc_latin1like". init_chartab() and screenalloc() are already invoked elsewhere in the initialization process. The EncodingChanged autocmd cannot be triggered. At initialization, there is no spellfiles to reload
* vim-patch:7.4.2109 (#5518)Michael Ennen2016-10-25
| | | | | | | | | | vim-patch:7.4.2109 Problem: Setting 'display' to "lastline" is a drastic change, while omitting it results in lots of "@" lines. Solution: Add "truncate" to show "@@@" for a truncated line. https://github.com/vim/vim/commit/ad9c2a08f0509294269a2f11a59a438b944bdd5a
* vim-patch:7.4.1740Nova2016-09-22
| | | | | | | | Problem: syn-cchar defined with matchadd() does not appear if there are no other syntax definitions which matches buffer text. Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes vim/vim#757) https://github.com/vim/vim/commit/4d585022023b96f6507e8cae5ed8fc8d926f5140
* refactor: eliminate misc2.cJustin M. Keyes2016-09-13
| | | | | | | | | | move `call_shell` to misc1.c Move some fns to state.c Move some fns to option.c Move some fns to memline.c Move `vim_chdir*` fns to file_search.c Move some fns to new module, bytes.c Move some fns to fileio.c
* api/ui: allow popupmenu to be drawn by external uiBjörn Linse2016-08-29
|
* LintingTommy Allen2016-08-17
|
* highlight: Added QuickFixLine highlight groupTommy Allen2016-08-17
| | | | | | | | | | | | - Links to Search by default screen.c: Combine CursorLine with QuickFixLine - HLF_QFL takes priority over HLF_CUL docs: Updated to mention QuickFixLine runtime: Added QuickFixLine to nvimHLGroup tests: QuickFixLine highlight
* vim-patch:7.4.1147 (#5005)prollings2016-07-10
| | | | | | | Problem: Conflict for "chartab". (Kazunobu Kuriyama) Solution: Rename the global one to something less obvious. Move it into src/chartab.c. https://github.com/vim/vim/commit/88e8f9f14434a7cd538d0c159dc432bea869a5bd
* screen.c: Fix listchars hl for space/nbsp in visual mode.Yichao Zhou2016-05-20
|
* lintYichao Zhou2016-05-20
|
* Let the highlight of listchars override cursorlineYichao Zhou2016-05-20
| | | | Closes #3670
* Merge pull request #4628 from brcolow/vim-7.4.1101Justin M. Keyes2016-05-10
|\ | | | | vim-patch: 7.4.1101
| * vim-patch: 7.4.1101Michael Ennen2016-04-26
| | | | | | | | | | | | | | | | | | Problem: With 'rightleft' and concealing the cursor may move to the wrong position. Solution: Compute the column differently when 'rightleft' is set. (Hirohito Higashi) https://github.com/vim/vim/commit/e39b3d9fb4e4006684c33847d1ef6a0d742699dd
* | *: Fix new linter errorsZyX2016-05-01
|/ | | | Originally there were 128 new errors, so I thought this is a good idea to fix all of them. Of course, this commit also fixes many suppressed errors.
* Merge #4265 'vim-patch:7.4.925'.Justin M. Keyes2016-03-02
|\
| * vim-patch:7.4.925watiko2016-02-17
| | | | | | | | | | | | | | | | Problem: User may yank or put using the register being recorded in. Solution: Add the recording register in the message. (Christian Brabandt, closes vim/vim#470) https://github.com/vim/vim/commit/a0ed84a26897c994512873a895b9fc54e90c6845
* | bufhl: new mechanism for plugins to add highlights to a bufferBjörn Linse2016-02-23
|/
* Merge pull request #4234 from watiko/vim-7.4.977Justin M. Keyes2016-02-17
|\ | | | | vim-patch:7.4.{818,883,977}
| * vim-patch:7.4.977watiko2016-02-11
| | | | | | | | | | | | | | | | Problem: 'linebreak' does not work properly when using "space" in 'listchars'. Solution: (Hirohito Higashi, Christian Brabandt) https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
* | vim-patch:7.4.792watiko2016-02-11
|/ | | | | | | Problem: Can only conceal text by defining syntax items. Solution: Use matchadd() to define concealing. (Christian Brabandt) https://github.com/vim/vim/commit/6561d52ecbe6e24d1b90403078cc8b76c53c42fc
* coverity/135004: Null pointer dereferencesNikolai Aleksandrovich Pavlov2016-02-03
|
* tabline: Switch to functions, handle different click typesZyX2016-02-01
|
* tabline: Add %[] atom to the tabline, for random commands on clickZyX2016-02-01
| | | | Currently untested and undocumented.
* vim-patch:7.4.949watiko2016-01-28
| | | | | | | | Problem: When using 'colorcolumn' and there is a sign with a fullwidth character the highlighting is wrong. (Andrew Stewart) Solution: Only increment vcol when in the right state. (Christian Brabandt) https://github.com/vim/vim/commit/32a214e78df0120f92fe049eab1385c60f0cdb0b
* vim-patch:7.4.639watiko2016-01-28
| | | | | | | Problem: Combination of linebreak and conceal doesn't work well. Solution: Fix the display problems. (Christian Brabandt) https://github.com/vim/vim/commit/8fc6bc71266e342d339c851b3ee472357f917597
* vim-patch:7.4.722Jurica Bradaric2016-01-24
| | | | | | | Problem: 0x202f is not recognized as a non-breaking space character. Solution: Add 0x202f to the list. (Christian Brabandt) https://github.com/vim/vim/commit/73284b973a013692dd1055cf210f3138a7f3c497
* Merge pull request #4012 from jbradaric/vim-7.4.729Justin M. Keyes2016-01-21
|\ | | | | vim-patch:7.4.729
| * screen: Fix linting errorsJurica Bradaric2016-01-19
| |
| * vim-patch:7.4.729Jurica Bradaric2016-01-19
| | | | | | | | | | Problem: Occasional crash with 'list' set. Solution: Fix off-by-one error. (Christian Brabandt)
* | vim-patch:7.4.603watiko2016-01-20
|/ | | | | | | | | Problem: 'foldcolumn' may be set such that it fills the whole window, not leaving space for text. Solution: Reduce the foldcolumn width when there is not sufficient room. (idea by Christian Brabandt) https://github.com/vim/vim/commit/1c93429c48c59e22aa8e9cd76f102063799db938
* vim-patch:7.4.721Michael Ennen2016-01-13
| | | | | | | | Problem: When 'list' is set Visual mode does not highlight anything in empty lines. (mgaleski) Solution: Check the value of lcs_eol in another place. (Christian Brabandt) https://github.com/vim/vim/commit/d59c099120919d2d77b431308e390f86c594c825