5 Commits

Author SHA1 Message Date
Ingo Karkat
60ad04b28f ENH: Add optional a:reservedColumns also to ingo#avoidprompt#TruncateTo(), and pass this from ingo#avoidprompt#Truncate()
ingo#avoidprompt#TruncateTo(): The strright() cannot precisely account for the rendering of tab widths. Check the result, and if necessary, remove further characters until we go below the limit.
2017-05-26 17:50:58 +02:00
Ingo Karkat
740cba08b1 ENH: ingo#avoidprompt#TruncateTo() has a configurable ellipsis string g:IngoLibrary_TruncateEllipsis, now defaulting to a single-char UTF-8 variant if we're in such encoding
Thanks to Daniel Hahler for sending a patch! It also handles pathologically small lengths that only show / cut into the ellipsis.
2017-05-26 17:50:56 +02:00
Ingo Karkat
5d102f5546 2017-05-26 17:49:35 +02:00
Ingo Karkat
1d505b11fe 2017-05-26 17:32:34 +02:00
Ingo Karkat
655fa959ea file creation 2017-05-26 17:25:09 +02:00