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 superseded SelectionMover class #730

Merged
merged 2 commits into from
Aug 5, 2014

Conversation

peitschie
Copy link
Contributor

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.

@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/1992/

@@ -692,18 +690,12 @@ gui.DirectFormattingController = function DirectFormattingController(
* @return {boolean}
Copy link
Contributor

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).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@kossebau
Copy link
Contributor

kossebau commented Aug 1, 2014

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.
@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2031/

@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2032/

@peitschie
Copy link
Contributor Author

Oh, one more thing, I haven't bothered adding a changelog entry as I don't believe this is a user-impacting modification.

@kossebau
Copy link
Contributor

kossebau commented Aug 5, 2014

Could not find any regressions in my testing. So move it over the 🌈 by-passing the 🌠 to the 🌊 and :shipit: (wait, rainbow at night?)

Remove the SelectionMover file entirely as it no longer contains any
functionality.
@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2040/

@peitschie
Copy link
Contributor Author

That is without a doubt the most poetic request to ship I've ever received 💌

Thanks for the review!

peitschie added a commit that referenced this pull request Aug 5, 2014
Remove superseded SelectionMover class
@peitschie peitschie merged commit bd0da63 into webodf:master Aug 5, 2014
@peitschie peitschie deleted the selectionmover-cleanup branch August 5, 2014 00:15
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.

Beginning of line / end of line navigation (home/end) erratic in FF
3 participants