Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Conversation

JeffryBooher
Copy link
Contributor

This is the refactoring effort to move Working Set API's and start deprecating some of the DocumentManager APIs

This probably isn't ready for prime time consumption but want to get any feedback on the approach and if there is anything I forgot.

Also I encourage as much test exposure as possible to make sure nothing is broken.

Copy link
Contributor

Choose a reason for hiding this comment

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

No need to mark @param deprecated if entire function is deprecated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the param is not supported in the new function so it's worth mentioning IMO

@redmunds
Copy link
Contributor

redmunds commented Jun 9, 2014

Done with initial review pass.

@redmunds redmunds self-assigned this Jun 10, 2014
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need to call DocumentManager.clearCurrentDocument() here? Is this because of a change with this PR, or does it fix a bug that existed before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because DocumentManger.removeLIstFromWorkingSet() is deprecated and the replacement does not support the clearCurrentDocument discreet -- it was already an exported API but private so I just removed the private part and call it from here to close the document. This will get refactored again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants