Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Firebug integration

John J. Barton wrote on 2011/02/19 12:59:33:
> the thing that is in the window is some complicated dojo application not
> a component that can be talked to.  (I'm basing this on trying to read
> the code, I didn't find any docs).


This is not because we wanted it to be this way, it's because we didn't have anybody who wanted to consume the editor with key bindings etc. as a component yet. Sounds like now is the time to work on making it a component.

What's the interface you would like to see? The simplest possible interface I can think of is an object you can call setText and getText on. You could pass the id of a div in the constructor, or something like that. You probably want to be called when the dirty state changes. Anything else? Who would react to Ctrl+S, the editor? What about the outline and the error markers, would you expect that to be part of the component?

I've filed an enhancement request for the detailed discussion: https://bugs.eclipse.org/bugs/show_bug.cgi?id=337647

Thanks,
Boris


Back to the top