-
Notifications
You must be signed in to change notification settings - Fork 167
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 superseded SelectionMover class #730
Conversation
Build succeeded. |
@@ -692,18 +690,12 @@ gui.DirectFormattingController = function DirectFormattingController( | |||
* @return {boolean} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While touching this code please improve the API dox to mention that this is about the last paragraph touched by the range, not the last paragraph of the document (wrong understanding took me some time, thankfully @adityab pointed me the right way in the end).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Changes otherwise look okay to me 🍰 , but for some proper testing needs first to be rebased to latest master (not only to get the fixes of #747). |
The removed tests have been superseded by SelectionController tests covering the same functionality.
Build succeeded. |
Build succeeded. |
Oh, one more thing, I haven't bothered adding a changelog entry as I don't believe this is a user-impacting modification. |
Could not find any regressions in my testing. So move it over the 🌈 by-passing the 🌠 to the 🌊 and |
Remove the SelectionMover file entirely as it no longer contains any functionality.
Build succeeded. |
That is without a doubt the most poetic request to ship I've ever received 💌 Thanks for the review! |
Remove superseded SelectionMover class
The SelectionMover class has been superseded by more flexible combinations of filters, scanners and utils. The replacements bring less dependence on the cursor node for positioning, allowing greater flexibility and re-use.
Removing this code and associated tests performs the final step necessary to close #224. In addition, this eliminates redundant line detection logic, so #225 is also closed by this as well.