Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +02:00
Bram Moolenaar
630afe889a
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line
...
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas
Werling)
Solution: use ins_char() to add the character. (Christian Brabandt,
closes #3114 ) Rename PCHAR() to PBYTE() to avoid mistakes like
this.
2018-06-28 19:26:28 +02:00
Bram Moolenaar
f52f9ea8f5
patch 8.1.0118: duplicate error message for put command
...
Problem: Duplicate error message for put command.
Solution: Check return value of u_save(). (Jason Franklin)
2018-06-27 20:49:44 +02:00
Bram Moolenaar
04958cbaf2
patch 8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711 )
2018-06-23 19:23:02 +02:00
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
e2c8d83926
patch 8.0.1787: cannot insert the whole cursor line
...
Problem: Cannot insert the whole cursor line.
Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857 )
2018-05-01 19:24:03 +02:00
Bram Moolenaar
35e802e713
patch 8.0.1779: deleting in a block selection causes problems
...
Problem: Deleting in a block selection causes problems.
Solution: Check the length of the line before adding bd.textcol and
bd.textlen. (Christian Brabandt, closes #2825 )
2018-04-30 17:21:03 +02:00
Bram Moolenaar
8c87a2b1fe
patch 8.0.1682: auto indenting breaks inserting a block
...
Problem: Auto indenting breaks inserting a block.
Solution: Do not check for cursor movement if indent was changed. (Christian
Brabandt, closes #2778 )
2018-04-10 13:15:47 +02:00
Bram Moolenaar
672afb9f66
patch 8.0.1679: compiler warning for printf format
...
Problem: Compiler warning for printf format. (Chdiza)
Solution: Change type to "long long". (closes #2791 )
2018-04-08 16:34:22 +02:00
Bram Moolenaar
ea39176baa
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
...
Problem: No compiler warning for wrong format in vim_snprintf().
Solution: Add printf attribute for gcc. Fix reported problems.
2018-04-08 13:07:22 +02:00
Bram Moolenaar
3324d0a864
patch 8.0.1587: inserting from the clipboard doesn't work literally
...
Problem: inserting from the clipboard doesn't work literally
Solution: When pasting from the * or + register always assume literally.
2018-03-06 19:51:13 +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
a0221df149
patch 8.0.1501: out-of-memory situation not correctly handled
...
Problem: Out-of-memory situation not correctly handled. (Coverity)
Solution: Check for NULL value.
2018-02-11 15:07:22 +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
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
ee219b0e9f
patch 8.0.1399: warnings and errors when building tiny version
...
Problem: Warnings and errors when building tiny version. (Tony Mechelynck)
Solution: Add #ifdefs.
2017-12-17 14:55:01 +01:00
Bram Moolenaar
7e1652c63c
patch 8.0.1394: cannot intercept a yank command
...
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes #2333 )
2017-12-16 18:27:02 +01:00
Bram Moolenaar
5fe6bdf858
patch 8.0.1374: CTRL-A does not work with an empty line
...
Problem: CTRL-A does not work with an empty line. (Alex)
Solution: Decrement the end only once. (Hirohito Higashi, closes #2387 )
2017-12-05 17:22:12 +01:00
Bram Moolenaar
8bfe07b708
patch 8.0.1199: when 'clipboard' is "autoselectplus" star register is set
...
Problem: When 'clipboard' is "autoselectplus" the star register is also
set. (Gilles Moris)
Solution: Don't set the star register in this situation.
2017-10-15 21:47:05 +02:00
Bram Moolenaar
2254a8ad0c
patch 8.0.1044: warning for uninitialized variable
...
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Initialize ind_pre.
2017-09-03 14:03:43 +02:00
Bram Moolenaar
4ec86ddd77
patch 8.0.1043: warning for uninitialized variable
...
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Move code to check indent inside "if".
2017-09-02 23:28:54 +02:00
Bram Moolenaar
e2e69e4813
patch 8.0.1041: bogus characters when indenting during visual-block append
...
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
2017-09-02 20:30:35 +02:00
Bram Moolenaar
bae5a17a73
patch 8.0.0879: crash when shifting with huge number
...
Problem: Crash when shifting with huge number.
Solution: Check for overflow. (Dominique Pelle, closes #1945 )
2017-08-06 15:42:06 +02:00
Bram Moolenaar
60d0e97497
patch 8.0.0727: message about what register to yank into is not translated
...
Problem: Message about what register to yank into is not translated.
(LemonBoy)
Solution: Add _().
2017-07-16 20:54:34 +02:00
Bram Moolenaar
e45deb7997
patch 8.0.0724: the message for yanking doesn't indicate the register
...
Problem: The message for yanking doesn't indicate the register.
Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
closes #1803 , closes #1809 )
2017-07-16 17:56:16 +02:00
Bram Moolenaar
18d90b95c4
patch 8.0.0681: unnamed register only contains the last deleted text
...
Problem: Unnamed register only contains the last deleted text when
appending deleted text to a register. (Wolfgang Jeltsch)
Solution: Only set y_previous when not using y_append. (Christian Brabandt)
2017-06-27 15:39:14 +02:00
Bram Moolenaar
3fcfa35f82
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work
...
Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
:global command.
Solution: When setting the clipboard was postponed, do not clear the
register.
2017-03-29 19:20:41 +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
025a6b708a
patch 8.0.0453: adding fold marker creates new comment
...
Problem: Adding fold marker creates new comment.
Solution: Use an existing comment if possible. (LemonBoy, closes #1549 )
2017-03-12 20:37:21 +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
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +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
f58a8475e1
patch 8.0.0421: diff mode wrong when adding line at end of buffer
...
Problem: Diff mode is displayed wrong when adding a line at the end of a
buffer.
Solution: Adjust marks in diff mode. (James McCoy, closes #1329 )
2017-03-05 18:03:04 +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
23fa81d222
patch 8.0.0291: Visual block insertion does not insert in all lines
...
Problem: Visual block insertion does not insert in all lines.
Solution: Don't bail out of insert too early. Add a test. (Christian
Brabandt, closes #1290 )
2017-02-01 21:50:21 +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
6a717f17ec
patch 8.0.0236: gcc complains about uninitialized variable
...
Problem: Gcc complains that a variable may be used uninitialized. Confusion
between variable and label name. (John Marriott)
Solution: Initialize it. Rename end to end_lnum.
2017-01-24 20:47:50 +01:00
Bram Moolenaar
941c12da3c
patch 8.0.0234: crash when using put in Visual mode
...
Problem: When several lines are visually selected and one of them is short,
using put may cause a crash. (Axel Bender)
Solution: Check for a short line. (Christian Brabandt)
2017-01-24 19:55:43 +01:00
Bram Moolenaar
9957a10d0f
patch 8.0.0225: put in Visual block mode terminates early
...
Problem: When a block is visually selected and put is used on the end of
the selection only one line is changed.
Solution: Check for the end properly. (Christian Brabandt, neovim issue
5781)
2017-01-23 21:53:53 +01:00
Bram Moolenaar
c81299684b
patch 8.0.0222: blockwise put on multi-byte character misplaced
...
Problem: When a multi-byte character ends in a zero byte, putting blockwise
text puts it before the character instead of after it.
Solution: Use int instead of char for the character under the cursor.
(Luchr, closes #1403 ) Add a test.
2017-01-22 20:04:51 +01:00
Bram Moolenaar
f8eb9c51e5
patch 8.0.0140
...
Problem: Pasting inserted text in Visual mode does not work properly.
(Matthew Malcomson)
Solution: Stop Visual mode before stuffing the inserted text. (Christian
Brabandt, from neovim #5709 )
2017-01-02 17:31:24 +01:00
Bram Moolenaar
54b2bfa399
patch 8.0.0136
...
Problem: When using indent folding and changing indent the wrong fold is
opened. (Jonathan Fudger)
Solution: Open the fold under the cursor a bit later. (Christian Brabandt)
2017-01-02 14:57:08 +01:00
Bram Moolenaar
d77f9d595e
patch 7.4.2323
...
Problem: Using freed memory when using 'formatexpr'. (Dominique Pelle)
Solution: Make a copy of 'formatexpr' before evaluating it.
2016-09-04 15:13:39 +02:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
a6b7a08ae0
patch 7.4.2192
...
Problem: Generating prototypes with Cygwin doesn't work well.
Solution: Change #ifdefs. (Ken Takata)
2016-08-10 20:53:05 +02:00
Bram Moolenaar
22fcfad292
patch 7.4.1976
...
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
2016-07-01 18:17:26 +02:00
Bram Moolenaar
ad5ca9bc1e
patch 7.4.1948
...
Problem: Using Ctrl-A with double-byte encoding may result in garbled text.
Solution: Skip to the start of a character. (Hirohito Higashi)
2016-06-20 21:26:08 +02:00
Bram Moolenaar
67e3720a9d
patch 7.4.1936
...
Problem: Off-by-one error in bounds check. (Coverity)
Solution: Check register number properly.
2016-06-14 21:32:28 +02:00