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

[PATCH] more comments

Expand Messages
  • Nicolas Weber
    ... src/MacVim/MMVimView.m | 3 +++ src/MacVim/MMWindowController.m | 3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git
    Message 1 of 1 , Oct 30, 2007
    • 0 Attachment
      ---
      src/MacVim/MMVimView.m | 3 +++
      src/MacVim/MMWindowController.m | 3 ++-
      2 files changed, 5 insertions(+), 1 deletions(-)

      diff --git a/src/MacVim/MMVimView.m b/src/MacVim/MMVimView.m
      index b9ded46..2df0961 100644
      --- a/src/MacVim/MMVimView.m
      +++ b/src/MacVim/MMVimView.m
      @@ -647,6 +647,9 @@ enum {
      {
      NSSize size = textViewSize;

      +// This screws stuff up of we want to calculate the rows/columns fitting in a
      +// rect, but it seems to be required when fitting the window to rows/columns?
      +
      // NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
      // int right = [ud integerForKey:MMTextInsetRightKey];
      // int bot = [ud integerForKey:MMTextInsetBottomKey];
      diff --git a/src/MacVim/MMWindowController.m b/src/MacVim/MMWindowController.m
      index 6cb4e55..cea5e2d 100644
      --- a/src/MacVim/MMWindowController.m
      +++ b/src/MacVim/MMWindowController.m
      @@ -385,7 +385,8 @@ NSLog(@"res done");
      // At the end of an resize, check if vim view size and number of
      // columns / rows agree (the first is set while resizing, the second by
      // messages sent from vim). If not, send a synchronous (!) message to vim
      - // to set columns / rows to the value belonging to the view size.
      + // to set columns / rows to the value belonging to the view size. If the
      + // message couldn't be sent, change the view size to fit columns / rows.

      // NOTE! It is assumed that the window has been resized so that it will
      // exactly fit the text storage (possibly after resizing it). If this is
      --
      1.5.3.4


      --~--~---------~--~----~------------~-------~--~----~
      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.