1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm

289 lines
7.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Edit Menu actions</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript">
function changeSize(theImage,wd,ht) {
wdth=parseInt(theImage.style.width); hght=parseInt(theImage.style.height);
if ( !(wdth==(wd*2)) ) {wdth=wd*2; hght=ht*2;}
else {wdth=wd;hght=ht;}
theImage.style.width=wdth; theImage.style.height=hght;
}
</script>
</head>
<body>
<h1>Edit Menu actions</h1>
<p>Edit menu commands shown when a C/C++ Editor is visible:</p>
<p><img src="../images/cdt_menu_edit.png" alt="Selecting Edit Menu" ></p>
<p>
<table border="1" cellspacing="0">
<tbody>
<tr>
<th>
Name
</th>
<th>
Function
</th>
<td>
<strong>Keyboard Shortcut</strong>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" valign="top"><STRONG>Undo</STRONG>
</td>
<td align="left" valign="top">
Revert the last change in the editor
</td>
<td>
Ctrl + Z
</td>
</tr>
<tr>
<td align="left" valign="top"><STRONG>Redo </STRONG>
</td>
<td align="left" valign="top">
Revert an undone change
</td>
<td>
Ctrl + Y
</td>
</tr>
<tr>
<td align="left" valign="top"><STRONG>Cut</STRONG>
</td>
<td align="left" valign="top">
Copies the currently selected text or element to the clipboard and removes the element. On elements, the remove is not performed before the clipboard is pasted.
</td>
<td>
Ctrl + X
</td>
</tr>
<tr>
<td align="left" valign="top"><STRONG>Copy</STRONG>
</td>
<td align="left" valign="top">
Copies the currently selected text or elements to the clipboard
</td>
<td>
Ctrl + C
</td>
</tr>
<tr>
<td align="left" valign="top"><STRONG>Paste </STRONG>
</td>
<td align="left" valign="top">
Paste the current content as text to the editor, or as a sibling or child element to the a currently selected element.&nbsp;
</td>
<td>
Ctrl + V
</td>
</tr>
<tr>
<td><STRONG>Delete </STRONG>
</td>
<td>
Delete the current text or element selection.
</td>
<td>
Delete
</td>
</tr>
<tr align="left" valign="top">
<td><STRONG>Select All</STRONG>
</td>
<td>
Select all the editor content..
</td>
<td>
Ctrl + A
</td>
</tr>
<tr align="left" valign="top">
<td><STRONG>Find / Replace</STRONG>
</td>
<td>
Open the Find / Replace dialog. Editor only.
</td>
<td>
Ctrl + F
</td>
</tr>
<tr align="left" valign="top">
<td><STRONG>Add Bookmark...</STRONG>
</td>
<td>
Add a bookmark to the current text selection
or selected element.
</td>
<td>
&nbsp;
</td>
</tr>
<tr align="left" valign="top">
<td><STRONG>Add Task...</STRONG>
</td>
<td>
Add a user defined task to the current text selection or selected element.
</td>
<td>
Alt + <b></b>Enter
</td>
</tr>
<tr align="left" valign="top">
<td><STRONG>Find Next</STRONG>
</td>
<td>
Finds the next occurrence of the currently selected text. Editor only.
</td>
<td>
Ctrl + K
</td>
</tr>
<tr>
<td><STRONG>Find Previous</STRONG>
</td>
<td>
Finds the previous occurrence of the currently selected text. Editor only.
</td>
<td>
Ctrl + Shift + K
</td>
</tr>
<tr>
<td><STRONG>Incremental Find Next</STRONG>
</td>
<td>
Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only.
</td>
<td>
Ctrl + J
</td>
</tr>
<tr>
<td><STRONG>Incremental Find Previous</STRONG>
</td>
<td>
Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only.
</td>
<td>
Ctrl + Shift + J
</td>
</tr>
<tr align="left" valign="top">
<td><STRONG>Shift Right</STRONG>
</td>
<td>
Shifts text Right. Editor only
</td>
<td>
Ctrl + I
</td>
</tr>
<tr>
<td><STRONG>Shift Left</STRONG>
</td>
<td>
Shifts text Left. Editor only
</td>
<td>
Ctrl + Shift + I
</td>
</tr>
<tr>
<td><STRONG>Next Problem</STRONG>
</td>
<td>
Moves to the next problem encountered.
</td>
<td>
Ctrl + .
</td>
</tr>
<tr>
<td><STRONG>Previous Problem</STRONG>
</td>
<td>
Navigates to the previous problem encountered.
</td>
<td>
Ctrl + ,
</td>
</tr>
<tr>
<td><STRONG>Content Assist</STRONG>
</td>
<td>
Opens a context assist dialog at the current cursor position to bring up Java code assist proposals and templates. See the Templates preference page for available templates
<b>Window &gt; Preferences &gt; C/C++ &gt; Code Templates</b> and go to the Editor preference page
<b>Window &gt; Preferences &gt; C/C++ &gt; C/C++ Editor &gt; Content Assist</b> for configuring the behaviour of content assist.
</td>
<td>
Ctrl + Space
</td>
</tr>
<tr>
<td><STRONG>Convert Line Delemeters to</STRONG>
</td>
<td>
Toggles line delimeters to
<UL>
<li>CRLF (Windows)
<li>LF (UNIX, MacOS X)
<li>CR (Classic MacOS)</li>
</UL>
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td><STRONG>Encoding </STRONG>
</td>
<td>
Toggles the encoding of the currently shown text content.
</td>
<td>&nbsp;
</td>
</tr>
</tbody>
</table>
</p>
<p><b>Note: </b> Other <b>Edit</b> options are used with the JDT. Refer to the <i>Java Development User Guide</i> for details. </p>
<p>
<IMG height=14 alt="IBM Copyright Statement" src="../images/rh03_04.gif" width=300 border=0><br>
<IMG height=14 alt="IBM Copyright Statement" src="../images/ng03_04.gif" width=324 border=0>
</p>
</body>
</html>