Skip to content

Replace usage of deprecated svg.selected by svg.selection

What does the merge request do?

I noticed that a lot of extensions still use self.svg.selected, which is defined by DeprecatedSvgMixin. This MR replaces the calls by self.svg.selection.

It would probably be prudent to raise deprecation warnings in DeprecatedSVGMixin, but that has to wait until after 1.2.

Summary for release notes

Code quality improvements.

Checklist

  • Add unit tests (if applicable)
  • Changes to inkex/ are well documented
  • Clean merge request history

Merge request reports