summaryrefslogtreecommitdiff
path: root/src/normal.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.0066v8.0.0066Bram Moolenaar2016-11-051-0/+5
| | | | | | | Problem: when calling an operator function when 'linebreak' is set, it is internally reset before calling the operator function. Solution: Restore 'linebreak' before calling op_function(). (Christian Brabandt)
* patch 8.0.0060v8.0.0060Bram Moolenaar2016-11-041-2/+6
| | | | | | Problem: When using an Ex command for 'keywordprg' it is escaped as with a shell command. (Romain Lafourcade) Solution: Escape for an Ex command. (closes #1175)
* patch 8.0.0023v8.0.0023Bram Moolenaar2016-10-081-7/+75
| | | | | Problem: "gd" and "gD" may find a match in a comment or string. Solution: Ignore matches in comments and strings. (Anton Lindqvist)
* patch 7.4.2365v7.4.2365Bram Moolenaar2016-09-121-2/+1
| | | | | Problem: Needless line break. Confusing directory name. Solution: Remove line break. Prepend "../" to "tools".
* patch 7.4.2347v7.4.2347Bram Moolenaar2016-09-081-3/+2
| | | | | | | Problem: Crash when closing a buffer while Visual mode is active. (Dominique Pelle) Solution: Adjust the position before computing the number of lines. When closing the current buffer stop Visual mode.
* patch 7.4.2326v7.4.2326Bram Moolenaar2016-09-041-0/+3
| | | | | | Problem: Illegal memory access when Visual selection starts in invalid position. (Dominique Pelle) Solution: Correct position when needed.
* patch 7.4.2320v7.4.2320Bram Moolenaar2016-09-031-1/+5
| | | | | | | 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.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-1/+1
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.1981v7.4.1981Bram Moolenaar2016-07-021-2/+2
| | | | | Problem: No testing for Farsi code. Solution: Add a minimal test. Clean up Farsi code.
* patch 7.4.1940v7.4.1940Bram Moolenaar2016-06-151-2/+5
| | | | | Problem: "gd" hangs in some situations. (Eric Biggers) Solution: Remove the SEARCH_START flag when looping. Add a test.
* patch 7.4.1833v7.4.1833Bram Moolenaar2016-05-241-2/+15
| | | | | Problem: Cannot use an Ex command for 'keywordprg'. Solution: Accept an Ex command. (Nelo-Thara Wallus)
* patch 7.4.1748v7.4.1748Bram Moolenaar2016-04-161-1/+2
| | | | | | Problem: "gD" does not find match in first column of first line. (Gary Johnson) Solution: Accept match at the cursor.
* patch 7.4.1615v7.4.1615Bram Moolenaar2016-03-191-0/+4
| | | | | Problem: Build fails with tiny features. Solution: Adjust #ifdefs.
* patch 7.4.1611v7.4.1611Bram Moolenaar2016-03-191-14/+4
| | | | | | Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
* patch 7.4.1513v7.4.1513Bram Moolenaar2016-03-081-5/+12
| | | | | Problem: "J" fails if there are not enough lines. (Christian Neukirchen) Solution: Reduce the count, only fail on the last line.
* patch 7.4.1433v7.4.1433Bram Moolenaar2016-02-271-18/+0
| | | | | | Problem: The Sniff interface is no longer useful, the tool has not been available for may years. Solution: Delete the Sniff interface and related code.
* patch 7.4.1222v7.4.1222Bram Moolenaar2016-01-311-5/+1
| | | | | Problem: ":normal" command and others missing in tiny build. Solution: Graduate FEAT_EX_EXTRA.
* patch 7.4.1211v7.4.1211Bram Moolenaar2016-01-301-313/+187
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-123/+123
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* patch 7.4.1150v7.4.1150Bram Moolenaar2016-01-211-1/+1
| | | | | | | Problem: 'langmap' applies to the first character typed in Select mode. (David Watson) Solution: Check for SELECTMODE. (Christian Brabandt, closes #572) Add the 'x' flag to feedkeys().
* patch 7.4.1089v7.4.1089Bram Moolenaar2016-01-121-0/+1
| | | | | Problem: Repeating CTRL-A doesn't work. Solution: Call prep_redo_cmd(). (Hirohito Higashi)
* patch 7.4.1087v7.4.1087Bram Moolenaar2016-01-101-59/+28
| | | | | | Problem: CTRL-A and CTRL-X do not work properly with blockwise visual selection if there is a mix of Tab and spaces. Solution: Add OP_NR_ADD and OP_NR_SUB. (Hirohito Higashi)
* patch 7.4.1084v7.4.1084Bram Moolenaar2016-01-101-1/+1
| | | | | | Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong numbers. Solution: Append right size to the redo buffer. (Ozaki Kiichi)
* patch 7.4.1042v7.4.1042Bram Moolenaar2016-01-031-1/+1
| | | | | | Problem: g-CTRL-G shows the word count, but there is no way to get the word count in a script. Solution: Add the wordcount() function. (Christian Brabandt)
* patch 7.4.961v7.4.961Bram Moolenaar2015-12-051-0/+3
| | | | | Problem: Test107 fails in some circunstances. Solution: When using "zt", "zb" and "z=" recompute the fraction.
* patch 7.4.929v7.4.929Bram Moolenaar2015-11-191-0/+3
| | | | | | Problem: "gv" after paste selects one character less if 'selection' is "exclusive". Solution: Increment the end position. (Christian Brabandt)
* patch 7.4.883v7.4.883Bram Moolenaar2015-09-251-1/+1
| | | | | | Problem: Block-mode replace works characterwise instead of blockwise after column 147. (Issue #422) Solution: Set Visual mode. (Christian Brabandt)
* patch 7.4.857v7.4.857Bram Moolenaar2015-09-081-1/+2
| | | | | Problem: Dragging the current tab with the mouse doesn't work properly. Solution: Take the current tabpage index into account. (Hirohito Higashi)
* patch 7.4.822v7.4.822Bram Moolenaar2015-08-111-7/+5
| | | | | Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
* patch 7.4.818v7.4.818Bram Moolenaar2015-08-111-4/+5
| | | | | | Problem: 'linebreak' breaks c% if the last Visual selection was block. (Chris Morganiser, Issue 389) Solution: Handle Visual block mode differently. (Christian Brabandt)
* patch 7.4.807v7.4.807Bram Moolenaar2015-08-041-13/+20
| | | | | Problem: After CTRL-V CTRL-A mode isn't updated. (Hirohito Higashi) Solution: Clear the command line or update the displayed command.
* patch 7.4.798v7.4.798Bram Moolenaar2015-07-281-9/+14
| | | | | | Problem: Repeating a change in Visual mode does not work as expected. (Urtica Dioica) Solution: Make redo in Visual mode work better. (Christian Brabandt)
* patch 7.4.793v7.4.793Bram Moolenaar2015-07-211-9/+9
| | | | | Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
* patch 7.4.782v7.4.782Bram Moolenaar2015-07-171-11/+43
| | | | | Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode. Solution: Fix the reported problems. (Christian Brabandt)
* patch 7.4.765v7.4.765Bram Moolenaar2015-07-031-1/+18
| | | | | Problem: CTRL-A and CTRL-X in Visual mode do not always work well. Solution: Improvements for increment and decrement. (Christian Brabandt)
* patch 7.4.754v7.4.754Bram Moolenaar2015-06-251-5/+27
| | | | | | Problem: Using CTRL-A in Visual mode does not work well. (Gary Johnson) Solution: Make it increment all numbers in the Visual area. (Christian Brabandt)
* patch 7.4.753v7.4.753Bram Moolenaar2015-06-251-60/+88
| | | | | | Problem: Appending in Visual mode with 'linebreak' set does not work properly. Also when 'selection' is "exclusive". (Ingo Karkat) Solution: Recalculate virtual columns. (Christian Brabandt)
* patch 7.4.738v7.4.738Bram Moolenaar2015-06-101-0/+2
| | | | | Problem: Can't compile without the syntax highlighting feature. Solution: Add #ifdef around use of w_p_cul. (Hirohito Higashi)
* patch 7.4.734v7.4.734Bram Moolenaar2015-06-091-17/+11
| | | | | | Problem: ml_get error when using "p" in a Visual selection in the last line. Solution: Change the behavior at the last line. (Yukihiro Nakadaira)
* patch 7.4.732v7.4.732Bram Moolenaar2015-06-091-0/+3
| | | | | Problem: The cursor line is not always updated for the "O" command. Solution: Reset the VALID_CROW flag. (Christian Brabandt)
* updated for version 7.4.686v7.4.686Bram Moolenaar2015-03-311-2/+12
| | | | | | Problem: "zr" and "zm" do not take a count. Solution: Implement the count, restrict the fold level to the maximum nesting depth. (Marcin Szamotulski)
* updated for version 7.4.655v7.4.655Bram Moolenaar2015-03-051-0/+8
| | | | | | | Problem: Text deleted by "dit" depends on indent of closing tag. (Jan Parthey) Solution: Do not adjust oap->end in do_pending_operator(). (Christian Brabandt)
* updated for version 7.4.641v7.4.641Bram Moolenaar2015-02-271-6/+16
| | | | | Problem: The tabline menu was using ":999tabnew" which is now invalid. Solution: Use ":$tabnew" instead. (Florian Degner)
* updated for version 7.4.636v7.4.636Bram Moolenaar2015-02-171-5/+18
| | | | | | Problem: A search with end offset gets stuck at end of file. (Gary Johnson) Solution: When a search doesn't move the cursor repeat it with a higher count. (Christian Brabandt)
* updated for version 7.4.606v7.4.606Bram Moolenaar2015-01-271-0/+2
| | | | | Problem: May crash when using a small window. Solution: Avoid dividing by zero. (Christian Brabandt)
* updated for version 7.4.576v7.4.576Bram Moolenaar2015-01-141-5/+46
| | | | | | Problem: Redrawing problem with 'relativenumber' and 'linebreak'. Solution: Temporarily reset 'linebreak' and restore it in more places. (Christian Brabandt)
* updated for version 7.4.490v7.4.490Bram Moolenaar2014-10-311-2/+2
| | | | | | Problem: Cannot specify the buffer to use for "do" and "dp", making them useless for three-way diff. Solution: Use the count as the buffer number. (James McCoy)
* updated for version 7.4.469v7.4.469Bram Moolenaar2014-10-091-3/+4
| | | | | Problem: Can't build with MSVC. (Ken Takata) Solution: Move the assignment after the declarations.
* updated for version 7.4.467v7.4.467Bram Moolenaar2014-10-091-0/+9
|