Hello Bruce,
> > (Just to clarify something about your actual problem. If > your user > highlights text in some external window and then clicks the > middle mouse > button over a gambas textarea, does the text appear?) > Yes, it does. No problem. > > You cannot get the highlighted text in gambas because the > highlighted > text is not in the desktop clipboard, it is only in the > X-"clipboard"-buffer. qt4.clipboard only knows about > the desktop > clipboard. > > The solution will lie in getting the highlighted text into > the desktop > clipboard. > Ok. Thanks. I saw that simply by highlighting the text I cannot "transpose" the copy in gambas application. I saw if I have a text (e.g. "my text") in Gedit, and I copy it via ctrl+C or via Copy function of right button of the mouse, in Gambas console or TextArea I obtain this: GTKTEXTBUFFERCONTENTS-0001^@^@^@N <text_view_markup> <tags> </tags> <text>my text</text> </text_view_markup> But if I copy from LibreOffice (via ctrl+C or via Copy function of right button of the mouse) I obtain in Gambas application the "pure" text: my text And more, if I copy a simple text from a web page, I obtain the entire HTML tag line where is the text. Every charapter is separated by the ASCII value of zero. ��<^@s^@p^@a^@n^@ ^@c^@l^@a^@s^@s^@=^@"^@m^@e^@d^@i^@u^@m^@"^@ ^@s^@t^@y^@l^@e^@=^@"^@l^@i^@n^@e^@-^@h^@e^@i^@g^@h^@t^@:^@1^@.^@2^@3^@1^@"^@>^@N^@e^@k^@ ^@h^@a^@ ^@r^@i^@v^@e^@l^@a^@t^@o^@<^@/^@s^@p^@a^@n^@>^@ Regards vuott ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
