parent
a1199a2b43
commit
0d0f924c2e
|
@ -65,6 +65,9 @@ class HtmlCheckSpelling(method.Method):
|
|||
# -x no backup file
|
||||
# -M show context menu
|
||||
# -H treat input document as HTML
|
||||
if w.buffer.changed():
|
||||
w.set_error("There are unsaved changes; please save first.")
|
||||
return
|
||||
w.application.run_external('ispell', '-x', '-M', '-H', w.buffer.path)
|
||||
if w.buffer.changed_on_disk():
|
||||
w.buffer.reload()
|
||||
|
|
Loading…
Reference in New Issue