--- a/QScintilla/MarkupProviders/MarkupBase.py Fri Jan 06 18:28:14 2017 +0100 +++ b/QScintilla/MarkupProviders/MarkupBase.py Fri Jan 06 20:00:52 2017 +0100 @@ -42,6 +42,15 @@ """ return False + def bold(self, editor): + """ + Public method to generate bold text. + + @param editor reference to the editor to work on + @type Editor + """ + pass + def hasItalic(self): """ Public method to indicate the availability of italic markup. @@ -51,6 +60,15 @@ """ return False + def italic(self, editor): + """ + Public method to generate italic text. + + @param editor reference to the editor to work on + @type Editor + """ + pass + def hasStrikethrough(self): """ Public method to indicate the availability of strikethrough markup. @@ -60,6 +78,15 @@ """ return False + def strikethrough(self, editor): + """ + Public method to generate strikethrough text. + + @param editor reference to the editor to work on + @type Editor + """ + pass + def headerLevels(self): """ Public method to determine the available header levels. @@ -69,33 +96,6 @@ """ return 0 - def bold(self, editor): - """ - Public method to generate bold text. - - @param editor reference to the editor to work on - @type Editor - """ - pass - - def italic(self, editor): - """ - Public method to generate italic text. - - @param editor reference to the editor to work on - @type Editor - """ - pass - - def strikethrough(self, editor): - """ - Public method to generate strikethrough text. - - @param editor reference to the editor to work on - @type Editor - """ - pass - def header(self, editor, level): """ Public method to generate a header. @@ -106,3 +106,21 @@ @type int """ pass + + def hasCode(self): + """ + Public method to indicate the availability of inline code markup. + + @return flag indicating the availability of inline code markup + @rtype bool + """ + return False + + def code(self, editor): + """ + Public method to generate inline code text. + + @param editor reference to the editor to work on + @type Editor + """ + pass