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 

Smart tab feature problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
S
Guest





PostPosted: Sun Jun 29, 2003 11:51 am    Post subject: Smart tab feature problem Reply with quote



Hi,

I just switched from JB8 to JB9 and imported my old formatting
configuration. And everything is OK, except for one annoying thing:
in JB8, when I opened a curly braceand pressed enter, the closing brace
would be generated and line indented by one block. Now, in JB9 the line
doesn't get indented. E.g.:

in JB8:
if (a == b) {
Quote:
= cursor is here
}


in JB9:
if (a == b) {
Quote:
= cursor is here
}


I tried all combinations of smart tab, smart indent, etc. options, but I
always get the same result...
Any solutions?

Marin



Back to top
Shawn Castrianni
Guest





PostPosted: Wed Jul 09, 2003 2:39 pm    Post subject: Re: Smart tab feature problem Reply with quote



I have the same problem. It is very annoying.

"S" <smola (AT) devil (DOT) com> wrote

Quote:
Hi,

I just switched from JB8 to JB9 and imported my old formatting
configuration. And everything is OK, except for one annoying thing:
in JB8, when I opened a curly braceand pressed enter, the closing brace
would be generated and line indented by one block. Now, in JB9 the line
doesn't get indented. E.g.:

in JB8:
if (a == b) {
| <= cursor is here
}

in JB9:
if (a == b) {
| <= cursor is here
}

I tried all combinations of smart tab, smart indent, etc. options, but I
always get the same result...
Any solutions?

Marin





Back to top
John McGrath [TeamB]
Guest





PostPosted: Thu Jul 10, 2003 2:30 am    Post subject: Re: Smart tab feature problem Reply with quote



On 7/9/2003 at 6:00:44 PM, Lori Olson (TeamB) wrote:

Quote:
The Tab key is mapped to the "Format Code" function. The F2 key is
mapped to the "Indent" function. If you want Tab to indent code,
then you need to swap those 2 key mappings.

I think it is a good idea to switch the two keys, but I think he is
talking about a different problem. In JBuilder 8, if you typed the
following, followed by a return:

if ( true ) {

It would give you this ("|" indicates the cursor position):

if ( true ) {
Quote:

}


With JBuilder 9, you get:

if ( true ) {
Quote:

}


I suspect this might depend on the formatting options in effect. In
any case, it is very annoying.

--
Regards,

John McGrath [TeamB]

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder 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.