carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_shift_code.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
<title>Shifting lines of code to the right or left</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
<link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
<h1>Shifting lines of code to the right or left</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<p>You can shift lines of code to the left or right in the C/C++ editor. You can 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
change the tab width in the C/C++ editor preferences window. For more 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
information, see <a href="cdt_t_cust_cpp_editor.htm">Customizing the C/C++ 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
editor</a>.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
<p>To shift lines of code to the right or left:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
  <li>In the C/C++ editor, select the full length of the lines that you want to shift.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
  <li>Do one of the following:</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
  <ul><li>To move the text to the right, press <b>Tab</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
	<li>To move the text to the right, click <b>Edit &gt; Shift Right</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
	<li>To move the text to the left, press <b>Shift+Tab</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
	<li>To move the text to the left, click <b>Edit &gt; Shift Left</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
  </ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
  </ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
 <a href="../concepts/cdt_o_code_entry.htm">Code entry</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
<a href="cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
<a href="../reference/cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
</html>