Bug #1092
RichEdit: What is wrong with this code?
Status: | New | Start date: | 05/20/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | Spent time: | - | |
Target version: | - |
Description
#if 0 {
DLOG("===================");
DDUMP(GetLength());
WString text = Get().GetPlainText();
Select(0, GetLength());
Cut();
DDUMP(GetLength());
PasteText(ParseQTF(String().Cat() << "[%CS-CZ " << styles << "[s0; \1" << text.ToString() << "\1"));
DDUMP(GetLength());
Select(0, GetLength());
ApplyFormatInfo(HtmlEditor().GetFormatInfo());
Select(0, 0);
UpdateAction();
}
#endif