Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » EditString: Paste from clipboard - charset problem
EditString: Paste from clipboard - charset problem [message #1756] Fri, 17 March 2006 23:49 Go to next message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
I'm not sure if this is the correct fix inbool EditField::Key(dword key, int rep) function:
	case K_CTRL_V:
	case K_SHIFT_INSERT:
		//Insert(ReadClipboardText().ToWString());
		Insert(ReadClipboardUnicodeText());
		Action();
		return true;

The original line is the commented one.
Re: EditString: Paste from clipboard - charset problem [message #1768 is a reply to message #1756] Sat, 18 March 2006 09:31 Go to previous message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
zsolt wrote on Fri, 17 March 2006 17:49

I'm not sure if this is the correct fix inbool EditField::Key(dword key, int rep) function:
	case K_CTRL_V:
	case K_SHIFT_INSERT:
		//Insert(ReadClipboardText().ToWString());
		Insert(ReadClipboardUnicodeText());
		Action();
		return true;

The original line is the commented one.


Indeed. Correct. Thanks!

Mirek
Previous Topic: RichTextView can select more than one block of text [BUGS][FIXED]
Next Topic: Is LineEdit the main normal text edit control? +DocEdit [SOLVED...]
Goto Forum:
  


Current Time: Thu Oct 31 23:49:59 CET 2024

Total time taken to generate the page: 0.02715 seconds