EControl Syntax Editor SDK
ecStrUtils.GetClipboardTextEx Function
function GetClipboardTextEx(CharSet: TFontCharset = DEFAULT_CHARSET): ecString;


Returns text from clipboard. Selects the best format and converts text to ANSI string using specified character set. Compares texts in ANSI and Unicode clipboard format and selects text with less invalid characters. 

Used for "smart" paste operation in the Syntax Editor.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!