Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [handly-dev] Create Handly model on source not in an editor

Hi Vlad,
 
Not sure I fully understand your particular use case, but even now, one should be able to open a working copy even for a non-existing source file, and to connect it to a SourceViewer, by implementing appropriate IWorkingCopyBuffer and source viewer's reconciler. Perhaps we could even provide a default implementation for this -- I'll need to take a look within the 0.3 time frame.
 
Regarding IModule, it is just a placeholder introduced to allow for "binary module" implementations in principle -- no promise yet as to whether, when and how such implementations can be supported by Handly (sorry, but I just don't know enough to make a meaningful prediction at the moment). But one can speculate that "binary modules" would be even simpler to handle in this regard, as they are read-only (no need for reconciling).
 
Best regards,
Vladimir
 
 
Hi!

Sometimes the source code is shown/edited in a SourceViewer that is not a text editor and still needs IDE support and thus a model. Would the upcoming Module class and the associated support code cover even this case (without having to duplicate a lot of implementation), or is something else needed?

best regards,
Vlad


Back to the top