src/eric7/QScintilla/MarkupProviders/HtmlProvider.py

branch
eric7
changeset 10324
168b6f6701c6
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/QScintilla/MarkupProviders/HtmlProvider.py	Sat Nov 18 15:22:35 2023 +0100
+++ b/src/eric7/QScintilla/MarkupProviders/HtmlProvider.py	Sat Nov 18 17:51:18 2023 +0100
@@ -87,6 +87,24 @@
         """
         self.__insertMarkup("del", editor)
 
+    def hasUnderline(self):
+        """
+        Public method to indicate the availability of underline markup.
+
+        @return flag indicating the availability of underline markup
+        @rtype bool
+        """
+        return True
+
+    def underline(self, editor):
+        """
+        Public method to generate underline text.
+
+        @param editor reference to the editor to work on
+        @type Editor
+        """
+        self.__insertMarkup("u", editor)
+
     def headerLevels(self):
         """
         Public method to determine the available header levels.

eric ide

mercurial