Re: new Desktop::Editor



Hi,
thanks a lot for your feedback! :)


On Tue, Sep 21, 1999 at 09:15:49AM -0400, thudson@cygnus.com wrote:
> Dave Camp wrote:
> > What is currently Desktop::Editor should be split into two
> > interfaces: one representing the text buffer, and one
> > representing a view of the text buffer. 
> I agree with this. For inspiration one can look at how emacs implements
> such functionality at the C level for buffers and windows (views).
> 
> This also allows creating specialized views for the editor, for example,
> DebugView for an ide. This specialized view would include additional
> functionality for displaying breakpoints and execution lines.

Ok, I'll add this.

> I would also like to see something like callbacks for text changes
> in the buffer. If you have a source browser and source browser view,
> you want to update your tags and view as new lexical elements
> are added.
> 
> One could argue that an EditorView would also have callbacks for
> current cursor position. Thus, if you had a view displaying
> things like current function, current locals, etc. the view
> could be updated as the cursor changes position.

I agree that these are very interesting features for a
programmers editor, but I don't think they should go into
the Desktop::Editor interfaces. I'll keep them in mind
for the development environment interfaces I'm designing.

Martijn


-- 
Martijn van Beers  <martijn@earthling.net>

'Don't worry if it sounds odd. Believe me, you are talking to
someone who has seen a lot of stuff that is odd. And I don't
mean biscuits.' --- Arthur Dent



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]