summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-24 19:42:56 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-24 19:42:56 +0300
commitc57f6f8b5c848b9287a8ae7e9dd99ec38ec20e68 (patch)
tree69e07ee12fc4eaf07cdb32cfc274b4b30cfddc4a /include
parent1beaee1f0efba88cbea9f1a93627fcce164b17e7 (diff)
CCtrlRichEdit::GetPlainRtf - a method to get plain (non-Unicode) text in RTF
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 211e2e4520..601e22456e 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -856,6 +856,7 @@ public:
int GetRichTextLength(int iCodePage = CP_ACP) const;
// returns a buffer that should be freed using mir_free() or ptrA/ptrW
+ char* GetPlainRtf(bool bSelection = false);
char* GetRichTextRtf(bool bText = false, bool bSelection = false) const; // returns text with formatting
wchar_t* GetRichText() const; // returns only text in ucs2