Bram Moolenaar
f273245f64
patch 8.1.0027: difficult to make a plugin that feeds a line to a job
...
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
2018-06-03 14:47:35 +02:00
Bram Moolenaar
0b6d911e5d
patch 8.1.0020: cannot tell whether a register is executing or recording
...
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes #2745 ) Rename the global variables for consistency. Store
the register name in reg_executing.
2018-05-22 20:35:17 +02:00
Bram Moolenaar
b946482190
patch 8.0.1809: various typos
...
Problem: Various typos.
Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887 )
2018-05-10 15:09:49 +02:00
Bram Moolenaar
24a2d7264f
patch 8.0.1758: open_line() returns TRUE/FALSE for success/failure
...
Problem: open_line() returns TRUE/FALSE for success/failure.
Solution: Return OK or FAIL.
2018-04-24 19:36:43 +02:00
Bram Moolenaar
1c17ffa461
patch 8.0.1753: various warnings from a static analyser
...
Problem: Various warnings from a static analyser
Solution: Add type casts, remove unneeded conditions. (Christian Brabandt,
closes #2770 )
2018-04-24 15:19:04 +02:00
Bram Moolenaar
8a3bb56230
patch 8.0.1566: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04 20:14:14 +01:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
aef8c3da2b
patch 8.0.1558: no right-click menu in a terminal
...
Problem: No right-click menu in a terminal.
Solution: Implement the right click menu for the terminal.
2018-03-03 18:59:16 +01:00
Bram Moolenaar
d96ff16511
patch 8.0.1523: cannot write and read terminal screendumps
...
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
2018-02-18 22:13:29 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
f12519dec8
patch 8.0.1475: invalid memory access in read_redo()
...
Problem: Invalid memory access in read_redo(). (gy741)
Solution: Convert the replacement character back from a negative number to
CR or NL. (hint by Dominique Pelle, closes #2616 )
2018-02-06 22:52:49 +01:00
Bram Moolenaar
b73fa629d6
patch 8.0.1419: cursor column is not updated after ]s
...
Problem: Cursor column is not updated after ]s. (Gary Johnson)
Solution: Set the curswant flag.
2017-12-21 20:27:47 +01:00
Bram Moolenaar
2efb323e87
patch 8.0.1411: reading invalid memory with CTRL-W :
...
Problem: Reading invalid memory with CTRL-W :.
Solution: Correct the command characters. (closes #2469 )
2017-12-19 12:27:23 +01:00
Bram Moolenaar
819edbe078
patch 8.0.1338: USE_IM_CONTROL is confusing and incomplete
...
Problem: USE_IM_CONTROL is confusing and incomplete.
Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
2017-11-25 17:14:33 +01:00
Bram Moolenaar
73675fbc48
patch 8.0.1323: mouse events in a terminal window may cause endless loop
...
Problem: Mouse events in a terminal window may cause endless loop.
Solution: Adjust position computation. Don't stuff a mouse event when
coming from normal_cmd().
2017-11-20 21:49:19 +01:00
Bram Moolenaar
c3719bd87b
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
...
Problem: balloon_show() only works in terminal when compiled with the GUI.
Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
specific file.
2017-11-18 22:13:31 +01:00
Bram Moolenaar
51b0f3701e
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
...
Problem: Cannot use 'balloonexpr' in a terminal.
Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
terminal. Initial implementation for Unix with GUI.
2017-11-18 18:52:04 +01:00
Bram Moolenaar
2f40d129bf
patch 8.0.1215: newer gcc warns for implicit fallthrough
...
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2017-10-24 21:49:36 +02:00
Bram Moolenaar
44cc4cf72f
patch 8.0.1201: "yL" is affected by 'scrolloff'
...
Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded)
Solution: Don't use 'scrolloff' when an operator is pending.
2017-10-15 22:13:37 +02:00
Bram Moolenaar
eb163d73b1
patch 8.0.1138: click in window toolbar starts Visual mode
...
Problem: Click in window toolbar starts Visual mode.
Solution: Add the MOUSE_WINBAR flag.
2017-09-23 15:08:17 +02:00
Bram Moolenaar
0263146b5d
patch 8.0.1136: W_WIDTH() is always the same
...
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
2017-09-22 15:20:32 +02:00
Bram Moolenaar
1b9645de3c
patch 8.0.1123: cannot define a toolbar for a window
...
Problem: Cannot define a toolbar for a window.
Solution: Add a window-local toolbar.
2017-09-17 23:03:31 +02:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
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-09-16 20:54:51 +02:00
Bram Moolenaar
eef9adddab
patch 8.0.1113: can go to Insert mode from Terminal-Normal mode
...
Problem: Can go to Insert mode from Terminal-Normal mode.
Solution: Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro
Matsumoto, closes #2092 )
2017-09-16 15:38:04 +02:00
Bram Moolenaar
95c83c64be
patch 8.0.1091: test for <cexpr> fails without +balloon_eval feature
...
Problem: Test for <cexpr> fails without +balloon_eval feature.
Solution: Remove #ifdefs.
2017-09-10 18:44:29 +02:00
Bram Moolenaar
a4f99f5a8b
patch 8.0.0998: strange error when using K while only spaces are selected
...
Problem: Strange error when using K while only spaces are selected.
(Christian J. Robinson)
Solution: Check for blank argument.
2017-08-26 16:25:32 +02:00
Bram Moolenaar
9aa1569128
patch 8.0.0962: crash with virtualedit and joining lines
...
Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim
#6726 )
Solution: When using a mark check that coladd is valid.
2017-08-19 15:05:32 +02:00
Bram Moolenaar
989a70c590
patch 8.0.0948: crash if timer closes window while dragging status line
...
Problem: Crash if timer closes window while dragging status line.
Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes
#1979 )
2017-08-16 22:46:01 +02:00
Bram Moolenaar
6fe15bbc87
patch 8.0.0947: entering terminal using C-O C-W C-W goes to Insert mode
...
Problem: When in Insert mode and using CTRL-O CTRL-W CTRL-W to move to a
termainal window, get in a weird Insert mode.
Solution: Don't go to Insert mode in a terminal window. (closes #1977 )
2017-08-16 21:09:18 +02:00
Bram Moolenaar
6d8197485d
patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistent
...
Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
Solution: Stay in Normal mode.
2017-08-06 14:57:49 +02:00
Bram Moolenaar
22aa23fd8c
patch 8.0.0874: can't build with terminal feature
...
Problem: Can't build with terminal feature.
Solution: Include change to term_use_loop(). (Dominique Pelle)
2017-08-05 21:13:36 +02:00
Bram Moolenaar
98fd66d311
patch 8.0.0872: no mouse scroll with a terminal window
...
Problem: Using mouse scroll while a terminal window has focus and the mouse
pointer is on another window does not work. Same for focus in a
non-terminal window ahd the mouse pointer is over a terminal
window.
Solution: Send the scroll action to the right window.
2017-08-05 19:34:47 +02:00
Bram Moolenaar
eb44a68b42
patch 8.0.0858: can exit while a terminal is still running a job
...
Problem: Can exit while a terminal is still running a job.
Solution: Consider a buffer with a running job like a changed file.
2017-08-03 22:44:55 +02:00
Bram Moolenaar
662d938666
patch 8.0.0826: cannot use text objects in Terminal mode
...
Problem: Cannot use text objects in Terminal mode.
Solution: Check for pending operator and Visual mode first. (Yasuhiro
Matsumoto, closes #1906 )
2017-07-31 22:56:24 +02:00
Bram Moolenaar
423802d1a2
patch 8.0.0813: cannot use a terminal window while the job is running
...
Problem: Cannot use Vim commands in a terminal window while the job is
running.
Solution: Implement Terminal Normal mode.
2017-07-30 16:52:24 +02:00
Bram Moolenaar
938783d0ab
patch 8.0.0725: a terminal window does not handle keyboard input
...
Problem: A terminal window does not handle keyboard input.
Solution: Add terminal_loop(). ":term bash -i" sort of works now.
2017-07-16 20:13:26 +02:00
Bram Moolenaar
06f1ed2f78
patch 8.0.0647: syntax highlighting can make cause a freeze
...
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
2017-06-18 22:41:03 +02:00
Bram Moolenaar
fbd0b0af68
patch 8.0.0643: when a pattern search is slow Vim becomes unusable
...
Problem: When 'hlsearch' is set and matching with the last search pattern
is very slow, Vim becomes unusable. Cannot quit search by
pressing CTRL-C.
Solution: When the search times out set a flag and don't try again. Check
for timeout and CTRL-C in NFA loop that adds states.
2017-06-17 18:44:21 +02:00
Bram Moolenaar
28a8193e31
patch 8.0.0609: some people still don't know how to quit
...
Problem: For some people the hint about quitting is not sufficient.
Solution: Put <Enter> separately. Also use ":qa!" to get out even when
there are changes.
2017-06-04 15:33:48 +02:00
Bram Moolenaar
2a79ed293c
patch 8.0.0602: when gF fails to edit the file the cursor still moves
...
Problem: When gF fails to edit the file the cursor still moves to the found
line number.
Solution: Check the return value of do_ecmd(). (Michael Hwang)
2017-05-24 09:51:39 +02:00
Bram Moolenaar
60402d68da
patch 8.0.0568: 1gd may hang
...
Problem: "1gd" may hang.
Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643 )
2017-04-20 18:54:50 +02:00
Bram Moolenaar
8820b48654
patch 8.0.0466: still macros that should be all-caps
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
2017-03-16 17:23:31 +01:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
b5aedf3e22
patch 8.0.0448: some macros are in lower case
...
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
2017-03-12 18:23:53 +01:00
Bram Moolenaar
74a47162a0
patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessary
...
Problem: CTRL-Z and mouse click use CTRL-O unnecessary.
Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453 )
2017-02-26 19:09:05 +01:00
Bram Moolenaar
a1891848d9
patch 8.0.0303: bracketed paste does not work in Visual mode
...
Problem: Bracketed paste does not work in Visual mode.
Solution: Delete the text before pasting
2017-02-04 21:34:31 +01:00
Bram Moolenaar
fd8983b09c
patch 8.0.0296: bracketed paste can only append, not insert
...
Problem: Bracketed paste can only append, not insert.
Solution: When the cursor is in the first column insert the text.
2017-02-02 22:21:29 +01:00
Bram Moolenaar
0b5c93a7f2
patch 8.0.0282: need to use CTRL-O twice when in Visual-Insert mode
...
Problem: When doing a Visual selection and using "I" to go to insert mode,
CTRL-O needs to be used twice to go to Normal mode. (Coacher)
Solution: Check for the return value of edit(). (Christian Brabandt,
closes #1290 )
2017-02-01 15:03:30 +01:00
Bram Moolenaar
ec2da36ca4
patch 8.0.0210: no support for bracketed paste
...
Problem: Vim does not support bracketed paste, as implemented by xterm and
other terminals.
Solution: Add t_BE, t_BD, t_PS and t_PE.
2017-01-21 20:04:22 +01:00
Bram Moolenaar
25b0e6b701
patch 8.0.0208: internally used commands end up in history
...
Problem: Internally used commands for CTRL-Z and mouse click end up in
history. (Matthew Malcomson)
Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead
buffer. (James McCoy, closes #1395 )
2017-01-20 21:51:53 +01:00