Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJesse Weinstein2013-02-15 18:50:56 +0000
committerSergey Prigogin2013-02-23 00:05:08 +0000
commit3fc0510ecda32a5306c6fb0519c6060958a10303 (patch)
tree397daceb771de46ef431b7666b6423ce3541dbd5 /doc
parentb502c8ab5da4c672cca9bd833b38abc34755b3ce (diff)
downloadorg.eclipse.cdt-3fc0510ecda32a5306c6fb0519c6060958a10303.tar.gz
org.eclipse.cdt-3fc0510ecda32a5306c6fb0519c6060958a10303.tar.xz
org.eclipse.cdt-3fc0510ecda32a5306c6fb0519c6060958a10303.zip
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>
Diffstat (limited to 'doc')
-rwxr-xr-x[-rw-r--r--]doc/org.eclipse.cdt.doc.user/images/cdt_menu_edit.pngbin26847 -> 48403 bytes
-rwxr-xr-x[-rw-r--r--]doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm394
2 files changed, 208 insertions, 186 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_menu_edit.png b/doc/org.eclipse.cdt.doc.user/images/cdt_menu_edit.png
index e319b230205..fa85205cb52 100644..100755
--- a/doc/org.eclipse.cdt.doc.user/images/cdt_menu_edit.png
+++ b/doc/org.eclipse.cdt.doc.user/images/cdt_menu_edit.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm
index 2e5fe91a171..8e9e789c43e 100644..100755
--- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm
+++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm
@@ -1,6 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
-
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -8,189 +7,212 @@
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
-<div role="main"><h1>Edit Menu actions</h1>
-
-<p><img src="../images/cdt_menu_edit.png" alt="Selecting Edit Menu" ></p>
-<p>
-<table border="1" cellspacing="0" cellpadding="3"> <tbody>
-<tr>
- <th id="name">Name</th>
- <th id="function">Function</th>
- <th id="keyboard">Keyboard Shortcut</th>
-</tr>
-<tr style="text-align:left" valign="top">
- <td style="text-align:left" valign="top" headers="name"><strong>Undo</strong></td>
- <td style="text-align:left" valign="top" headers="function">Revert the last change in the editor</td>
- <td headers="keyboard"> Ctrl+Z</td>
-</tr>
-
-<tr>
- <td style="text-align:left" valign="top" headers="name"><strong>Redo </strong></td>
- <td style="text-align:left" valign="top" headers="function">Revert an undone change</td>
- <td headers="keyboard"> Ctrl+Y</td>
- </tr>
-
-<tr>
- <td style="text-align:left" valign="top" headers="name"><strong>Cut</strong></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+X</td>
-</tr>
-
-<tr>
- <td style="text-align:left" valign="top" headers="name"><strong>Copy</strong></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+C</td>
-</tr>
-
-<tr>
- <td style="text-align:left" valign="top" headers="name"><strong>Paste </strong></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.&nbsp;</td>
- <td headers="keyboard"> Ctrl+V</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Delete </strong></td>
- <td headers="function">Delete the current text or element selection.</td>
- <td headers="keyboard"> Delete</td>
-</tr>
-
-<tr style="text-align:left" valign="top">
- <td headers="name"><strong>Select All</strong></td>
- <td headers="function">Select all the editor content..</td>
- <td headers="keyboard"> Ctrl+A</td>
-</tr>
-
-<tr style="text-align:left" valign="top">
- <td headers="name"><strong>Find / Replace</strong></td>
- <td headers="function">Open the Find / Replace dialog. Editor only.</td>
- <td headers="keyboard"> Ctrl+F</td>
- </tr>
-
- <tr style="text-align:left" valign="top">
- <td headers="name"><strong>Find Next</strong></td>
- <td headers="function">Finds the next occurrence of the currently selected text. Editor only.</td>
- <td headers="keyboard"> Ctrl+K</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Find Previous</strong></td>
- <td headers="function">Finds the previous occurrence of the currently selected text. Editor only.</td>
- <td headers="keyboard"> Ctrl+Shift+K</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Incremental Find Next</strong></td>
- <td headers="function">Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only.</td>
- <td headers="keyboard"> Ctrl+J</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Incremental Find Previous</strong></td>
- <td headers="function">Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only.</td>
- <td headers="keyboard"> Ctrl+Shift+J</td>
-</tr>
-
- <tr style="text-align:left" valign="top">
- <td headers="name"><strong>Add Bookmark...</strong></td>
- <td headers="function">Add a bookmark to the current text selection or selected element.</td>
- <td headers="keyboard">&nbsp; </td>
- </tr>
-
- <tr style="text-align:left" valign="top">
- <td headers="name"><strong>Add Task...</strong></td>
- <td headers="function">Add a user defined task to the current text selection or selected element.</td>
- <td headers="keyboard"> Alt+Enter</td>
- </tr>
-
-<tr style="text-align:left" valign="top">
- <td headers="name"><strong>Add to working set</strong></td>
- <td headers="function">Add current resource to selected Working Set</td>
- <td headers="keyboard"> Ctrl+I</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Remove from working set</strong></td>
- <td headers="function">Remove current resource from Working Set</td>
- <td headers="keyboard"> Ctrl+Shift+I</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Smart Insert Mode</strong></td>
- <td headers="function">Toggles editor's Smart Insert Mode</td>
- <td headers="keyboard"> Ctrl+Shift+Insert</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Show Tooltip Description</strong></td>
- <td headers="function">Displays tooltip description, where applicable.</td>
- <td headers="keyboard">F2</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Word Completion</strong></td>
- <td headers="function">Completes current word in editor.</td>
- <td headers="keyboard">Alt+/</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Quick fix</strong></td>
- <td headers="function">Call quick fix dialog for selected warning/error.</td>
- <td headers="keyboard"> Ctrl+1</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Content Assist</strong></td>
- <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
- <strong>Window &gt; Preferences &gt; C/C++ &gt; Editor &gt; Templates</strong> and go to the Editor preference page
- <strong>Window &gt; Preferences &gt; C/C++ &gt; Editor &gt; Content Assist</strong> for configuring the behavior of content assist.</td>
- <td headers="keyboard"> Ctrl+Space</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Parameter Hints</strong></td>
- <td headers="function">Opens Parameter Hints dialog. Editor only</td>
- <td headers="keyboard">Ctrl+Shift+Space</td>
-</tr>
-
-
-<tr style="text-align:left" valign="top">
- <td headers="name"><strong>Shift Right</strong></td>
- <td headers="function">Shifts text Right. Editor only</td>
- <td headers="keyboard">&nbsp;</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Shift Left</strong></td>
- <td headers="function">Shifts text Right. Editor only</td>
- <td headers="keyboard">&nbsp;</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Format</strong></td>
- <td headers="function">Formats text. Editor only</td>
- <td headers="keyboard">Ctrl+Shift+F</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Add Include</strong></td>
- <td headers="function">Add include to current file. Editor only </td>
- <td headers="keyboard">Ctrl+Shift+N</td>
-</tr>
-
-<tr>
- <td headers="name"><strong>Set Encoding... </strong></td>
- <td headers="function">Toggles the encoding of the currently shown text content.</td>
- <td headers="keyboard">&nbsp;</td>
- </tr>
- </tbody>
- </table>
-<p></p>
-
-
-<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>
-
-<p>
-<IMG alt="IBM Copyright Statement" src="../images/ng00_04a.gif" border=0>
-</p>
-</div></body>
+ <div role="main">
+ <h1>Edit Menu actions</h1>
+ <p>
+ <img src="../images/cdt_menu_edit.png" alt="Selecting Edit Menu">
+ </p>
+ <table class="menu" border="1" cellspacing="0" cellpadding="3">
+ <thead>
+ <tr>
+ <th id="name">Name</th>
+ <th id="function">Function</th>
+ <th id="keyboard">Keyboard Shortcut</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td class="menu_name" headers="name">Undo</td>
+ <td headers="function">Revert the last change made in the
+ editor</td>
+ <td headers="keyboard">Ctrl+Z</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Redo</td>
+ <td headers="function">Redo a change previously reverted with
+ Undo</td>
+ <td headers="keyboard">Ctrl+Y</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Cut</td>
+ <td headers="function">Copy the currently selected text to the
+ clipboard and remove it from the editor</td>
+ <td headers="keyboard">Ctrl+X</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Copy</td>
+ <td headers="function">Copy the currently selected text to the
+ clipboard</td>
+ <td headers="keyboard">Ctrl+C</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Paste</td>
+ <td headers="function">Paste the contents of the clipboard, as
+ text, to the currently active editor window</td>
+ <td headers="keyboard">Ctrl+V</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Delete</td>
+ <td headers="function">Delete the currently selected text</td>
+ <td headers="keyboard">Delete</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Select All</td>
+ <td headers="function">Select all the text in the currently
+ active editor window</td>
+ <td headers="keyboard">Ctrl+A</td>
+ </tr>
+ <tr>
+ <td rowspan="5" class="menu_name" headers="name">Expand
+ Selection To</td>
+ <td headers="function"><p>Expand the selection (or create
+ a selection starting from the cursor) in the following ways:</p></td>
+ <td headers="keyboard">Alt+Shift+<i>Arrow Keys</i></td>
+ </tr>
+ <tr>
+ <td headers="function">
+ <dl>
+ <dt>Enclosing Element</dt>
+ <dd>Add the enclosing expression or block to the selection
+ (It relies on the embedded parser, so may fail when syntax
+ errors are present.)</dd>
+ </dl>
+ </td>
+ <td headers="keyboard">Alt+Shift+Up</td>
+ </tr>
+ <tr>
+ <td headers="function">
+ <dl>
+ <dt>Next Element</dt>
+ <dd>Add the following element to the selection</dd>
+ </dl>
+ </td>
+ <td headers="keyboard">Alt+Shift+Right</td>
+ </tr>
+ <tr>
+ <td headers="function">
+ <dl>
+ <dt>Previous Element</dt>
+ <dd>Add the preceding element to the selection</dd>
+ </dl>
+ </td>
+ <td headers="keyboard">Alt+Shift+Left</td>
+ </tr>
+ <tr>
+ <td headers="function">
+ <dl>
+ <dt>Restore Last Selection</dt>
+ <dd>
+ Restores the previous selection after an invocation of <strong>Expand
+ Selection To</strong>.
+ </dd>
+ </dl>
+ </td>
+ <td headers="keyboard">Alt+Shift+Down</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Find / Replace...</td>
+ <td headers="function">Open the basic in-editor Find / Replace
+ dialog</td>
+ <td headers="keyboard">Ctrl+F</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Find Word</td>
+ <td headers="function">Find the next occurrence of either the
+ word containing the cursor, or the first word of the current
+ selection, if it covers multiple words (Added for Visual Studio
+ compatibility.)</td>
+ <td headers="keyboard">&nbsp;</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Find Next</td>
+ <td headers="function">Find the next occurrence of the
+ currently selected text, or the last text searched for, if there
+ is no selection</td>
+ <td headers="keyboard">Ctrl+K</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Find Previous</td>
+ <td headers="function">Find the previous occurrence of the
+ currently selected text, or the last text searched for, if there
+ is no selection</td>
+ <td headers="keyboard">Ctrl+Shift+K</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Incremental Find Next</td>
+ <td headers="function">Start the incremental find mode
+ (Whatever is typed afterward will be searched for.)</td>
+ <td headers="keyboard">Ctrl+J</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Incremental Find Previous</td>
+ <td headers="function">Start the incremental find mode,
+ looking backward</td>
+ <td headers="keyboard">Ctrl+Shift+J</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Add Bookmark...</td>
+ <td headers="function">Add a bookmark pointing to the current
+ cursor position or selected text</td>
+ <td headers="keyboard">&nbsp;</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Add Task...</td>
+ <td headers="function">Add a user defined task located at the
+ current line</td>
+ <td headers="keyboard">&nbsp;</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Smart Insert Mode</td>
+ <td headers="function">Toggle the Smart Insert mode (i.e. the
+ auto-completion features defined in <strong>C/C++ &gt;
+ Editor &gt; Typing</strong>)
+ </td>
+ <td headers="keyboard">Ctrl+Shift+Insert</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Show Tooltip Description</td>
+ <td headers="function">Display the tooltip appropriate to the
+ cursor position.</td>
+ <td headers="keyboard">F2</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Word Completion</td>
+ <td headers="function">Complete the word containing the cursor
+ using the next available completion (Invoke it repeatedly to cycle
+ through them.)</td>
+ <td headers="keyboard">Alt+/</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Quick Fix</td>
+ <td headers="function">Display the Quick Fix dialog
+ appropriate to the cursor position.</td>
+ <td headers="keyboard">Ctrl+1</td>
+ </tr>
+ <tr>
+ <td class="menu_name" headers="name">Content Assist</td>
+ <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">&nbsp;</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>
+ <img alt="IBM Copyright Statement" src="../images/ng00_04a.gif">
+ </p>
+ </div>
+</body>
</html> \ No newline at end of file

Back to the top