Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Range class and rename RangeLsp to Range #2058

Merged
merged 3 commits into from
Sep 17, 2022
Merged

Remove Range class and rename RangeLsp to Range #2058

merged 3 commits into from
Sep 17, 2022

Conversation

rchl
Copy link
Member

@rchl rchl commented Sep 16, 2022

As suggested by @jwortmann in #2049 (comment) and also to make migration to new types much easier, renamed RangeLsp to Range and removed our custom Range class. It was an unnecessary intermediate class that wasn't really used for much (its contains, intersects, extend methods weren't even used outside of tests).

@rchl
Copy link
Member Author

rchl commented Sep 17, 2022

@jwortmann I'll wait for your OK or acknowledgement at least.

@jwortmann
Copy link
Member

@jwortmann I'll wait for your OK or acknowledgement at least.

I welcome this PR very much 😄
The changes look fine to me.

@rchl rchl merged commit 950feff into main Sep 17, 2022
@rchl rchl deleted the fix/range branch September 17, 2022 20:18
rchl added a commit that referenced this pull request Sep 27, 2022
* main:
  Fix issues with diagnostics panel toggling on save (#2063)
  Request color presentations when clicking on a color box (#2065)
  Import new imports like NotRequired from "typing"
  Ensure "Source Actions..." request includes the "source" kind (#2064)
  refactor(types): Mark properties with NotRequired (#2062)
  Add template variable `$text_document_position` in execute command (#2061)
  Only update content of diagnostics panel when visible (#2054)
  Remove Range class and rename RangeLsp to Range (#2058)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants