From 0b82a98ba9c888c021d05b8bff50f397609e915c Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Thu, 13 Feb 2025 19:22:51 -0800 Subject: [PATCH] Update getcellpixels() docs to point out the delay in MacVim GUI #1554 added support for `getcellpixels()`, but it has a quirk in MacVim in that it has a slight delay due to MacVim's asynchronous nature. Make sure the documentation reflects that to avoid surprises. --- runtime/doc/builtin.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 73c320da05..f2686c5397 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -3885,6 +3885,8 @@ getcellpixels() *getcellpixels()* On macOS, system Terminal.app returns sizes in points (before Retina scaling), whereas third-party terminals return raw pixel sizes (post Retina scaling). + In MacVim, there is a small delay after startup or changing + 'guifont' before this will return the updated values. Return type: list