Page 1 of 1

Same file in 2 different windows?

Posted: Mon Jan 25, 2010 5:36 pm
by apa
Hi,

probably a stupid question:
I would like to have the same file in two (or more) different windows. Each time I tried this, I ended up failing:
a) Opening the same file twice switches to the existing file window tab
b) detaching the file first, then trying to open it up again, switches focus to the detached tab.

What am I doing wrong?
Thx
Arndt

Re: Same file in 2 different windows?

Posted: Mon Jan 25, 2010 6:55 pm
by eranif
apa wrote:What am I doing wrong?
Nothing. You cant have the same window opened twice in codelite

Eran

Re: Same file in 2 different windows?

Posted: Tue Jan 26, 2010 12:38 pm
by apa
Hi, Eran

would this be worth a feature request? I tend to remember that earlier version of CodeLite used to support this, but I may be wrong ...

An alternative would be to allow editor windows to be (horizontally) split, Visual Studio e.g. has such a feature.

The justification/application of such a feature is that it is sometimes handy to look at 2 spots of the same file at the
same time instead of scrolling back and forth.

Thx,rgds
Arndt

Re: Same file in 2 different windows?

Posted: Tue Jan 26, 2010 2:49 pm
by DavidGH
Hi,

A workaround on Linux: create a symlink to the file you want to view twice; you'll find that you can load the symlink separately, as CodeLite thinks it's a different file.

I don't know if the 'shortcuts' on other platforms will do the same thing.

Regards,

David

Re: Same file in 2 different windows?

Posted: Tue Jan 26, 2010 4:08 pm
by eranif
apa wrote:would this be worth a feature request?
Yes
apa wrote:I tend to remember that earlier version of CodeLite used to support this, but I may be wrong ...
I dont think so. If you were able to do that, than it was a bug ;)
apa wrote:The justification/application of such a feature is that it is sometimes handy to look at 2 spots of the same file at the
same time instead of scrolling back and forth.
Sure, go ahead and open a FR for this

Eran