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