From d7ea6c877e2b6a78ce73403bde2ced2b5e13a486 Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Mon, 14 Jan 2008 15:00:28 +0000 Subject: [PATCH] Mark occurrences doc update --- .../cdt/internal/ui/ICHelpContextIds.java | 2 +- doc/org.eclipse.cdt.doc.user/contexts_CDT.xml | 3 + .../images/mark_occurrences.png | Bin 0 -> 450 bytes .../reference/cdt_o_ceditor_pref.htm | 1 + .../reference/cdt_o_ref.htm | 1 + .../cdt_u_c_editor_mark_occurrences.htm | 52 ++++++++++++++++++ .../reference/cdt_u_toolbar.htm | 11 +++- .../topics_Reference.xml | 1 + 8 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 doc/org.eclipse.cdt.doc.user/images/mark_occurrences.png create mode 100644 doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_mark_occurrences.htm diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java index 7f9fb1f6237..0eea6b39633 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java @@ -46,7 +46,7 @@ public interface ICHelpContextIds { public static final String PREVIOUS_PROBLEM_ACTION= PREFIX + "previous_problem_action"; //$NON-NLS-1$ public static final String GOTO_NEXT_ERROR_ACTION= PREFIX + "goto_next_error_action"; //$NON-NLS-1$ public static final String GOTO_PREVIOUS_ERROR_ACTION= PREFIX + "goto_previous_error_action"; //$NON-NLS-1$ - public static final String TOGGLE_MARK_OCCURRENCES_ACTION= PREFIX + "toggle_mark_occurrences_action"; //$NON-NLS-1$ + public static final String TOGGLE_MARK_OCCURRENCES_ACTION= PREFIX + "toggle_mark_occurrences_action_context"; //$NON-NLS-1$ // Preference/property pages public static final String C_PREF_PAGE = PREFIX + "c_pref"; //$NON-NLS-1$ diff --git a/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml b/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml index 99b6e9f95b5..e8d707f1708 100644 --- a/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml +++ b/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml @@ -346,5 +346,8 @@ Specify the templates used for code generation and new files. + + Allows you to switch mark occurrences on and off. + diff --git a/doc/org.eclipse.cdt.doc.user/images/mark_occurrences.png b/doc/org.eclipse.cdt.doc.user/images/mark_occurrences.png new file mode 100644 index 0000000000000000000000000000000000000000..6cef6c72c3eafdebf70c5a92d1957d56a995a5b7 GIT binary patch literal 450 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbMffdHQn*T0`8{{1}v-&3W3Pn5sk zR{rPe?sG2d!+ug<9F4>?I$l)yTh%5%u9$@TtGTRQw$n|t_43W5; zd;YahlY#*2gXE}=hUsfd76(=SpROaLl60s3{>+!|`0%UZk6q;#?_Et}*G!GfSo?dQ dW!CFE?9;O(r@TG9uLfu_gQu&X%Q~loCIIC3w3q+@ literal 0 HcmV?d00001 diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ceditor_pref.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ceditor_pref.htm index fb587552654..4c364ecfa25 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ceditor_pref.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ceditor_pref.htm @@ -19,6 +19,7 @@     Advanced preferences
Folding preferences
Hovers preferences
+ Mark Occurrences preferences
Syntax Coloring preferences
Templates preferences
Typing preferences diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm index 723c0d91f92..2b49b242fc5 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm @@ -57,6 +57,7 @@ Advanced preferences
Folding preferences
Hovers preferences
+ Mark Occurrences preferences
Syntax Coloring preferences
Templates preferences
Typing preferences
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_mark_occurrences.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_mark_occurrences.htm new file mode 100644 index 00000000000..55bf0b721a8 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_mark_occurrences.htm @@ -0,0 +1,52 @@ + + + + + +Mark Occurrences + + + + +

Mark Occurrences

+

Indicate your preferences for the Mark Occurrences settings on the Opens the Mark Occurrences preference page C/C++ > Editor > Mark Occurrences preference page.

+ + + + + + + + + + + + + + + +
+

Option

+
+

Description

+
+

Default

+
+

Mark occurrences of the selected element in the current file

+
+

If enabled, then you'll see within a file, where a variable, function, method, type, macro or other element is referenced.

+
+

On

+
+ +

Related concepts
+Coding aids

+

Related tasks +
+Customizing the C/C++ editor

+

Related reference +
+C/C++ editor preferences

+ + + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_toolbar.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_toolbar.htm index c3ee533603f..ad118522043 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_toolbar.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_toolbar.htm @@ -83,7 +83,7 @@ Open Element - Brings up the Open Element selection dialog to open a type in the editor. + Brings up the Open Element selection dialog to open an element in the editor. The Open Elements selection dialog shows all elements existing in the workspace. @@ -106,15 +106,20 @@ Modify working set Modify workbench working set. + + + Toggle Mark Occurrences + Turns mark occurrences on and off in the C/C++ editor. + - Show Whitspace characters + Show Whitespace Characters Displays whitespace characters in the editor. Show Selected Element - Show source of Selected Element only + Show source of selected element only diff --git a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml index e623682d393..cd70ed7d01e 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml @@ -69,6 +69,7 @@
+