<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//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>C/C++ search page, Search dialog box</title> <link rel="stylesheet" type="text/css" href="../help.css"> </head> <body> <h1>Search view</h1> <p>Any matches are reported in the <b>Search</b> view. </p> <p><img src="../images/searchView.png" alt="Search View" ></p> <p>When you have completed a search and have results in the <span class="guilabel">Search</span> view, you can put the focus on that view and get more options on the <span class="guilabel">Search</span> menu. </p> <p> A C/C++ search can also be conducted via the context menu of selected resources and elements in the following views: </p> <ul> <li>Package Explorer</li> <li>Outline view</li> <li>Search result view</li> <li>Hierarchy view</li> <li>Browsing views</li> </ul> <p>The search context menu is also available in the C/C++ editor. The search is only performed if the currently selected text can be resolved to a C/C++ element.</p> <p>The type of the selected C/C++ element defines which search context menus are available. The C/C++ editor does not constrain the list of available C/C++ searches based on the selection. </p> <h2>Search view Toolbar</h2> <table border="1" cellpadding="1" cellspacing="0"> <tr><th>Icon</th><th>Command</th><th>Description</th></tr> <tr> <td align="center" valign="top"><img src="../images/icon_next.png"></td> <td valign="top">Next</td> <td valign="top">Navigates to the next search result.</td> </tr> <tr> <td align="center" valign="top"><img src="../images/icon_previous.png"></td> <td valign="top">Previous</td> <td valign="top">Navigates to the previous search result.</td> </tr> <tr> <td align="center" valign="top"><img src="../images/icon_remove.png"></td> <td valign="top">Remove the Selected Matches</td> <td valign="top">Removes user selected matches from the search console.</td> </tr> <tr> <td align="center" valign="top"><img src="../images/icon_con_rem_all_term.png"></td> <td valign="top">Remove All Matches</td> <td valign="top">Clears the search console.</td> </tr> <tr> <td align="center" valign="top"><img src="../images/icon_con_terminate.png"></td> <td valign="top">Terminate</td> <td valign="top">Terminates the current search.</td> </tr> <tr> <td align="center" valign="top"><img src="../images/icon_show_prev_search.png"></td> <td valign="top">Show Previous Searches</td> <td valign="top">Shows the list of previously run searches which can be reselected.</td> </tr> <tr> <td align="center" valign="top"><img src="../images/icon_menu.png"></td> <td valign="top">Menu</td> <td valign="top">Lists two selectable view layouts for search results: Flat and Heirarchical.</td> </tr> <tr> <td align="center" valign="top"><img src="../images/icon_con_min.png"></td> <td valign="top">Minimize Console</td> <td valign="top">Minimizes the Console view.</td> </tr> <tr> <td align="center" valign="top"><img src="../images/icon_con_max.png"></td> <td valign="top">Maximize Console</td> <td valign="top">Maximizes the Console view.</td> </tr> </table> <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br> <a href="../concepts/cdt_o_code_entry.htm">Coding aids</a><br> <a href="../concepts/cdt_c_search.htm">C/C++ search</a></p> <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> <br> <a href="../tasks/cdt_t_search.htm">Searching for C/C++ elements</a><br> <a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a></p> <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <br> <a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a><br> <a href="cdt_u_m_search.htm">Search action</a><br> <a href="cdt_u_search.htm">Search dialog</a></p> <p> <img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement" BORDER=0 width="300" height="14"> <br> <img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14"> </p> </body> </html>