openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #22465
[Merge] lp:~googol/openlp/abstract-method into lp:openlp
Andreas Preikschat has proposed merging lp:~googol/openlp/abstract-method into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~googol/openlp/abstract-method/+merge/200155
-fixed renamed Qt method
--
https://code.launchpad.net/~googol/openlp/abstract-method/+merge/200155
Your team OpenLP Core is requested to review the proposed merge of lp:~googol/openlp/abstract-method into lp:openlp.
=== modified file 'openlp/core/lib/spelltextedit.py'
--- openlp/core/lib/spelltextedit.py 2013-12-24 08:56:50 +0000
+++ openlp/core/lib/spelltextedit.py 2013-12-29 20:16:39 +0000
@@ -133,7 +133,7 @@
"""
self.dictionary = enchant.Dict(action.text())
self.highlighter.spelling_dictionary = self.dictionary
- self.highlighter.highlight_block(self.toPlainText())
+ self.highlighter.highlightBlock(self.toPlainText())
self.highlighter.rehighlight()
def correct_word(self, word):
@@ -180,7 +180,7 @@
super(Highlighter, self).__init__(*args)
self.spelling_dictionary = None
- def highlight_block(self, text):
+ def highlightBlock(self, text):
"""
Highlight misspelt words in a block of text.
"""