languagetool-sublime
languagetool-sublime copied to clipboard
Fix issue #41: no text in the LanguageTool panel
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.
@gtarawneh Is there a reason not to merge the changes?