Skip to content

Commit 2ea957b

Browse files
authored
Merge pull request #1822 from h-east/update-builtin
Update builtin.{txt,jax}
2 parents d26c5ce + 79bf081 commit 2ea957b

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

doc/builtin.jax

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim バージョン 9.1. Last change: 2024 Nov 10
1+
*builtin.txt* For Vim バージョン 9.1. Last change: 2024 Nov 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -241,6 +241,7 @@ getbufline({buf}, {lnum} [, {end}])
241241
getbufoneline({buf}, {lnum}) 文字列 バッファ{buf}の{lnum}行目
242242
getbufvar({buf}, {varname} [, {def}])
243243
任意 バッファ{buf}の変数 {varname}
244+
getcellpixels() リスト 文字のセルのピクセルサイズを取得する
244245
getcellwidths() リスト 文字のセル幅の上書き設定を取得
245246
getchangelist([{buf}]) リスト 変更リスト要素のリスト
246247
getchar([{expr}]) 数値/文字列 ユーザーから1文字を取得する
@@ -3784,6 +3785,15 @@ getbufvar({buf}, {varname} [, {def}]) *getbufvar()*
37843785
戻り値の型: any。{varname} による
37853786

37863787

3788+
getcellpixels() *getcellpixels()*
3789+
端末のセルのピクセルサイズの |List| を返す。
3790+
リストの形式は [xpixels, ypixels] である。
3791+
Unix (の端末) でのみ動作する。gVim の場合や他のシステムの場合
3792+
および失敗した場合は [] を返す。
3793+
3794+
戻り値の型: list<any>
3795+
3796+
37873797
getcellwidths() *getcellwidths()*
37883798
|setcellwidths()| によって上書きされた文字範囲のセル幅の
37893799
|List| を返す。形式は |setcellwidths()| の引数と同じである。セ

en/builtin.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.1. Last change: 2024 Nov 10
1+
*builtin.txt* For Vim version 9.1. Last change: 2024 Nov 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -222,6 +222,7 @@ getbufline({buf}, {lnum} [, {end}])
222222
getbufoneline({buf}, {lnum}) String line {lnum} of buffer {buf}
223223
getbufvar({buf}, {varname} [, {def}])
224224
any variable {varname} in buffer {buf}
225+
getcellpixels() List get character cell pixel size
225226
getcellwidths() List get character cell width overrides
226227
getchangelist([{buf}]) List list of change list items
227228
getchar([{expr}]) Number or String
@@ -3786,6 +3787,15 @@ getbufvar({buf}, {varname} [, {def}]) *getbufvar()*
37863787
Return type: any, depending on {varname}
37873788

37883789

3790+
getcellpixels() *getcellpixels()*
3791+
Returns a |List| of terminal cell pixel size.
3792+
List format is [xpixels, ypixels].
3793+
Only works on (terminal) Unix. For gVim, on other systems and
3794+
on failure returns [].
3795+
3796+
Return type: list<any>
3797+
3798+
37893799
getcellwidths() *getcellwidths()*
37903800
Returns a |List| of cell widths of character ranges overridden
37913801
by |setcellwidths()|. The format is equal to the argument of

0 commit comments

Comments
 (0)