At 5:57 pm +0100 2003-07-04, Ben Fowler wrote:
>At 9:25 pm +0100 2003-07-03, Ben Fowler wrote:
>>At 8:54 pm +0200 2003-07-03, Bram Moolenaar wrote:
>>>Ben Fowler wrote:
>>> > FWIW, using the ex command :put does not have the problem.
>>>> The problem seems to be inside do_put( );
>> >Does do_put() contain Mac GUI specific code? Don't think so.
>I wonder whether the problem is on line 3736 of gui_mac.c
> type = (strchr(*textOfClip, '\r') != NULL) ? MLINE : MCHAR;
>and that \r character needs to be the current EOL for the file being edited.
Certainly if I swap it for a \n, the problem goes away.
I suspect that when the gui is mot active, using the * register does not go
through the system clipboard, which is why this only turns up when using
the gui, when this is the procedure for the * register.
Certainly if am using the same Carbonised binary in a terminal, yanking
to the * register does not affect the system clipboard, or any clipboard
within Terminal.app .
Are these features or bugs?
Is there anyone here who knows the code well enough to provide a fix. I suspect
that each instance of a literal '\r' in the gui code will need to be examined.
Privileged/Confidential Information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or deliver
this message to anyone. In such case, you should destroy this message
and kindly notify the sender by reply email. Please advise immediately
if you or your employer do not consent to Internet email messages of this
kind. Opinions, conclusions and other information in this message that
do not relate to the official business of ewitness Limited shall be
understood as neither given nor endorsed by it.
eWitness Limited, Alpha House, Redvers Close, Lawnswood Business Park, Leeds, LS16 6QY
Telephone: 0113 2951112 Fax: 0113 2951114