patch 9.1.1296: completion: incorrect truncation logic

Problem:  completion: incorrect truncation logic (after: v9.1.1284)
Solution: replace string allocation with direct screen rendering and
          fixe RTL/LTR truncation calculations (glepnir)

closes: #17081

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
glepnir
2025-04-12 18:35:34 +02:00
committed by Christian Brabandt
parent cf665ccd37
commit d4dbf822dc
9 changed files with 69 additions and 61 deletions

View File

@ -1,4 +1,4 @@
*version9.txt* For Vim version 9.1. Last change: 2025 Apr 08
*version9.txt* For Vim version 9.1. Last change: 2025 Apr 12
VIM REFERENCE MANUAL by Bram Moolenaar
@ -41631,6 +41631,7 @@ Options: ~
and CTRL-D / CTRL-U for half-pagewise scrolling
- New option value for 'fillchars':
"trunc" - configure truncation indicator, 'pummaxwidth'
"truncrl" - like "trunc" but in 'rl' mode, 'pummaxwidth'
Ex commands: ~
- allow to specify a priority when defining a new sign |:sign-define|