From d389ee6a2bd2dbbd5c7977b58e03a62d0b6ba73e Mon Sep 17 00:00:00 2001
From: Bruce Steers <bsteers4@gmail.com>
Date: Sun, 12 Jun 2022 09:06:52 +0000
Subject: [PATCH] Update CTextEdit.cpp, new InsertRichText() method [GB.QT4] *
 NEW: InsertRichText() method , a more obvious way to set
 TextEdit.Selection.RichText

---
 gb.qt4/src/ext/CTextEdit.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gb.qt4/src/ext/CTextEdit.cpp b/gb.qt4/src/ext/CTextEdit.cpp
index 8e5cfca93..8642b368b 100644
--- a/gb.qt4/src/ext/CTextEdit.cpp
+++ b/gb.qt4/src/ext/CTextEdit.cpp
@@ -653,6 +653,7 @@ GB_DESC CTextEditDesc[] =
   GB_PROPERTY("Text", "s", CTEXTAREA_text),
   GB_PROPERTY("RichText", "s", CTEXTAREA_rich_text),
   GB_METHOD("Insert", NULL, CTEXTAREA_insert, "(Text)s"),
+  GB_METHOD("InsertRichText", NULL, CTEXTAREA_sel_rich_text, "(Text)s"),
 
   GB_PROPERTY("Paragraph", "i", CTEXTAREA_line),
   GB_PROPERTY("Index", "i", CTEXTAREA_column),