diff -r 41974276b558 -r 168b6f6701c6 src/eric7/QScintilla/MarkupProviders/HtmlProvider.py --- 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.