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,

Oh, I see. I am still not thinking in terms of Buffers :-) A default implementation would be nice, because it would probably cover most use cases, but it's probably not the top priority. Thanks!

best regards,
Vlad


On Tue, Mar 10, 2015 at 3:58 PM, Vladimir Piskarev <pisv@xxxxx> wrote:
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


_______________________________________________
handly-dev mailing list
handly-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/handly-dev


Back to the top