home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.1 / 7.1.088 < prev    next >
Encoding:
Internet Message Format  |  2007-11-19  |  2.2 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 7.1.088 (extra)
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.1.088 (extra)
  11. Problem:    The coordinates used by ":winpos" differ from what getwinposx()
  12.         and getwinposy() return.
  13. Solution:   Use MoveWindowStructure() instead of MoveWindow(). (Michael Henry)
  14. Files:        src/gui_mac.c
  15.  
  16.  
  17. *** ../vim-7.1.087/src/gui_mac.c    Tue Jun 19 16:33:53 2007
  18. --- src/gui_mac.c    Wed Aug 29 20:33:34 2007
  19. ***************
  20. *** 3149,3155 ****
  21.       /* TODO:  Should make sure the window is move within range
  22.        *          e.g.: y > ~16 [Menu bar], x > 0, x < screen width
  23.        */
  24. !     MoveWindow(gui.VimWindow, x, y, TRUE);
  25.   }
  26.   
  27.       void
  28. --- 3149,3155 ----
  29.       /* TODO:  Should make sure the window is move within range
  30.        *          e.g.: y > ~16 [Menu bar], x > 0, x < screen width
  31.        */
  32. !     MoveWindowStructure(gui.VimWindow, x, y, TRUE);
  33.   }
  34.   
  35.       void
  36. ***************
  37. *** 5556,5562 ****
  38.    * SetDialogTracksCursor() : Get the I-beam cursor over input box
  39.    * MoveDialogItem():        Probably better than SetDialogItem
  40.    * SizeDialogItem():        (but is it Carbon Only?)
  41. !  * AutoSizeDialog():        Magic resize of dialog based on text lenght
  42.    */
  43.   }
  44.   #endif /* FEAT_DIALOG_GUI */
  45. --- 5556,5562 ----
  46.    * SetDialogTracksCursor() : Get the I-beam cursor over input box
  47.    * MoveDialogItem():        Probably better than SetDialogItem
  48.    * SizeDialogItem():        (but is it Carbon Only?)
  49. !  * AutoSizeDialog():        Magic resize of dialog based on text length
  50.    */
  51.   }
  52.   #endif /* FEAT_DIALOG_GUI */
  53. *** ../vim-7.1.087/src/version.c    Tue Aug 21 18:02:58 2007
  54. --- src/version.c    Thu Aug 30 10:32:28 2007
  55. ***************
  56. *** 668,669 ****
  57. --- 668,671 ----
  58.   {   /* Add new patch number below this line */
  59. + /**/
  60. +     88,
  61.   /**/
  62.  
  63. -- 
  64. hundred-and-one symptoms of being an internet addict:
  65. 10E. You start counting in hex.
  66.  
  67.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  68. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  69. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  70.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  71.