aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
Commit message (Collapse)AuthorAge
...
* | ext_cmdline: extend "function" to generic "block" mechanismBjörn Linse2017-10-26
| |
* | ext_cmdline: disable some redrawsBjörn Linse2017-10-26
| |
* | ext_cmdline: add support for highlightingBjörn Linse2017-10-26
| |
* | ext_cmdline: lintDongdong Zhou2017-10-26
| |
* | ext_cmdline: added indentDongdong Zhou2017-10-26
| |
* | ext_cmdline: added cmdline levelDongdong Zhou2017-10-26
| | | | | | | | add cchar_to_string
* | ext_cmdline: change to use ui_callDongdong Zhou2017-10-26
| |
* | ext_cmdline: fix firstc, change cmdline_leave to cmdline_hideDongdong Zhou2017-10-26
| |
* | ext_cmdline: change the content formatDongdong Zhou2017-10-26
| |
* | ext_cmdline: use standard external ui functionsDongdong Zhou2017-10-26
| |
* | ext_cmdline: lintDongdong Zhou2017-10-26
| |
* | ext_cmdline: add testsDongdong Zhou2017-10-26
| |
* | ext_cmdline: Added cmdline promptDongdong Zhou2017-10-26
| |
* | ext_cmdline: allow external ui to draw cmdlineDongdong Zhou2017-10-26
|/
* ops: save and restore clipboard batch status when entering cmdline windowBjörn Linse2017-10-15
|
* getcmdline_prompt: Temporarily disable msg_silent so prompt is displayedJames McCoy2017-10-14
| | | | | vim-patch:7.4.1636 Closes #7378
* eventloop: restore redraw in cmdline K_EVENT handlerJustin M. Keyes2017-09-05
| | | | Restores behavior from commit: 02e86ef04cc1
* eventloop: do not redraw in cmdline K_EVENT handlerJustin M. Keyes2017-09-05
| | | | | If :echo is done by an timer or event (such as FocusGained/FocusLost), redrawcmdline() clobbers it.
* eventloop: FocusGained: schedule event instead of pseudokeyJustin M. Keyes2017-09-05
| | | | | closes #4840 closes #6164
* ex_getln: Make error messages look betterZyX2017-08-14
|
* Merge branch 'master' into colored-cmdlineZyX2017-08-06
|\
| * build: silence maybe-uninitialized warningJustin M. Keyes2017-08-06
| | | | | | | | False positive. From C:\msys64\mingw64\bin\gcc.exe (appveyor CI)
| * terminal: block redraw during c_CTRL-DJustin M. Keyes2017-08-05
| | | | | | | | | | | | | | | | Unlike the normal wildmenu, the CTRL-D wild-list is not restored by statusline redraw. (Semantics: ^D is controlled by 'wildoptions' option, so it's in the "wild..." family.) TODO: externalize the c_CTRL-D wild-list.
* | Merge branch 'master' into colored-cmdlineZyX2017-07-31
|\|
| * vim-patch:8.0.0034Jurica Bradaric2017-07-25
| | | | | | | | | | | | | | Problem: No completion for ":messages". Solution: Complete "clear" argument. (Hirohito Higashi) https://github.com/vim/vim/commit/9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8
* | ex_getln: Cache highlight callback calling resultsZyX2017-07-26
| |
* | ex_getln: Avoid GCC “unused variable” warning from QBZyX2017-07-18
| | | | | | | | | | | | | | 17:25:45,363 WARN - /home/quickbuild/buildagent/workspace/root/neovim/pull-requests-automated/src/nvim/ex_getln.c: In function ‘color_cmdline’: 17:25:45,363 WARN - /home/quickbuild/buildagent/workspace/root/neovim/pull-requests-automated/src/nvim/ex_getln.c:2335:8: error: variable ‘printed_errmsg’ set but not used [-Werror=unused-but-set-variable] 17:25:45,363 WARN - bool printed_errmsg = false; 17:25:45,363 WARN - ^ 17:25:45,399 WARN - cc1: all warnings being treated as errors
* | *: Fix clint errorsZyX2017-07-18
| |
* | ex_getln: Check prev_prompt_errors before running redrawcmdlineZyX2017-07-18
| | | | | | | | Otherwise there will be infinite recursion and shortly a crash. Running redrawcmdline recursively occurs under color_cmdline_error label.
* | ex_getln: Replace global with entry in save_cclineZyX2017-07-17
| |
* | ex_getln: Do not do useless try_enter/try_leave callsZyX2017-07-17
| | | | | | | | These are actually needed for two modes only. And even for these modes they should eventually go away.
* | ex_getln: Do not goto color_cmdline_end without first cleaning upZyX2017-07-17
| | | | | | | | | | | | | | The issue with debug mode was actually not cleaning up after `try_enter`: location `&tstate` was pointing to got invalidated and received some “garbage” (actually, values that got stored on the stack afterwards). But pointer to that garbage was still stored in `msg_list`, so next attempt to check it resulted in a crash.
* | api helpers: Save/restore more values in try_enter/try_leaveZyX2017-07-16
| | | | | | | | This fixes memory leak reported by ASAN. This also somehow fixes test40, though I have no idea why except that that test yields memory leak report.
* | Merge branch 'master' into colored-cmdlineZyX2017-07-15
|\|
| * ex_getln: Silent V519: value is assigned twice successivelyZyX2017-07-04
| | | | | | This is usual “passing data via global” false positive.
| * ex_getln: Lint command_line_handle_key readability/fn_sizeJames McCoy2017-06-26
| | | | | | | | | | Create new functions to handle moving to the next incsearch match or matching history index.
| * vim-patch:7.4.2320James McCoy2017-06-26
| | | | | | | | | | | | | | | | | | Problem: Redraw problem when using 'incsearch'. Solution: Save the current view when deleting characters. (Christian Brabandt) Fix that the '" mark is set in the wrong position. Don't change the search start when using BS. https://github.com/vim/vim/commit/dda933d06c06c2792bd686d059f6ad19191ad30b
| * vim-patch:7.4.2318James McCoy2017-06-26
| | | | | | | | | | | | | | | | Problem: When 'incsearch' is not set CTRL-T and CTRL-G are not inserted as before. Solution: Move vim/vim#ifdef and don't use goto. https://github.com/vim/vim/commit/349e7d94e6bbb253bb87adad9039f095128ab543
| * vim-patch:7.4.2268James McCoy2017-06-26
| | | | | | | | | | | | | | Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys. Solution: Use CTRL-T and CTRL-G instead. https://github.com/vim/vim/commit/1195669f9e434fa9ab8b57ee9470bf951e4990b8
| * vim-patch:7.4.2259raichoo2017-06-26
| | | | | | | | | | | | | | | | Problem: With 'incsearch' can only see the next match. Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian Brabandt) https://github.com/vim/vim/commit/4d6f32cbfbaf324ac4a25c0206a5db0e9f7a48f7
* | ex_getln: Save and restore try stateZyX2017-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: when processing cycle such as :for pat in [' \ze*', ' \zs*'] : try : let l = matchlist('x x', pat) : $put ='E888 NOT detected for ' . pat : catch : $put ='E888 detected for ' . pat : endtry :endfor `:let l = …` throwing an error causes this error to be caught after color_cmdline attempts to get callback for highlighting next line (the one with `$put = 'E888 NOT…`). Saving/restoring state prevents this from happening.
* | ex_getln: Do not make <C-c> interrupt input() after interrupting hl cbZyX2017-06-28
| |
* | ex_getln: Fix indentZyX2017-06-28
| |
* | ex_getln: Make sure standard error reporting facility is not usedZyX2017-06-28
| |
* | ex_getln: Fix “echoerr msg not shown” problemZyX2017-06-28
| | | | | | | | | | This also attempted to fix problem with cancelling input() on error by avoiding standard error printing facilities (assumed thrown error message is the problem), but with no luck so far.
* | ex_getln: Call highlight callback inside :tryZyX2017-06-28
| |
* | ex_getln: Enable coloring for expression modeZyX2017-06-27
| |
* | eval,ex_getln: Add support for coloring input() promptsZyX2017-06-27
| |
* | ex_getln: Add some more tests, fix some found errorsZyX2017-06-27
| |
* | ex_getln: Add basic support for coloring command-line promptZyX2017-06-27
| |