patch 9.0.1212: cannot read back what setcellwidths() has done

Problem:    Cannot read back what setcellwidths() has done.
Solution:   Add getcellwidths(). (Kota Kato, closes #11837)
This commit is contained in:
Kota Kato
2023-01-17 18:31:56 +00:00
committed by Bram Moolenaar
parent f7d1c6e188
commit 66bb9ae70f
7 changed files with 54 additions and 1 deletions

View File

@ -757,6 +757,7 @@ String manipulation: *string-functions*
strwidth() size of string when displayed
strdisplaywidth() size of string when displayed, deals with tabs
setcellwidths() set character cell width overrides
getcellwidths() get character cell width overrides
substitute() substitute a pattern match with a string
submatch() get a specific match in ":s" and substitute()
strpart() get part of a string using byte index