So here's my problem with model-backing wod editor ... I have no idea
what patterns eclipse uses for the design of an editor model. Some
of the basic problems are: As you are typing, the model is in an
invalid state, so the model has to be flexible enough to allow being
in a totally broken state. Secondly, I'm not really sure how the
Java model handles mapping from elements in the model back to
locations in the document. As you type, all the elements after where
you are typing are moving around. I don't know if the Java model
parses once and then lazily resolves position changes? Unfortunately
the code for the java editor is approximately 1 trillion lines long,
so getting a feel for its fundamental architecture is really tricky.
I'm trying to decide if I should just be able to dynamically produce
a model upon request instead of trying to keep them actively in-sync.
ms
On Sep 7, 2005, at 8:49 AM, Mike Schrag wrote:
> Yeah this is an open bug ... I'm going to be switching WOD editor
> over to a backing model that will make it easier to do this kind of
> stuff.
>
> On Sep 7, 2005, at 7:03 AM, Guido Neitzer wrote:
>
>
>> On 07.09.2005, at 10:26 Uhr, Ulrich Köster wrote:
>>
>>
>>
>>> I've added a new feature to the ComponentEditor yesterday.
>>> Clicking into a WebObjects tag in the HTMLEditor changes the
>>> highlight area in the WodEditor to the declaration of the select
>>> tag.
>>>
>>>
>>
>> Fantastic!
>>
>>
>>
>>> Do we need an option to enable/disable the feature?
>>>
>>>
>>
>> Not for me.
>>
>> Inofficial Feature-Request: Marking all entries in the wod that
>> have no tag in the html.
>>
>> cug
>>
>
>
This archive was generated by hypermail 2.0.0 : Wed Sep 07 2005 - 10:57:25 EDT