mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 21:05:37 +02:00
Bug 400955: update Edit menu docs
Change-Id: I743c5ca8a412eb059bba478aaecc223dd04b2080 Reviewed-on: https://git.eclipse.org/r/10541 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
This commit is contained in:
parent
b502c8ab5d
commit
3fc0510ecd
2 changed files with 208 additions and 186 deletions
BIN
doc/org.eclipse.cdt.doc.user/images/cdt_menu_edit.png
Normal file → Executable file
BIN
doc/org.eclipse.cdt.doc.user/images/cdt_menu_edit.png
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 47 KiB |
394
doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm
Normal file → Executable file
394
doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm
Normal file → Executable file
|
@ -1,6 +1,5 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
@ -8,189 +7,212 @@
|
||||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div role="main"><h1>Edit Menu actions</h1>
|
<div role="main">
|
||||||
|
<h1>Edit Menu actions</h1>
|
||||||
<p><img src="../images/cdt_menu_edit.png" alt="Selecting Edit Menu" ></p>
|
<p>
|
||||||
<p>
|
<img src="../images/cdt_menu_edit.png" alt="Selecting Edit Menu">
|
||||||
<table border="1" cellspacing="0" cellpadding="3"> <tbody>
|
</p>
|
||||||
<tr>
|
<table class="menu" border="1" cellspacing="0" cellpadding="3">
|
||||||
<th id="name">Name</th>
|
<thead>
|
||||||
<th id="function">Function</th>
|
<tr>
|
||||||
<th id="keyboard">Keyboard Shortcut</th>
|
<th id="name">Name</th>
|
||||||
</tr>
|
<th id="function">Function</th>
|
||||||
<tr style="text-align:left" valign="top">
|
<th id="keyboard">Keyboard Shortcut</th>
|
||||||
<td style="text-align:left" valign="top" headers="name"><strong>Undo</strong></td>
|
</tr>
|
||||||
<td style="text-align:left" valign="top" headers="function">Revert the last change in the editor</td>
|
</thead>
|
||||||
<td headers="keyboard"> Ctrl+Z</td>
|
<tbody>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Undo</td>
|
||||||
<tr>
|
<td headers="function">Revert the last change made in the
|
||||||
<td style="text-align:left" valign="top" headers="name"><strong>Redo </strong></td>
|
editor</td>
|
||||||
<td style="text-align:left" valign="top" headers="function">Revert an undone change</td>
|
<td headers="keyboard">Ctrl+Z</td>
|
||||||
<td headers="keyboard"> Ctrl+Y</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Redo</td>
|
||||||
<tr>
|
<td headers="function">Redo a change previously reverted with
|
||||||
<td style="text-align:left" valign="top" headers="name"><strong>Cut</strong></td>
|
Undo</td>
|
||||||
<td style="text-align:left" valign="top" headers="function">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 headers="keyboard">Ctrl+Y</td>
|
||||||
<td headers="keyboard"> Ctrl+X</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Cut</td>
|
||||||
<tr>
|
<td headers="function">Copy the currently selected text to the
|
||||||
<td style="text-align:left" valign="top" headers="name"><strong>Copy</strong></td>
|
clipboard and remove it from the editor</td>
|
||||||
<td style="text-align:left" valign="top" headers="function">Copies the currently selected text or elements to the clipboard</td>
|
<td headers="keyboard">Ctrl+X</td>
|
||||||
<td headers="keyboard"> Ctrl+C</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Copy</td>
|
||||||
<tr>
|
<td headers="function">Copy the currently selected text to the
|
||||||
<td style="text-align:left" valign="top" headers="name"><strong>Paste </strong></td>
|
clipboard</td>
|
||||||
<td style="text-align:left" valign="top" headers="function">Paste the current content as text to the editor, or as a sibling or child element to the a currently selected element. </td>
|
<td headers="keyboard">Ctrl+C</td>
|
||||||
<td headers="keyboard"> Ctrl+V</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Paste</td>
|
||||||
<tr>
|
<td headers="function">Paste the contents of the clipboard, as
|
||||||
<td headers="name"><strong>Delete </strong></td>
|
text, to the currently active editor window</td>
|
||||||
<td headers="function">Delete the current text or element selection.</td>
|
<td headers="keyboard">Ctrl+V</td>
|
||||||
<td headers="keyboard"> Delete</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Delete</td>
|
||||||
<tr style="text-align:left" valign="top">
|
<td headers="function">Delete the currently selected text</td>
|
||||||
<td headers="name"><strong>Select All</strong></td>
|
<td headers="keyboard">Delete</td>
|
||||||
<td headers="function">Select all the editor content..</td>
|
</tr>
|
||||||
<td headers="keyboard"> Ctrl+A</td>
|
<tr>
|
||||||
</tr>
|
<td class="menu_name" headers="name">Select All</td>
|
||||||
|
<td headers="function">Select all the text in the currently
|
||||||
<tr style="text-align:left" valign="top">
|
active editor window</td>
|
||||||
<td headers="name"><strong>Find / Replace</strong></td>
|
<td headers="keyboard">Ctrl+A</td>
|
||||||
<td headers="function">Open the Find / Replace dialog. Editor only.</td>
|
</tr>
|
||||||
<td headers="keyboard"> Ctrl+F</td>
|
<tr>
|
||||||
</tr>
|
<td rowspan="5" class="menu_name" headers="name">Expand
|
||||||
|
Selection To</td>
|
||||||
<tr style="text-align:left" valign="top">
|
<td headers="function"><p>Expand the selection (or create
|
||||||
<td headers="name"><strong>Find Next</strong></td>
|
a selection starting from the cursor) in the following ways:</p></td>
|
||||||
<td headers="function">Finds the next occurrence of the currently selected text. Editor only.</td>
|
<td headers="keyboard">Alt+Shift+<i>Arrow Keys</i></td>
|
||||||
<td headers="keyboard"> Ctrl+K</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td headers="function">
|
||||||
<tr>
|
<dl>
|
||||||
<td headers="name"><strong>Find Previous</strong></td>
|
<dt>Enclosing Element</dt>
|
||||||
<td headers="function">Finds the previous occurrence of the currently selected text. Editor only.</td>
|
<dd>Add the enclosing expression or block to the selection
|
||||||
<td headers="keyboard"> Ctrl+Shift+K</td>
|
(It relies on the embedded parser, so may fail when syntax
|
||||||
</tr>
|
errors are present.)</dd>
|
||||||
|
</dl>
|
||||||
<tr>
|
</td>
|
||||||
<td headers="name"><strong>Incremental Find Next</strong></td>
|
<td headers="keyboard">Alt+Shift+Up</td>
|
||||||
<td headers="function">Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only.</td>
|
</tr>
|
||||||
<td headers="keyboard"> Ctrl+J</td>
|
<tr>
|
||||||
</tr>
|
<td headers="function">
|
||||||
|
<dl>
|
||||||
<tr>
|
<dt>Next Element</dt>
|
||||||
<td headers="name"><strong>Incremental Find Previous</strong></td>
|
<dd>Add the following element to the selection</dd>
|
||||||
<td headers="function">Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only.</td>
|
</dl>
|
||||||
<td headers="keyboard"> Ctrl+Shift+J</td>
|
</td>
|
||||||
</tr>
|
<td headers="keyboard">Alt+Shift+Right</td>
|
||||||
|
</tr>
|
||||||
<tr style="text-align:left" valign="top">
|
<tr>
|
||||||
<td headers="name"><strong>Add Bookmark...</strong></td>
|
<td headers="function">
|
||||||
<td headers="function">Add a bookmark to the current text selection or selected element.</td>
|
<dl>
|
||||||
<td headers="keyboard"> </td>
|
<dt>Previous Element</dt>
|
||||||
</tr>
|
<dd>Add the preceding element to the selection</dd>
|
||||||
|
</dl>
|
||||||
<tr style="text-align:left" valign="top">
|
</td>
|
||||||
<td headers="name"><strong>Add Task...</strong></td>
|
<td headers="keyboard">Alt+Shift+Left</td>
|
||||||
<td headers="function">Add a user defined task to the current text selection or selected element.</td>
|
</tr>
|
||||||
<td headers="keyboard"> Alt+Enter</td>
|
<tr>
|
||||||
</tr>
|
<td headers="function">
|
||||||
|
<dl>
|
||||||
<tr style="text-align:left" valign="top">
|
<dt>Restore Last Selection</dt>
|
||||||
<td headers="name"><strong>Add to working set</strong></td>
|
<dd>
|
||||||
<td headers="function">Add current resource to selected Working Set</td>
|
Restores the previous selection after an invocation of <strong>Expand
|
||||||
<td headers="keyboard"> Ctrl+I</td>
|
Selection To</strong>.
|
||||||
</tr>
|
</dd>
|
||||||
|
</dl>
|
||||||
<tr>
|
</td>
|
||||||
<td headers="name"><strong>Remove from working set</strong></td>
|
<td headers="keyboard">Alt+Shift+Down</td>
|
||||||
<td headers="function">Remove current resource from Working Set</td>
|
</tr>
|
||||||
<td headers="keyboard"> Ctrl+Shift+I</td>
|
<tr>
|
||||||
</tr>
|
<td class="menu_name" headers="name">Find / Replace...</td>
|
||||||
|
<td headers="function">Open the basic in-editor Find / Replace
|
||||||
<tr>
|
dialog</td>
|
||||||
<td headers="name"><strong>Smart Insert Mode</strong></td>
|
<td headers="keyboard">Ctrl+F</td>
|
||||||
<td headers="function">Toggles editor's Smart Insert Mode</td>
|
</tr>
|
||||||
<td headers="keyboard"> Ctrl+Shift+Insert</td>
|
<tr>
|
||||||
</tr>
|
<td class="menu_name" headers="name">Find Word</td>
|
||||||
|
<td headers="function">Find the next occurrence of either the
|
||||||
<tr>
|
word containing the cursor, or the first word of the current
|
||||||
<td headers="name"><strong>Show Tooltip Description</strong></td>
|
selection, if it covers multiple words (Added for Visual Studio
|
||||||
<td headers="function">Displays tooltip description, where applicable.</td>
|
compatibility.)</td>
|
||||||
<td headers="keyboard">F2</td>
|
<td headers="keyboard"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
<tr>
|
<td class="menu_name" headers="name">Find Next</td>
|
||||||
<td headers="name"><strong>Word Completion</strong></td>
|
<td headers="function">Find the next occurrence of the
|
||||||
<td headers="function">Completes current word in editor.</td>
|
currently selected text, or the last text searched for, if there
|
||||||
<td headers="keyboard">Alt+/</td>
|
is no selection</td>
|
||||||
</tr>
|
<td headers="keyboard">Ctrl+K</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td headers="name"><strong>Quick fix</strong></td>
|
<td class="menu_name" headers="name">Find Previous</td>
|
||||||
<td headers="function">Call quick fix dialog for selected warning/error.</td>
|
<td headers="function">Find the previous occurrence of the
|
||||||
<td headers="keyboard"> Ctrl+1</td>
|
currently selected text, or the last text searched for, if there
|
||||||
</tr>
|
is no selection</td>
|
||||||
|
<td headers="keyboard">Ctrl+Shift+K</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td headers="name"><strong>Content Assist</strong></td>
|
<tr>
|
||||||
<td headers="function">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
|
<td class="menu_name" headers="name">Incremental Find Next</td>
|
||||||
<strong>Window > Preferences > C/C++ > Editor > Templates</strong> and go to the Editor preference page
|
<td headers="function">Start the incremental find mode
|
||||||
<strong>Window > Preferences > C/C++ > Editor > Content Assist</strong> for configuring the behavior of content assist.</td>
|
(Whatever is typed afterward will be searched for.)</td>
|
||||||
<td headers="keyboard"> Ctrl+Space</td>
|
<td headers="keyboard">Ctrl+J</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
<tr>
|
<td class="menu_name" headers="name">Incremental Find Previous</td>
|
||||||
<td headers="name"><strong>Parameter Hints</strong></td>
|
<td headers="function">Start the incremental find mode,
|
||||||
<td headers="function">Opens Parameter Hints dialog. Editor only</td>
|
looking backward</td>
|
||||||
<td headers="keyboard">Ctrl+Shift+Space</td>
|
<td headers="keyboard">Ctrl+Shift+J</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Add Bookmark...</td>
|
||||||
<tr style="text-align:left" valign="top">
|
<td headers="function">Add a bookmark pointing to the current
|
||||||
<td headers="name"><strong>Shift Right</strong></td>
|
cursor position or selected text</td>
|
||||||
<td headers="function">Shifts text Right. Editor only</td>
|
<td headers="keyboard"> </td>
|
||||||
<td headers="keyboard"> </td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Add Task...</td>
|
||||||
<tr>
|
<td headers="function">Add a user defined task located at the
|
||||||
<td headers="name"><strong>Shift Left</strong></td>
|
current line</td>
|
||||||
<td headers="function">Shifts text Right. Editor only</td>
|
<td headers="keyboard"> </td>
|
||||||
<td headers="keyboard"> </td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Smart Insert Mode</td>
|
||||||
<tr>
|
<td headers="function">Toggle the Smart Insert mode (i.e. the
|
||||||
<td headers="name"><strong>Format</strong></td>
|
auto-completion features defined in <strong>C/C++ >
|
||||||
<td headers="function">Formats text. Editor only</td>
|
Editor > Typing</strong>)
|
||||||
<td headers="keyboard">Ctrl+Shift+F</td>
|
</td>
|
||||||
</tr>
|
<td headers="keyboard">Ctrl+Shift+Insert</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td headers="name"><strong>Add Include</strong></td>
|
<td class="menu_name" headers="name">Show Tooltip Description</td>
|
||||||
<td headers="function">Add include to current file. Editor only </td>
|
<td headers="function">Display the tooltip appropriate to the
|
||||||
<td headers="keyboard">Ctrl+Shift+N</td>
|
cursor position.</td>
|
||||||
</tr>
|
<td headers="keyboard">F2</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td headers="name"><strong>Set Encoding... </strong></td>
|
<td class="menu_name" headers="name">Word Completion</td>
|
||||||
<td headers="function">Toggles the encoding of the currently shown text content.</td>
|
<td headers="function">Complete the word containing the cursor
|
||||||
<td headers="keyboard"> </td>
|
using the next available completion (Invoke it repeatedly to cycle
|
||||||
</tr>
|
through them.)</td>
|
||||||
</tbody>
|
<td headers="keyboard">Alt+/</td>
|
||||||
</table>
|
</tr>
|
||||||
<p></p>
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Quick Fix</td>
|
||||||
|
<td headers="function">Display the Quick Fix dialog
|
||||||
<p><strong>Note: </strong> Other <strong>Edit</strong> options are used with the JDT. Refer to the <em>Java Development User Guide</em> for details. </p>
|
appropriate to the cursor position.</td>
|
||||||
|
<td headers="keyboard">Ctrl+1</td>
|
||||||
<p>
|
</tr>
|
||||||
<IMG alt="IBM Copyright Statement" src="../images/ng00_04a.gif" border=0>
|
<tr>
|
||||||
</p>
|
<td class="menu_name" headers="name">Content Assist</td>
|
||||||
</div></body>
|
<td headers="function">Display the Content Assist dialog
|
||||||
|
appropriate to the cursor position (Invoke it repeatedly to cycle
|
||||||
|
through the available proposal types.)</td>
|
||||||
|
<td headers="keyboard">Ctrl+Space</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Parameter Hints</td>
|
||||||
|
<td headers="function">When invoked in a parameter list,
|
||||||
|
display the possible signatures in a tooltip</td>
|
||||||
|
<td headers="keyboard">Ctrl+Shift+Space</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="menu_name" headers="name">Set Encoding...</td>
|
||||||
|
<td headers="function">Display a dialog in which the active
|
||||||
|
editor's encoding can be specified</td>
|
||||||
|
<td headers="keyboard"> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p>
|
||||||
|
<img alt="IBM Copyright Statement" src="../images/ng00_04a.gif">
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Add table
Reference in a new issue