X11 clipboard bug or GtkEditable bug?

I have a Question:

I have written a new text widget for gtk (gtkextext)
I am using the GtkEditable as baseclass and using its clipboard.
No I have seen that the GtkEditable clipboard don't like 
windows text because Windows have '\r' and '\n' as linebreaks.
As we already knows Linux/Unix only using '\n' as linebreak. 

This means before you try to Cut to the GtkEditable clipboard you must
remove '\r' character before cut. 
Is this because X11 clipboard don't understand its a Text 
because of the '\r'(0xA) character or is it a GtkEditable bug?
Btw. The problem is also happen in GtkText widget.

Mikael Hermansson


Check out my homepage at (under heavy reconstruction): 

Email: mikeh@bahnhof.se
international Phone 46-44-126995
Sweden Phone: 044-126995
ICQ: Error fix later

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