fxscintilla-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fxscintilla-users] Re: FXScintilla paste problem in windows 9x


From: Gilles Filippini
Subject: [fxscintilla-users] Re: FXScintilla paste problem in windows 9x
Date: Thu, 14 Aug 2003 00:27:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030716 Debian/1.4-2.he-1

Rafael de Pelegrini Soares wrote:
Hi Gilles,

I have experienced some problems with the FXScintilla including in the latest version 1.53 when using windows 9x.

The problem is that in windows 9x (not NT, 2000 or XP) the data length received from the clipboard is potentially greather than should be.

The sorce of the problem is in the function:

void ScintillaFOX::ReceivedSelection(FXDNDOrigin origin)

to fix the problem just replace:

#ifdef WIN32
        //len--;
#endif  // WIN32

by:

#ifdef WIN32
         len=0;
         while(data[len])
                 len++;
#endif  // WIN32

Continue the good job with FXScintilla!!

Thanks in advance.

-Rafael.

Thanks for this fix Rafael. I've updated the 1.53 tarball as it wasn't the official 1.53 yet.

_gilles.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]