Well, putting a tab inside a String in Java (instead of \t) is a very 
bad thing
anyway.  Maybe IDEA should convert the tab into space characters.
The cursor movement is controlled by Swing.

Vollmer, Thomas - CannonSA wrote:

> IDEA (build 505), Windows 2000 SP2.
> "IDE Options | Code Style | Tab | Use tab character" is uncheched.
> 
> I copied and pasted a string containing tabs from another app
> into IDEA: "XXX<tab>XXX"
> 
> I get unexpected cursor movement when moving the cursor to the right:
> 
> Start: "|XXX<tab>XXX"
> After KEY_RIGHT: "X|XX<tab>XXX"
> After KEY_RIGHT: "XX|X<tab>XXX"
> After KEY_RIGHT: "XXX<tab>|XXX" instead of "XXX|<tab>XXX"
> 
> Moving the cursor to the left works as expected:
> 
> Start: "XXX<tab>|XXX"
> After KEY_LEFT: "XXX|<tab>XXX"
> After KEY_LEFT: "XX|X<tab>XXX"
> After KEY_LEFT: "X|XX<tab>XXX"
> After KEY_LEFT: "|XXX<tab>XXX"
> 
> -Thomas
> 
> 
> ************************************
> If this email is not intended for you, or you are not responsible for
> the delivery of this message to the addressee, please note that this
> message may contain ITT Privileged/Proprietary Information.  In such
> a case, you may not copy or deliver this message to anyone.  You should
> destroy this message and kindly notify the sender by reply email.
> Information contained in this message that does not relate to the
> business of ITT is neither endorsed by nor attributable to ITT.
> ************************************
> 
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 
> 


-- 

Erb

==============================================================
"The only time I like in the morning is afternoon."
     - Russell D. Cooper

"If you do everything, then you're all done."
     - Melissa F. Cooper

"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
     - Larry Wall
==============================================================


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to