Stc and Clipboard issues

Cody Precord codyprecord at gmail.com
Tue Oct 2 01:32:51 PDT 2007


I have noticed some issues with copy and paste when using the  
StyledTextCtrl in 2.8.6.0. Not sure if the existed before or not and  
am wondering if anyone else is seeing these issues or not.

Both of these issues were observed on OS X and can be replicated by  
using the StyledTextCtrl demo:

1) Pasting Issue, this issue is a little strange:
     - Open one of the following web browsers Firefox/Camino/Opera  
select and copy some text from that window.
     - Try to paste it to an STC window all that will be pasted is  
the first character of the stream that was copied from the browser
     - Open another non stc based text editor such as TextEdit and  
paste again everything that was copied from the browser window gets  
pasted properly, so it seems that all the data is in getting properly  
put in the clipboard from those browsers.
     - Repeat the above using Safari and the pasting will work for  
both the stc and other editor just fine.

2) Trying to copy multibyte (Japanese, Chinese, ect..) text from an  
stc window causes a hard crash. Actually this seems to have been  
recently reported to the tracker (http://sourceforge.net/tracker/ 
index.php?func=detail&aid=1801114&group_id=9863&atid=109863) by  
someone else. Just making note of it here as it may or may not have  
some relation to the above issue.

Thanks,

Cody Precord




More information about the wxpython-dev mailing list