⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search.html

📁 nedit 是一款linux下的开发源码的功能强大的编辑器
💻 HTML
字号:
<HTML><HEAD><TITLE> Basic Operation </TITLE></HEAD><BODY><A NAME="Finding_and_Replacing_Text"></A><H2> Finding and Replacing Text </H2><P>The Search menu contains a number of commands for finding and replacing text.</P><P>The Find... and Replace... commands present dialogs for entering text forsearching and replacing.  These dialogs also allow you to choose whether youwant the search to be sensitive to upper and lower case, or whether to usethe standard Unix pattern matching characters (regular expressions). Searches begin at the current text insertion position.</P><P>Find Again and Replace Again repeat the last find or replace command withoutprompting for search strings.  To selectively replace text, use the twocommands in combination: Find Again, then Replace Again if the highlightedstring should be replaced, or Find Again again to go to the next string.</P><P>Find Selection searches for the text contained in the current primaryselection (see <A HREF="select.html#Selecting_Text">Selecting Text</A>).  The selected text does not have to be in thecurrent editor window, it may even be in another program.  For example, ifthe word dog appears somewhere in a window on your screen, and you want tofind it in the file you are editing, select the word dog by dragging themouse across it, switch to your NEdit window and choose Find Selection fromthe Search menu.</P><P>Find Incremental is yet another variation on searching, where every charactertyped triggers a new search.  Incremental searching is generally the quickestway to find something in a file, because it gives you the immediate feedbackof seeing how your search is progressing, so you never need to type more thanthe minimally sufficient search string to reach your target.</P><P><H3>Searching Backwards</H3></P><P>Holding down the shift key while choosing any of the search or replacecommands from the menu (or using the keyboard shortcut), will search in thereverse direction.  Users who have set the search direction using the buttonsin the search dialog, may find it a bit confusing that Find Again and ReplaceAgain don't continue in the same direction as the original search (forexperienced users, consistency of the direction implied by the shift key ismore important).</P><P><H3>Selective Replacement</H3></P><P>To replace only some occurrences of a string within a file, choose Replace...from the Search menu, enter the string to search for and the string tosubstitute, and finish by pressing the Find button.  When the firstoccurrence is highlighted, use either Replace Again (^T) to replace it, orFind Again (^G) to move to the next occurrence without replacing it, andcontinue in such a manner through all occurrences of interest.</P><P>To replace all occurrences of a string within some range of text, select therange (see <A HREF="select.html#Selecting_Text">Selecting Text</A>), choose Replace... from the Search menu, type thestring to search for and the string to substitute, and press the "R. inSelection" button in the dialog.  Note that selecting text in the Replace...dialog will unselect the text in the window.<P><HR></P><P></P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -