BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

schizophrenic windows

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
johnp
Guest





PostPosted: Tue Jun 27, 2006 2:14 pm    Post subject: schizophrenic windows Reply with quote



Is there a way with BCB6 standard to

1. stop the editor's irritating practice of
swopping out an already open cpp file for
its counterpart header, when opening the header.

2. make the editor open a file in the edit window
currently in focus instead of another edit window
opened earlier.

johnp
Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Tue Jun 27, 2006 3:07 pm    Post subject: Re: schizophrenic windows Reply with quote



johnp wrote:

Quote:
1. stop the editor's irritating practice of
swopping out an already open cpp file for
its counterpart header, when opening the header.

I'm not sure what you mean here but are you referring to the way some
windows insist on switching back to the CPP (or H) when you reactivate
them? If so then I agree it's very irritating and sadly I don't know
how you can stop it.

It's possible that BDS doesn't do this or at least that a post to QC
might see the behaviour changed.

Quote:
2. make the editor open a file in the edit window
currently in focus instead of another edit window
opened earlier.

Do you mean 'window' or 'buffer'? If you mean Window then I have no
idea because on the odd occasion when I've caused a second edit window
to appear it's been a 'typo' and I close it :)

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Back to top
Dennis Jones
Guest





PostPosted: Wed Jun 28, 2006 8:10 am    Post subject: Re: schizophrenic windows Reply with quote



"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote in message
news:44a1034c$1 (AT) newsgroups (DOT) borland.com...
Quote:
johnp wrote:

1. stop the editor's irritating practice of
swopping out an already open cpp file for
its counterpart header, when opening the header.

I'm not sure what you mean here

I think he means this: From any CPP file which #include's a .H file that is
part of a unit (CPP/H pair), right-click on the .H file name and select
"Open File at Cursor." This will open the .H file, but not the "unit", and
thus if you now press Ctrl+F6, the IDE will open the associated .CPP file in
a second page of the editor's page-control (instead of switching the current
bottom tab from the .H to the .CPP, which is what normally happens).

Quote:
2. make the editor open a file in the edit window
currently in focus instead of another edit window
opened earlier.

I think this one is the result of using "New Edit Window" to create
additional editor windows. If you have multiple editor windows open and you
close the current project/group, then re-open it, depending on your saved
desktop settings, you might not get all of the editor windows back. Now, if
you try to open one of the source files was in a second editor window (as
opposed to the primary one) when you closed the project, the IDE remembers
this and re-opens that file in another editor window again. To stop this
from happening, I think you have to close all edit windows and start over
again from scratch. It may also be possible that your saved desktop has two
editor windows.

- Dennis
Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Wed Jun 28, 2006 1:14 pm    Post subject: Re: schizophrenic windows Reply with quote

Dennis Jones wrote:

Quote:
I think he means this: From any CPP file which #include's a .H file
that is part of a unit (CPP/H pair), right-click on the .H file name
and select "Open File at Cursor." This will open the .H file, but
not the "unit", and thus if you now press Ctrl+F6, the IDE will open
the associated .CPP file in a second page of the editor's
page-control (instead of switching the current bottom tab from the .H
to the .CPP, which is what normally happens).

Ah yes. That's my QC#720.

Thankfully fixed in BDS2006 and one of the main reasons I'm annoyed
that we can't yet switch our team to the new product.

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Back to top
Dennis Jones
Guest





PostPosted: Wed Jun 28, 2006 8:37 pm    Post subject: Re: schizophrenic windows Reply with quote

"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote in message
news:44a23a54$1 (AT) newsgroups (DOT) borland.com...
Quote:
Dennis Jones wrote:

I think he means this: From any CPP file which #include's a .H file
that is part of a unit (CPP/H pair), right-click on the .H file name
and select "Open File at Cursor." This will open the .H file, but
not the "unit", and thus if you now press Ctrl+F6, the IDE will open
the associated .CPP file in a second page of the editor's
page-control (instead of switching the current bottom tab from the .H
to the .CPP, which is what normally happens).

Ah yes. That's my QC#720.

Thankfully fixed in BDS2006 and one of the main reasons I'm annoyed
that we can't yet switch our team to the new product.

Yes, annoying, but hardly a "main reason" to avoid switching, IMO --
especially since there are much more serious problems that need to be fixed!

- Dennis
Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Thu Jun 29, 2006 1:49 pm    Post subject: Re: schizophrenic windows Reply with quote

Dennis Jones wrote:

Quote:
Yes, annoying, but hardly a "main reason" to avoid switching, IMO --
especially since there are much more serious problems that need to be
fixed!

Um..you misunderstood. My complaint is that we're still waiting for
management approval to make the move. I have a license but noone else
on my team has and having been taken over it's taking a while to get it
sorted.

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Back to top
johnp
Guest





PostPosted: Thu Jun 29, 2006 4:07 pm    Post subject: Re: schizophrenic windows Reply with quote

"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote in message
news:44a1034c$1 (AT) newsgroups (DOT) borland.com...
Quote:
johnp wrote:

1. stop the editor's irritating practice of
swopping out an already open cpp file for
its counterpart header, when opening the header.

I'm not sure what you mean here but are you referring to the way some
windows insist on switching back to the CPP (or H) when you reactivate
them? If so then I agree it's very irritating and sadly I don't know
how you can stop it.

Yes - this is precisely what I mean

It's possible that BDS doesn't do this or at least that a post to QC
might see the behaviour changed.

2. make the editor open a file in the edit window
currently in focus instead of another edit window
opened earlier.

Do you mean 'window' or 'buffer'? If you mean Window then I have no
idea because on the odd occasion when I've caused a second edit window
to appear it's been a 'typo' and I close it :)

Yes - I mean edit window. My app. has grown to 8 cpp files & 7 headers
and while editing one file I frequently want to refer to another so I open
a 2nd edit window.

To elaborate on the 2nd part of my question - If I have several headers
open in one edit window & several cpp files in another window & I want
to see a not_in_focus header in the not_in_focus header window I'll click
on the tab of the header I want to see. Sometimes (I haven't figured out
what the circumstances are yet) the file will instantly switch and display
the
corresponding cpp file. How annoying. I have to right click file tabs &
select "Open source/header file" to reverse this involuntary swop by the
IDE.

Andrue - Do I get BDS to escape this behaviour ?
BTW. Long ago U recommended I upgrade from BCB3 to BCB6 which
I did. BCB3 does not swop headers and cpp files around !


--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Thu Jun 29, 2006 7:58 pm    Post subject: Re: schizophrenic windows Reply with quote

Yike. I think your newsreader has got very confused - you've confused
the quoting. Your responses are showing as coming from someone two
replies back.

Quote:
Andrue - Do I get BDS to escape this behaviour ?

I don't know - you'll have to see if someone with BDS can confirm that
this has been fixed. If not you'd have to post a request to QC and hope.

Quote:
BTW. Long ago U recommended I upgrade from BCB3 to BCB6 which
I did. BCB3 does not swop headers and cpp files around !

Yeah but it does a load more horrible things and fails to do a lot of
what BCB6 does. It's progress of a kind Smile
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Back to top
Dennis Jones
Guest





PostPosted: Fri Jun 30, 2006 3:31 am    Post subject: Re: schizophrenic windows Reply with quote

"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote in message
news:44a3942b$1 (AT) newsgroups (DOT) borland.com...
Quote:
Dennis Jones wrote:

Yes, annoying, but hardly a "main reason" to avoid switching, IMO --
especially since there are much more serious problems that need to be
fixed!

Um..you misunderstood. My complaint is that we're still waiting for
management approval to make the move. I have a license but noone else
on my team has and having been taken over it's taking a while to get it
sorted.

I certainly did (now that I read it again)! Silly me.

- Dennis
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.