mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-01 10:39:34 +12:00
parent
5dcd93ced3
commit
1368a9b79b
|
@ -676,7 +676,7 @@ class MarkdownHighlighter(BasicHighlighter):
|
||||||
spellingErrorFormat = self.format(startIndex)
|
spellingErrorFormat = self.format(startIndex)
|
||||||
spellingErrorFormat.setUnderlineColor(self.spellingErrorColor)
|
spellingErrorFormat.setUnderlineColor(self.spellingErrorColor)
|
||||||
spellingErrorFormat.setUnderlineStyle(
|
spellingErrorFormat.setUnderlineStyle(
|
||||||
qApp.stlye().styleHint(QStyle.SH_SpellCheckUnderlineStyle))
|
qApp.style().styleHint(QStyle.SH_SpellCheckUnderlineStyle))
|
||||||
|
|
||||||
self.setFormat(startIndex, length, spellingErrorFormat)
|
self.setFormat(startIndex, length, spellingErrorFormat)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue