|
Karsten Hopp |
be9687 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
be9687 |
Subject: patch 7.1.088 (extra)
|
|
Karsten Hopp |
be9687 |
Fcc: outbox
|
|
Karsten Hopp |
be9687 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
be9687 |
Mime-Version: 1.0
|
|
Karsten Hopp |
be9687 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
be9687 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
be9687 |
------------
|
|
Karsten Hopp |
be9687 |
|
|
Karsten Hopp |
be9687 |
Patch 7.1.088 (extra)
|
|
Karsten Hopp |
be9687 |
Problem: The coordinates used by ":winpos" differ from what getwinposx()
|
|
Karsten Hopp |
be9687 |
and getwinposy() return.
|
|
Karsten Hopp |
be9687 |
Solution: Use MoveWindowStructure() instead of MoveWindow(). (Michael Henry)
|
|
Karsten Hopp |
be9687 |
Files: src/gui_mac.c
|
|
Karsten Hopp |
be9687 |
|
|
Karsten Hopp |
be9687 |
|
|
Karsten Hopp |
be9687 |
*** ../vim-7.1.087/src/gui_mac.c Tue Jun 19 16:33:53 2007
|
|
Karsten Hopp |
be9687 |
--- src/gui_mac.c Wed Aug 29 20:33:34 2007
|
|
Karsten Hopp |
be9687 |
***************
|
|
Karsten Hopp |
be9687 |
*** 3149,3155 ****
|
|
Karsten Hopp |
be9687 |
/* TODO: Should make sure the window is move within range
|
|
Karsten Hopp |
be9687 |
* e.g.: y > ~16 [Menu bar], x > 0, x < screen width
|
|
Karsten Hopp |
be9687 |
*/
|
|
Karsten Hopp |
be9687 |
! MoveWindow(gui.VimWindow, x, y, TRUE);
|
|
Karsten Hopp |
be9687 |
}
|
|
Karsten Hopp |
be9687 |
|
|
Karsten Hopp |
be9687 |
void
|
|
Karsten Hopp |
be9687 |
--- 3149,3155 ----
|
|
Karsten Hopp |
be9687 |
/* TODO: Should make sure the window is move within range
|
|
Karsten Hopp |
be9687 |
* e.g.: y > ~16 [Menu bar], x > 0, x < screen width
|
|
Karsten Hopp |
be9687 |
*/
|
|
Karsten Hopp |
be9687 |
! MoveWindowStructure(gui.VimWindow, x, y, TRUE);
|
|
Karsten Hopp |
be9687 |
}
|
|
Karsten Hopp |
be9687 |
|
|
Karsten Hopp |
be9687 |
void
|
|
Karsten Hopp |
be9687 |
***************
|
|
Karsten Hopp |
be9687 |
*** 5556,5562 ****
|
|
Karsten Hopp |
be9687 |
* SetDialogTracksCursor() : Get the I-beam cursor over input box
|
|
Karsten Hopp |
be9687 |
* MoveDialogItem(): Probably better than SetDialogItem
|
|
Karsten Hopp |
be9687 |
* SizeDialogItem(): (but is it Carbon Only?)
|
|
Karsten Hopp |
be9687 |
! * AutoSizeDialog(): Magic resize of dialog based on text lenght
|
|
Karsten Hopp |
be9687 |
*/
|
|
Karsten Hopp |
be9687 |
}
|
|
Karsten Hopp |
be9687 |
#endif /* FEAT_DIALOG_GUI */
|
|
Karsten Hopp |
be9687 |
--- 5556,5562 ----
|
|
Karsten Hopp |
be9687 |
* SetDialogTracksCursor() : Get the I-beam cursor over input box
|
|
Karsten Hopp |
be9687 |
* MoveDialogItem(): Probably better than SetDialogItem
|
|
Karsten Hopp |
be9687 |
* SizeDialogItem(): (but is it Carbon Only?)
|
|
Karsten Hopp |
be9687 |
! * AutoSizeDialog(): Magic resize of dialog based on text length
|
|
Karsten Hopp |
be9687 |
*/
|
|
Karsten Hopp |
be9687 |
}
|
|
Karsten Hopp |
be9687 |
#endif /* FEAT_DIALOG_GUI */
|
|
Karsten Hopp |
be9687 |
*** ../vim-7.1.087/src/version.c Tue Aug 21 18:02:58 2007
|
|
Karsten Hopp |
be9687 |
--- src/version.c Thu Aug 30 10:32:28 2007
|
|
Karsten Hopp |
be9687 |
***************
|
|
Karsten Hopp |
be9687 |
*** 668,669 ****
|
|
Karsten Hopp |
be9687 |
--- 668,671 ----
|
|
Karsten Hopp |
be9687 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
be9687 |
+ /**/
|
|
Karsten Hopp |
be9687 |
+ 88,
|
|
Karsten Hopp |
be9687 |
/**/
|
|
Karsten Hopp |
be9687 |
|
|
Karsten Hopp |
be9687 |
--
|
|
Karsten Hopp |
be9687 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
be9687 |
10E. You start counting in hex.
|
|
Karsten Hopp |
be9687 |
|
|
Karsten Hopp |
be9687 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
be9687 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
be9687 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
be9687 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|