gtarawneh / languagetool-sublime

Proof-reading and grammar checker for English, French, German, Polish and 20+ other languages
71 stars 13 forks source link

Fix issue #41: no text in the LanguageTool panel #42

Open rmalouf opened 5 months ago

rmalouf commented 5 months ago

In sublime 4, no text gets displayed in the LanguageTool panel (issue #41)

The issue seems to be that in setLanguageToolPanelTextCommand() the Edit object isn't for the languagetool output view so the call to insert() fails. The command "insert" creates a new edit context for the correct view.

tomdittrich commented 2 months ago

@gtarawneh Is there a reason not to merge the changes?