|
Karsten Hopp |
deffdf |
To: vim-dev@vim.org
|
|
Karsten Hopp |
deffdf |
Subject: patch 7.0.233 (extra)
|
|
Karsten Hopp |
deffdf |
Fcc: outbox
|
|
Karsten Hopp |
deffdf |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
deffdf |
Mime-Version: 1.0
|
|
Karsten Hopp |
deffdf |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
deffdf |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
deffdf |
------------
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
Patch 7.0.233 (extra)
|
|
Karsten Hopp |
deffdf |
Problem: Mac: code formatted badly.
|
|
Karsten Hopp |
deffdf |
Solution: Fix code formatting
|
|
Karsten Hopp |
deffdf |
Files: src/gui_mac.c
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
*** ../vim-7.0.232/src/gui_mac.c Thu Apr 26 18:22:12 2007
|
|
Karsten Hopp |
deffdf |
--- src/gui_mac.c Fri Mar 16 11:26:05 2007
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 28,38 ****
|
|
Karsten Hopp |
deffdf |
*
|
|
Karsten Hopp |
deffdf |
*/
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! /* TODO (Jussi)
|
|
Karsten Hopp |
deffdf |
! * * Clipboard does not work (at least some cases)
|
|
Karsten Hopp |
deffdf |
! * * ATSU font rendering has some problems
|
|
Karsten Hopp |
deffdf |
! * * Investigate and remove dead code (there is still lots of that)
|
|
Karsten Hopp |
deffdf |
! */
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
#include <Devices.h> /* included first to avoid CR problems */
|
|
Karsten Hopp |
deffdf |
#include "vim.h"
|
|
Karsten Hopp |
deffdf |
--- 28,38 ----
|
|
Karsten Hopp |
deffdf |
*
|
|
Karsten Hopp |
deffdf |
*/
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! /* TODO (Jussi)
|
|
Karsten Hopp |
deffdf |
! * * Clipboard does not work (at least some cases)
|
|
Karsten Hopp |
deffdf |
! * * ATSU font rendering has some problems
|
|
Karsten Hopp |
deffdf |
! * * Investigate and remove dead code (there is still lots of that)
|
|
Karsten Hopp |
deffdf |
! */
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
#include <Devices.h> /* included first to avoid CR problems */
|
|
Karsten Hopp |
deffdf |
#include "vim.h"
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 504,512 ****
|
|
Karsten Hopp |
deffdf |
/* Get number of files in list */
|
|
Karsten Hopp |
deffdf |
*error = AECountItems(theList, numFiles);
|
|
Karsten Hopp |
deffdf |
if (*error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(fnames);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/* Allocate the pointer list */
|
|
Karsten Hopp |
deffdf |
fnames = (char_u **) alloc(*numFiles * sizeof(char_u *));
|
|
Karsten Hopp |
deffdf |
--- 504,510 ----
|
|
Karsten Hopp |
deffdf |
/* Get number of files in list */
|
|
Karsten Hopp |
deffdf |
*error = AECountItems(theList, numFiles);
|
|
Karsten Hopp |
deffdf |
if (*error)
|
|
Karsten Hopp |
deffdf |
! return fnames;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/* Allocate the pointer list */
|
|
Karsten Hopp |
deffdf |
fnames = (char_u **) alloc(*numFiles * sizeof(char_u *));
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 526,532 ****
|
|
Karsten Hopp |
deffdf |
{
|
|
Karsten Hopp |
deffdf |
/* Caller is able to clean up */
|
|
Karsten Hopp |
deffdf |
/* TODO: Should be clean up or not? For safety. */
|
|
Karsten Hopp |
deffdf |
! return(fnames);
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/* Convert the FSSpec to a pathname */
|
|
Karsten Hopp |
deffdf |
--- 524,530 ----
|
|
Karsten Hopp |
deffdf |
{
|
|
Karsten Hopp |
deffdf |
/* Caller is able to clean up */
|
|
Karsten Hopp |
deffdf |
/* TODO: Should be clean up or not? For safety. */
|
|
Karsten Hopp |
deffdf |
! return fnames;
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/* Convert the FSSpec to a pathname */
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 589,603 ****
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = AEGetParamPtr(theAEvent, keyDirectObject, typeChar, &typeCode, (Ptr) &SearchData, sizeof(WindowSearch), &actualSize);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
|
|
Karsten Hopp |
deffdf |
if (buf->b_ml.ml_mfp != NULL
|
|
Karsten Hopp |
deffdf |
--- 587,597 ----
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = AEGetParamPtr(theAEvent, keyDirectObject, typeChar, &typeCode, (Ptr) &SearchData, sizeof(WindowSearch), &actualSize);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
|
|
Karsten Hopp |
deffdf |
if (buf->b_ml.ml_mfp != NULL
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 668,676 ****
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/* Send the reply */
|
|
Karsten Hopp |
deffdf |
/* replyObject.descriptorType = typeNull;
|
|
Karsten Hopp |
deffdf |
--- 662,668 ----
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/* Send the reply */
|
|
Karsten Hopp |
deffdf |
/* replyObject.descriptorType = typeNull;
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 679,687 ****
|
|
Karsten Hopp |
deffdf |
/* AECreateDesc(typeChar, (Ptr)&title[1], title[0], &data) */
|
|
Karsten Hopp |
deffdf |
error = AECreateList(nil, 0, false, &replyList);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
#if 0
|
|
Karsten Hopp |
deffdf |
error = AECountItems(&replyList, &numFiles);
|
|
Karsten Hopp |
deffdf |
--- 671,677 ----
|
|
Karsten Hopp |
deffdf |
/* AECreateDesc(typeChar, (Ptr)&title[1], title[0], &data) */
|
|
Karsten Hopp |
deffdf |
error = AECreateList(nil, 0, false, &replyList);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
#if 0
|
|
Karsten Hopp |
deffdf |
error = AECountItems(&replyList, &numFiles);
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 775,783 ****
|
|
Karsten Hopp |
deffdf |
error = AEGetParamPtr(theAEvent, keyDirectObject, typeChar, &typeCode, (Ptr) &GetTextData, sizeof(GetTextData), &actualSize);
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
|
|
Karsten Hopp |
deffdf |
if (buf->b_ml.ml_mfp != NULL)
|
|
Karsten Hopp |
deffdf |
--- 765,771 ----
|
|
Karsten Hopp |
deffdf |
error = AEGetParamPtr(theAEvent, keyDirectObject, typeChar, &typeCode, (Ptr) &GetTextData, sizeof(GetTextData), &actualSize);
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
|
|
Karsten Hopp |
deffdf |
if (buf->b_ml.ml_mfp != NULL)
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 826,837 ****
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
- if (error)
|
|
Karsten Hopp |
deffdf |
- {
|
|
Karsten Hopp |
deffdf |
- return(error);
|
|
Karsten Hopp |
deffdf |
- }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
--- 814,821 ----
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 1017,1025 ****
|
|
Karsten Hopp |
deffdf |
/* the direct object parameter is the list of aliases to files (one or more) */
|
|
Karsten Hopp |
deffdf |
error = AEGetParamDesc(theAEvent, keyDirectObject, typeAEList, &theList);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = AEGetParamPtr(theAEvent, keyAEPosition, typeChar, &typeCode, (Ptr) &thePosition, sizeof(SelectionRange), &actualSize);
|
|
Karsten Hopp |
deffdf |
--- 1001,1007 ----
|
|
Karsten Hopp |
deffdf |
/* the direct object parameter is the list of aliases to files (one or more) */
|
|
Karsten Hopp |
deffdf |
error = AEGetParamDesc(theAEvent, keyDirectObject, typeAEList, &theList);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = AEGetParamPtr(theAEvent, keyAEPosition, typeChar, &typeCode, (Ptr) &thePosition, sizeof(SelectionRange), &actualSize);
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 1028,1036 ****
|
|
Karsten Hopp |
deffdf |
if (error == errAEDescNotFound)
|
|
Karsten Hopp |
deffdf |
error = noErr;
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
error = AEGetParamDesc(theAEvent, keyAEPosition, typeChar, &thePosition);
|
|
Karsten Hopp |
deffdf |
--- 1010,1016 ----
|
|
Karsten Hopp |
deffdf |
if (error == errAEDescNotFound)
|
|
Karsten Hopp |
deffdf |
error = noErr;
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
error = AEGetParamDesc(theAEvent, keyAEPosition, typeChar, &thePosition);
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 1134,1148 ****
|
|
Karsten Hopp |
deffdf |
/* Fake mouse event to wake from stall */
|
|
Karsten Hopp |
deffdf |
PostEvent(mouseUp, 0);
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! finished:
|
|
Karsten Hopp |
deffdf |
AEDisposeDesc(&theList); /* dispose what we allocated */
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
! if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
--- 1114,1124 ----
|
|
Karsten Hopp |
deffdf |
/* Fake mouse event to wake from stall */
|
|
Karsten Hopp |
deffdf |
PostEvent(mouseUp, 0);
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! finished:
|
|
Karsten Hopp |
deffdf |
AEDisposeDesc(&theList); /* dispose what we allocated */
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 1158,1169 ****
|
|
Karsten Hopp |
deffdf |
OSErr error = noErr;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
! if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
!
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
--- 1134,1140 ----
|
|
Karsten Hopp |
deffdf |
OSErr error = noErr;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 1180,1193 ****
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! {
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
! }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/* Need to fake a :confirm qa */
|
|
Karsten Hopp |
deffdf |
do_cmdline_cmd((char_u *)"confirm qa");
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
--- 1151,1162 ----
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
if (error)
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/* Need to fake a :confirm qa */
|
|
Karsten Hopp |
deffdf |
do_cmdline_cmd((char_u *)"confirm qa");
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 1203,1214 ****
|
|
Karsten Hopp |
deffdf |
OSErr error = noErr;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
- if (error)
|
|
Karsten Hopp |
deffdf |
- {
|
|
Karsten Hopp |
deffdf |
- return(error);
|
|
Karsten Hopp |
deffdf |
- }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
--- 1172,1179 ----
|
|
Karsten Hopp |
deffdf |
OSErr error = noErr;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 1225,1236 ****
|
|
Karsten Hopp |
deffdf |
OSErr error = noErr;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
- if (error)
|
|
Karsten Hopp |
deffdf |
- {
|
|
Karsten Hopp |
deffdf |
- return(error);
|
|
Karsten Hopp |
deffdf |
- }
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! return(error);
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
--- 1190,1197 ----
|
|
Karsten Hopp |
deffdf |
OSErr error = noErr;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
error = HandleUnusedParms(theAEvent);
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! return error;
|
|
Karsten Hopp |
deffdf |
}
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 2517,2523 ****
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
return noErr;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! bail:
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
* when we fail give any additional callback handler a chance to perform
|
|
Karsten Hopp |
deffdf |
* it's actions
|
|
Karsten Hopp |
deffdf |
--- 2478,2484 ----
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
return noErr;
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
! bail:
|
|
Karsten Hopp |
deffdf |
/*
|
|
Karsten Hopp |
deffdf |
* when we fail give any additional callback handler a chance to perform
|
|
Karsten Hopp |
deffdf |
* it's actions
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 2907,2913 ****
|
|
Karsten Hopp |
deffdf |
#endif
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
static OSErr
|
|
Karsten Hopp |
deffdf |
! receiveHandler(WindowRef theWindow, void* handlerRefCon, DragRef theDrag)
|
|
Karsten Hopp |
deffdf |
{
|
|
Karsten Hopp |
deffdf |
int x, y;
|
|
Karsten Hopp |
deffdf |
int_u modifiers;
|
|
Karsten Hopp |
deffdf |
--- 2868,2874 ----
|
|
Karsten Hopp |
deffdf |
#endif
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
static OSErr
|
|
Karsten Hopp |
deffdf |
! receiveHandler(WindowRef theWindow, void *handlerRefCon, DragRef theDrag)
|
|
Karsten Hopp |
deffdf |
{
|
|
Karsten Hopp |
deffdf |
int x, y;
|
|
Karsten Hopp |
deffdf |
int_u modifiers;
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 4982,4988 ****
|
|
Karsten Hopp |
deffdf |
SetControl32BitMaximum (sb->id, max);
|
|
Karsten Hopp |
deffdf |
SetControl32BitMinimum (sb->id, 0);
|
|
Karsten Hopp |
deffdf |
SetControl32BitValue (sb->id, val);
|
|
Karsten Hopp |
deffdf |
! SetControlViewSize (sb->id, size);
|
|
Karsten Hopp |
deffdf |
#ifdef DEBUG_MAC_SB
|
|
Karsten Hopp |
deffdf |
printf("thumb_sb (%x) %x, %x,%x\n",sb->id, val, size, max);
|
|
Karsten Hopp |
deffdf |
#endif
|
|
Karsten Hopp |
deffdf |
--- 4943,4949 ----
|
|
Karsten Hopp |
deffdf |
SetControl32BitMaximum (sb->id, max);
|
|
Karsten Hopp |
deffdf |
SetControl32BitMinimum (sb->id, 0);
|
|
Karsten Hopp |
deffdf |
SetControl32BitValue (sb->id, val);
|
|
Karsten Hopp |
deffdf |
! SetControlViewSize (sb->id, size);
|
|
Karsten Hopp |
deffdf |
#ifdef DEBUG_MAC_SB
|
|
Karsten Hopp |
deffdf |
printf("thumb_sb (%x) %x, %x,%x\n",sb->id, val, size, max);
|
|
Karsten Hopp |
deffdf |
#endif
|
|
Karsten Hopp |
deffdf |
*** ../vim-7.0.232/src/version.c Thu Apr 26 18:22:12 2007
|
|
Karsten Hopp |
deffdf |
--- src/version.c Thu Apr 26 18:41:08 2007
|
|
Karsten Hopp |
deffdf |
***************
|
|
Karsten Hopp |
deffdf |
*** 668,669 ****
|
|
Karsten Hopp |
deffdf |
--- 668,671 ----
|
|
Karsten Hopp |
deffdf |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
deffdf |
+ /**/
|
|
Karsten Hopp |
deffdf |
+ 233,
|
|
Karsten Hopp |
deffdf |
/**/
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
--
|
|
Karsten Hopp |
deffdf |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
deffdf |
25. You believe nothing looks sexier than a man in boxer shorts illuminated
|
|
Karsten Hopp |
deffdf |
only by a 17" inch svga monitor.
|
|
Karsten Hopp |
deffdf |
|
|
Karsten Hopp |
deffdf |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
deffdf |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
deffdf |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
deffdf |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|