SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

Remove the use of deprecated API endpoints. #337

Closed UltraInstinct05 closed 3 years ago

UltraInstinct05 commented 3 years ago

This PR

  1. Makes use of Window.status_message instead of sublime.status_message.
  2. Uses View.assign_syntax instead of View.set_syntax_file (which uses assign_syntax internally).
  3. I did not find any instances of usage of Window.get_output_panel apart from that in comments.

PS: I have also slipped in a commit to add completions for the platform key which was added in 3f858fd7997a8dd3ff85d5ac63584214983542ea (which I unfortunately forgot to add, but did not seem well worth a seperate PR).

Resolves #336

FichteFoll commented 3 years ago

Thanks.

jrappen commented 3 years ago

Thanks