Re: spacial



On Fri, 2004-04-30 at 14:03, Rodrigo Moya wrote:
> On Fri, 2004-04-30 at 13:40 +0200, Murray Cumming wrote:
> > On Fri, 2004-04-30 at 13:26, Rodrigo Moya wrote:
> > > On Fri, 2004-04-30 at 13:14 +0200, Murray Cumming wrote:
> > > I was not talking about 2 sets of changes, just 2 views of the same
> > > file. Modifications go to both, but you can have one view on line 100
> > > and the other on line 10000. Just like emacs does.
> > 
> > OK, so the document is really only open once, though the distinction is
> > vague.
> > 
> > To do the same thing, gedit would need to access the data used by the
> > first instance when it opens the second instance. That sounds like a lot
> > of work.
> >  
> really? If gedit uses gtksourceview, which is, AFAIK, just a GtkTextView
> with syntax highlighting, it could perfectly use the same GtkTextModel
> for both views. Or am I missing something?

It's difficult if we are dealing with 2 gedit processes. However, gedit
already manages to find the existing gedit process when you start it
again, so gedit might actually be able to do that. Sometime I have to
figure out how it does that. I still wish that it gave me a choice of
reshowing or opening again.

Other applications probably don't do this yet.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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