Loading ...
Sorry, an error occurred while loading the content.

Re: Bug when changing font size in commandline mode

Expand Messages
  • Ben Schmidt
    ... I expect it s related to the necessary redraw that accompanies the setting of the option, not the setting of the option itself. If I get some time I ll
    Message 1 of 5 , Sep 16, 2008
    • 0 Attachment
      >>>> MacVim has a bug when changing font size in commandline mode. The commandline
      >>>> disappears and the cursor returns to the current buffer. The commandline is still
      >>>> active, though, and continuing to type makes it reappear.
      >>>>
      >>>> This may be another bug related to the earlier Vim core bug I reported here:
      >>>>
      >>>> http://groups.google.com/group/vim_dev/browse_thread/thread/5d8565f6ee06a388/
      >>>>
      >>>> but it's at least a little bit different, so perhaps not entirely due to that bug.
      >
      > Ok, now I see what you mean. The solution might be to update the font
      > in a different way in response to Cmd-=/Cmd--. Currently I use
      >
      > set_option_value((char_u*)"guifont", 0, s, 0);

      I expect it's related to the necessary redraw that accompanies the
      setting of the option, not the setting of the option itself.

      If I get some time I'll look into that core bug and see if fixing that
      brings this bug along with it. Won't happen for at least a couple of
      weeks though.

      Ben.



      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_mac" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.