Sunday, January 1, 2012

How to get updated winwidth() after :set guifont ?

Problem: Right after `set guifont=…`, `winwidth()` returns the old win width instead of the new width which would be changed by new guifont size.

I tried to call `redraw` between but it does not work.

Any suggestion? Thanks.

- Zhao

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment