summaryrefslogtreecommitdiff
path: root/src/insexpand.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2427: can still switch windows for 'completefunc'v8.2.2427Bram Moolenaar2021-01-291-19/+2
| | | | | Problem: Can still switch windows for 'completefunc'. Solution: Also disallow switching windows for other completions.
* patch 8.2.2426: allowing 'completefunc' to switch windows causes troublev8.2.2426Bram Moolenaar2021-01-291-5/+6
| | | | | Problem: Allowing 'completefunc' to switch windows causes trouble. Solution: use "textwinlock" instead of "textlock".
* patch 8.2.2230: Vim9: insert completion runs into errorv8.2.2230Bram Moolenaar2020-12-271-1/+1
| | | | | Problem: Vim9: insert completion runs into error. Solution: Insert colon before range. (closes #7556)
* patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar2020-12-211-2/+2
| | | | | Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
* patch 8.2.2160: various typosv8.2.2160Bram Moolenaar2020-12-181-1/+1
| | | | | Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
* patch 8.2.2130: Insert mode completion messages end up in message historyv8.2.2130Bram Moolenaar2020-12-121-0/+9
| | | | | Problem: Insert mode completion messages end up in message history. Solution: Set msg_hist_off. (closes #7452
* patch 8.2.1978: making a mapping work in all modes is complicatedv8.2.1978Bram Moolenaar2020-11-121-1/+1
| | | | | | Problem: Making a mapping work in all modes is complicated. Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282, closes 4784, based on patch by Bjorn Linse)
* patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar2020-10-281-1/+1
| | | | | Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
* patch 8.2.1911: tiny build failsv8.2.1911Bram Moolenaar2020-10-271-1/+2
| | | | | Problem: Tiny build fails. Solution: Add #ifdef.
* patch 8.2.1907: complete_info().selected may be wrongv8.2.1907Bram Moolenaar2020-10-261-50/+58
| | | | | Problem: Complete_info().selected may be wrong. Solution: Update cp_number if it was never set. (issue #6945)
* patch 8.2.1673: complete_info() selected index has an invalid valuev8.2.1673Bram Moolenaar2020-09-121-0/+1
| | | | | | Problem: complete_info() selected index has an invalid value. (Ben Jackson) Solution: Set the index when there is only one match. (closes #6945) Add test for complete_info().
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-2/+2
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
* patch 8.2.0751: Vim9: performance can be improvedv8.2.0751Bram Moolenaar2020-05-131-2/+2
| | | | | | Problem: Vim9: performance can be improved. Solution: Don't call break. Inline check for list materialize. Make an inline version of ga_grow().
* patch 8.2.0670: cannot change window when evaluating 'completefunc'v8.2.0670Bram Moolenaar2020-04-301-5/+6
| | | | | | Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window.
* patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'v8.2.0614Bram Moolenaar2020-04-211-8/+14
| | | | | | Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan Lakshmanan) Solution: Lock the text while evaluating 'completefunc'.
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar2020-04-021-2/+2
| | | | | Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
* patch 8.2.0159: non-materialized range() list causes problemsv8.2.0159Bram Moolenaar2020-01-271-0/+2
| | | | | Problem: Non-materialized range() list causes problems. (Fujiwara Takuya) Solution: Materialize the list where needed.
* patch 8.2.0158: triggering CompleteDone earlier is not backwards compatiblev8.2.0158Bram Moolenaar2020-01-261-5/+7
| | | | | | Problem: Triggering CompleteDone earlier is not backwards compatible. (Daniel Hahler) Solution: Add CompleteDonePre instead.
* patch 8.2.0152: restoring ctrl_x_mode is not neededv8.2.0152Bram Moolenaar2020-01-261-11/+6
| | | | | Problem: Restoring ctrl_x_mode is not needed. Solution: Remove restoring the old value, it's changed again soon.
* patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar2020-01-261-2/+2
| | | | | Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
* patch 8.2.0123: complete_info() does not work when CompleteDone is triggeredv8.2.0123Bram Moolenaar2020-01-171-3/+13
| | | | | Problem: complete_info() does not work when CompleteDone is triggered. Solution: Trigger CompleteDone before clearing the info.
* patch 8.2.0086: build error for small versionv8.2.0086Bram Moolenaar2020-01-041-0/+6
| | | | | | Problem: Build error for small version. (Tony Mechelynck) Solution: Only use "user_data" with the +eval feature. Remove unused variable.
* patch 8.2.0084: complete item "user_data" can only be a stringv8.2.0084Bram Moolenaar2020-01-041-15/+26
| | | | | Problem: Complete item "user_data" can only be a string. Solution: Accept any type of variable. (closes #5412)
* patch 8.2.0027: still some /* */ commentsv8.2.0027Bram Moolenaar2019-12-211-3/+3
| | | | | Problem: Still some /* */ comments. Solution: Convert to // comments.
* patch 8.1.2422: "make depend" does not work correctly for libvtermv8.1.2422Bram Moolenaar2019-12-111-1/+1
| | | | | Problem: "make depend" does not work correctly for libvterm. Solution: Fix build dependencies. And a few minor improvements.
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-1/+1
| | | | | Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
* patch 8.1.2313: debugging where a delay comes from is not easyv8.1.2313Bram Moolenaar2019-11-171-1/+1
| | | | | Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
* patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar2019-11-021-2/+2
| | | | | | Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
* patch 8.1.2173: searchit() has too many argumentsv8.1.2173Bram Moolenaar2019-10-181-1/+1
| | | | | Problem: Searchit() has too many arguments. Solution: Move optional arguments to a struct. Add the "wrapped" argument.
* patch 8.1.2096: too many #ifdefsv8.1.2096Bram Moolenaar2019-09-281-4/+0
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_COMMENTS.
* patch 8.1.2062: the mouse code is spread outv8.1.2062Bram Moolenaar2019-09-211-1/+1
| | | | | | Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
* patch 8.1.1903: cannot build without the +eval featurev8.1.1903Bram Moolenaar2019-08-211-185/+200
| | | | | Problem: Cannot build without the +eval feature. Solution: Add missing #ifdefs
* patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar2019-08-211-11/+6
| | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
* patch 8.1.1884: cannot use mouse scroll wheel in popup in Insert modev8.1.1884Bram Moolenaar2019-08-181-0/+30
| | | | | | | Problem: Cannot use mouse scroll wheel in popup in Insert mode. Mouse clicks in popup close the popup menu. Solution: Check if the mouse is in a popup window. Do not let mouse events close the popup menu. (closes #4544)
* patch 8.1.1849v8.1.1849Bram Moolenaar2019-08-151-41/+119
|
* patch 8.1.1769: 'shellslash' is also used for completionv8.1.1769Bram Moolenaar2019-07-281-0/+20
| | | | | Problem: 'shellslash' is also used for completion. Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes #3612)
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-4/+3
| | | | | | Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
* patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar2019-05-241-3/+2
| | | | | Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-2/+2
| | | | | | Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
* patch 8.1.1228: not possible to process tags with a functionv8.1.1228Bram Moolenaar2019-04-281-0/+2
| | | | | Problem: Not possible to process tags with a function. Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010)
* patch 8.1.1138: plugins don't get notified when the popup menu changesv8.1.1138Bram Moolenaar2019-04-081-13/+56
| | | | | Problem: Plugins don't get notified when the popup menu changes. Solution: Add the CompleteChanged event. (Andy Massimino. closes #4176)
* patch 8.1.1124: insert completion flags are mixed upv8.1.1124Bram Moolenaar2019-04-061-64/+73
| | | | | Problem: Insert completion flags are mixed up. Solution: Clean up flags use of ins_compl_add() and cp_flags.
* patch 8.1.1123: no way to avoid filtering for autocomplete functionv8.1.1123Bram Moolenaar2019-04-061-18/+29
| | | | | | Problem: No way to avoid filtering for autocomplete function, causing flickering of the popup menu. Solution: Add the "equal" field to complete items. (closes #3887)
* patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar2019-03-301-2/+0
| | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
* patch 8.1.1076: file for Insert mode is much too bigv8.1.1076Bram Moolenaar2019-03-301-0/+3992
Problem: File for Insert mode is much too big. Solution: Split off the code for Insert completion. (Yegappan Lakshmanan, closes #4044)