How do I move the text to the right In cmd?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Chrillenn
Posts: 1
Joined: Fri Feb 12, 2010 7:37 am

How do I move the text to the right In cmd?

Post by Chrillenn »

This code has been done in textpad and I'm wondering.

How do i move all the text to the right when i press Ctrl+2 so it looks nicer?



public class Ovning2_6


{
public static void main(String args[])
{

for (int i=1; i<=12; i++) //Start ; villkor; öka antal steg


{

System.out.print("\n"+i);

for (int j=1; j <=12; j++)

{
int k=i*j;
System.out.print("\t"+k);
}
System.out.println( );
System.out.println( );


}

}
}
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

by assigning Ctrl+2 to the command edit - indent.

(You could use Ctrl+i instead ...)
Post Reply