summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.0247: cannot add padding to virtual text without highlightv9.0.0247Bram Moolenaar2022-08-236-5/+79
| | | | | Problem: Cannot add padding to virtual text without highlight. Solution: Add the "text_padding_left" argument. (issue #10906)
* patch 9.0.0246: using freed memory when 'tagfunc' deletes the bufferv9.0.0246Bram Moolenaar2022-08-221-0/+12
| | | | | Problem: Using freed memory when 'tagfunc' deletes the buffer. Solution: Make a copy of the tag name.
* patch 9.0.0244: cannot easily get the list of sourced scriptsv9.0.0244Yegappan Lakshmanan2022-08-222-1/+13
| | | | | | Problem: Cannot easily get the list of sourced scripts. Solution: Add the getscriptinfo() function. (Yegappan Lakshmanan, closes #10957)
* patch 9.0.0240: crash when using ":mkspell" with an empty .dic filev9.0.0240Bram Moolenaar2022-08-211-0/+12
| | | | | Problem: Crash when using ":mkspell" with an empty .dic file. Solution: Check for an empty word tree.
* patch 9.0.0238: Shift-Tab shows matches on cmdline when 'wildmenu' is offv9.0.0238Bram Moolenaar2022-08-211-0/+18
| | | | | Problem: Shift-Tab shows matches on cmdline when 'wildmenu' is off. Solution: Only show matches when 'wildmode' contains "list". (closes #10951)
* patch 9.0.0236: popup menu not removed when 'wildmenu' reset while visiblev9.0.0236zeertzjq2022-08-211-0/+10
| | | | | Problem: Popup menu not removed when 'wildmenu' reset while it is visible. Solution: Do not check p_wmnu, only pum_visible(). (closes #10953)
* patch 9.0.0233: removing multiple text properties takes many callsv9.0.0233Ben Jackson2022-08-201-7/+38
| | | | | Problem: Removing multiple text properties takes many calls. Solution: Pass a list to prop_remove(). (Ben Jackson, closes #10945)
* patch 9.0.0232: test with BufNewFile autocmd is flakyv9.0.0232Bram Moolenaar2022-08-201-4/+4
| | | | | Problem: Test with BufNewFile autocmd is flaky. Solution: Use another file name.
* patch 9.0.0230: no error for comma missing in list in :def functionv9.0.0230Bram Moolenaar2022-08-205-15/+16
| | | | | Problem: No error for comma missing in list in :def function. Solution: Check for missing comma. (closes #10943)
* patch 9.0.0229: Vim9: error message for missing type is not clearv9.0.0229Bram Moolenaar2022-08-202-4/+4
| | | | | Problem: Vim9: error message for missing type is not clear. Solution: Mention the context. (issue #10944)
* patch 9.0.0228: crash when pattern looks below the last linev9.0.0228Bram Moolenaar2022-08-191-0/+12
| | | | | Problem: Crash when pattern looks below the last line. Solution: Consider invalid lines to be empty. (closes #10938)
* patch 9.0.0226: job_start() test may fail under valgrindv9.0.0226Bram Moolenaar2022-08-181-0/+1
| | | | | Problem: job_start() test may fail under valgrind. Solution: Wait until the job is running.
* patch 9.0.0225: using freed memory with multiple line breaks in expressionv9.0.0225Bram Moolenaar2022-08-181-0/+13
| | | | | Problem: Using freed memory with multiple line breaks in expression. Solution: Free eval_tofree later.
* patch 9.0.0224: Using NULL pointer when skipping compiled codev9.0.0224Bram Moolenaar2022-08-171-0/+13
| | | | | Problem: Using NULL pointer when skipping compiled code. Solution: Check for skipping.
* patch 9.0.0223: typo in diffmode testv9.0.0223zeertzjq2022-08-171-1/+1
| | | | | Problem: Typo in diffmode test. Solution: Fix the typo. (closes #10932)
* patch 9.0.0222: no good reason why text objects are only in larger buildsv9.0.0222Bram Moolenaar2022-08-161-1/+0
| | | | | Problem: No good reason why text objects are only in larger builds. Solution: Graduate +textobjects.
* patch 9.0.0221: accessing freed memory if compiling nested function failsv9.0.0221Bram Moolenaar2022-08-161-0/+12
| | | | | Problem: Accessing freed memory if compiling nested function fails. Solution: Mess up the variable name so that it won't be found.
* patch 9.0.0220: invalid memory access with for loop over NULL stringv9.0.0220Bram Moolenaar2022-08-161-0/+12
| | | | | Problem: Invalid memory access with for loop over NULL string. Solution: Make sure mb_ptr2len() consistently returns zero for NUL.
* patch 9.0.0219: cannot make a funcref with "s:func" in a def functionv9.0.0219Kota Kato2022-08-161-0/+39
| | | | | | | Problem: Cannot make a funcref with "s:func" in a def function in legacy script. Solution: Allow for using a lower case function name after "s:". (Kota Kato, closes #10926)
* patch 9.0.0218: reading before the start of the linev9.0.0218Bram Moolenaar2022-08-161-0/+8
| | | | | Problem: Reading before the start of the line. Solution: When displaying "$" check the column is not negative.
* patch 9.0.0217: 'shellslash' works differently when sourcing a script againv9.0.0217zeertzjq2022-08-151-1/+26
| | | | | Problem: 'shellslash' works differently when sourcing a script again. Solution: Use the name from the script item. (closes #10920)
* patch 9.0.0216: undo earlier test sometimes fails on MS-Windowsv9.0.0216Bram Moolenaar2022-08-151-3/+3
| | | | | Problem: Undo earlier test sometimes fails on MS-Windows. Solution: Use another file name.
* patch 9.0.0214: splitting a line may duplicate virtual textv9.0.0214Bram Moolenaar2022-08-159-11/+46
| | | | | | Problem: Splitting a line may duplicate virtual text. (Ben Jackson) Solution: Don't duplicate a text property with virtual text. Make auto-indenting work better. (closes #10919)
* patch 9.0.0213: using freed memory with error in assert argumentv9.0.0213Bram Moolenaar2022-08-141-0/+4
| | | | | Problem: Using freed memory with error in assert argument. Solution: Make a copy of the error.
* patch 9.0.0212: invalid memory access when compiling :unletv9.0.0212Bram Moolenaar2022-08-141-2/+9
| | | | | Problem: Invalid memory access when compiling :unlet. Solution: Don't read past the end of the line.
* patch 9.0.0211: invalid memory access when compiling :lockvarv9.0.0211Bram Moolenaar2022-08-141-0/+9
| | | | | Problem: Invalid memory access when compiling :lockvar. Solution: Don't read past the end of the line.
* patch 9.0.0210: 'list' mode does not work properly with virtual textv9.0.0210Bram Moolenaar2022-08-144-0/+54
| | | | | Problem: 'list' mode does not work properly with virtual text. Solution: Show the "$" at the right position. (closes #10913)
* patch 9.0.0208: the override flag has no effect for virtual textv9.0.0208Bram Moolenaar2022-08-143-0/+36
| | | | | Problem: The override flag has no effect for virtual text. (Ben Jackson) Solution: Make the override flag work. (closes #10915)
* patch 9.0.0207: stacktrace not shown when debuggingv9.0.0207zeertzjq2022-08-141-1/+6
| | | | | Problem: Stacktrace not shown when debugging. Solution: Set msg_scroll in msg_source(). (closes #10917)
* patch 9.0.0205: cursor in wrong position when inserting after virtual textv9.0.0205Bram Moolenaar2022-08-146-0/+71
| | | | | | | Problem: Cursor in wrong position when inserting after virtual text. (Ben Jackson) Solution: Put the cursor after the virtual text, where the text will be inserted. (closes #10914)
* patch 9.0.0204: indexof() may leak memoryv9.0.0204Yegappan Lakshmanan2022-08-143-2/+35
| | | | | Problem: indexof() may leak memory. Solution: Free allocated values. (Yegappan Lakshmanan, closes #10916)
* patch 9.0.0202: code and help for indexof() is not idealv9.0.0202Yegappan Lakshmanan2022-08-131-2/+9
| | | | | | Problem: Code and help for indexof() is not ideal. Solution: Refactor the code, improve the help. (Yegappan Lakshmanan, closes #10908)
* patch 9.0.0201: CursorLine highlight overrules virtual text highlightv9.0.0201Bram Moolenaar2022-08-133-5/+6
| | | | | Problem: CursorLine highlight overrules virtual text highlight. Solution: Let extra attribute overrule line attribute. (closes #10909)
* patch 9.0.0200: cursor wrong if 'nowrap' and two right aligned text propsv9.0.0200Bram Moolenaar2022-08-134-5/+27
| | | | | | | Problem: cursor in a wrong positoin if 'wrap' is off and using two right aligned text props in one line. Solution: Count an extra line for a right aligned text property after a below or right aligned text property. (issue #10909)
* patch 9.0.0199: cursor position wrong with two right-aligned virtual textsv9.0.0199Bram Moolenaar2022-08-133-0/+39
| | | | | Problem: Cursor position wrong with two right-aligned virtual texts. Solution: Add the padding for right-alignment. (issue #10906)
* patch 9.0.0198: ml_get error when switching buffer in Visual modev9.0.0198Bram Moolenaar2022-08-131-0/+20
| | | | | Problem: ml_get error when switching buffer in Visual mode. Solution: End Visual mode when switching buffer. (closes #10902)
* patch 9.0.0197: astro files are not detectedv9.0.0197Emilia Zapata2022-08-131-0/+1
| | | | | Problem: Astro files are not detected. Solution: Add a pattern to match Astro files. (Emilia Zapata, closes #10904)
* patch 9.0.0196: finding value in list may require a for loopv9.0.0196Yegappan Lakshmanan2022-08-133-0/+78
| | | | | Problem: Finding value in list may require a for loop. Solution: Add indexof(). (Yegappan Lakshmanan, closes #10903)
* patch 9.0.0195: metafun files are not recogizedv9.0.0195Bram Moolenaar2022-08-121-1/+1
| | | | | Problem: Metafun files are not recogized. Solution: Add filetype detection patterns.
* patch 9.0.0194: cursor displayed in wrong position after removing text propv9.0.0194Bram Moolenaar2022-08-123-0/+55
| | | | | | Problem: Cursor displayed in wrong position after removing text prop. (Ben Jackson) Solution: Invalidate the cursor position. (closes #10898)
* patch 9.0.0193: search and match highlgith interfere with virtual textv9.0.0193Bram Moolenaar2022-08-117-0/+72
| | | | | | | | Problem: Search and match highlgith interfere with virtual text highlight. (Ben Jackson) Solution: Check for match highlight after text properties. Reset and restore search highlight when showing virtual text. (closes #10892)
* patch 9.0.0191: messages test fails; window size incorrectv9.0.0191Bram Moolenaar2022-08-113-1/+18
| | | | | | | Problem: Messages test fails; window size incorrect when 'cmdheight' is made smaller. Solution: Properly cleanup after test with cmdheight zero. Resize windows correctly when 'cmdheight' gets smaller.
* patch 9.0.0190: the way 'cmdheight' can be made zero is inconsistentv9.0.0190Bram Moolenaar2022-08-115-0/+61
| | | | | | Problem: The way 'cmdheight' can be made zero is inconsistent. Solution: Only make 'cmdheight' zero when setting it explicitly, not when resizing windows. (closes #10890)
* patch 9.0.0188: strange effects when using "text_align" with non-zero columnv9.0.0188Bram Moolenaar2022-08-101-0/+2
| | | | | | Problem: Strange effects when using virtual text with "text_align" and non-zero column. (Martin Tournoij) Solution: Give an error. (closes #10888)
* patch 9.0.0187: command line height changes when maximizing window heightv9.0.0187Bram Moolenaar2022-08-101-0/+20
| | | | | Problem: Command line height changes when maximizing window height. Solution: Do not change the command line height. (closes #10885)
* patch 9.0.0186: virtual text without highlighting does not showv9.0.0186Bram Moolenaar2022-08-107-7/+11
| | | | | | Problem: Virtual text without highlighting does not show. (Ben Jackson) Solution: Use a text property when it has highlighting or when it has text. (closes #10878)
* patch 9.0.0185: virtual text does not show if text prop at same positionv9.0.0185Bram Moolenaar2022-08-102-0/+32
| | | | | | Problem: Virtual text does not show if tehre is a text prop at same position. (Ben Jackson) Solution: Fix the sorting of properties. (closes #10879)
* patch 9.0.0184: virtual text prop highlight continues after truncationv9.0.0184Bram Moolenaar2022-08-102-0/+24
| | | | | Problem: Virtual text prop highlight continues after truncation. Solution: Recompute the length of attributes.
* patch 9.0.0183: extra space after virtual text when 'linebreak' is setv9.0.0183Bram Moolenaar2022-08-103-0/+32
| | | | | | Problem: Extra space after virtual text when 'linebreak' is set. Solution: Do not count virtual text when getting linebreak value. (closes #10884)
* patch 9.0.0182: quarto files are not recognizedv9.0.0182smjonas2022-08-101-0/+1
| | | | | | Problem: Quarto files are not recognized. Solution: Recognize quarto files by the extension. (Jonas Strittmatter, closes #10880)