Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Open Documents Tracker -> FSharp.Editing #1410

Open
cloudRoutine opened this issue Jul 13, 2016 · 0 comments
Open

Open Documents Tracker -> FSharp.Editing #1410

cloudRoutine opened this issue Jul 13, 2016 · 0 comments

Comments

@cloudRoutine
Copy link
Contributor

cloudRoutine commented Jul 13, 2016

In order to move the functionality of some of the features over to VFPT.Core we need an open documents tracker on the Core side that will store the dirty buffers of the documents currently open in the editor. This will not remove the OpenDocumentsTracker from the Logic side, but will shift it's purpose to sending Document Open, Closed, and Changed events as well as the text of these documents to the Core side. It may need to apply changes to open docs received back from the Core side, but it's currently unclear if that will be necessary.

In VFPT.Core the OpenDocument record will store the text and the range equivalent to the snapshot span instead of ITextDocument and ITextSnapshot

The types in logic should be renamed to VSOpenDocument and VSOpenDocumentsTracker

Code Located @
https://github.com/fsprojects/VisualFSharpPowerTools/blob/master/src/FSharp.Editing.VisualStudio/ProjectSystem/OpenDocumentsTracker.fs

@cloudRoutine cloudRoutine added this to the VFPT.Core Refactoring milestone Jul 13, 2016
@cloudRoutine cloudRoutine changed the title Open Documents Tracker -> VFPT.Core Open Documents Tracker -> FSharp.Editing Jul 15, 2016
@cloudRoutine cloudRoutine self-assigned this Jul 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant