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

📄 help_data.h

📁 nedit 是一款linux下的开发源码的功能强大的编辑器
💻 H
📖 第 1 页 / 共 5 页
字号:
/********************************************************************************                                                                              ** help_data.h --  Nirvana Editor help module data                              **                                                                              *                 Generated on Nov 20, 2003 (Do NOT edit!)                 Source of content from file help.etx*                                                                              ** Copyright (c) 1999-2003 Mark Edel                                            **                                                                              ** This is free software; you can redistribute it and/or modify it under the    ** terms of the GNU General Public License as published by the Free Software    ** Foundation; either version 2 of the License, or (at your option) any later   ** version.                                                                     **                                                                              ** This software is distributed in the hope that it will be useful, but WITHOUT ** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or        ** FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License        ** for more details.                                                            **                                                                              ** You should have received a copy of the GNU General Public License along with ** software; if not, write to the Free Software Foundation, Inc., 59 Temple     ** Place, Suite 330, Boston, MA  02111-1307 USA                                 **                                                                              ** Nirvana Text Editor                                                          ** September 10, 1991                                                           **                                                                              ** Written by Mark Edel                                                         **                                                                              ********************************************************************************/char *HelpTitles[] = {    "Getting Started",    "Selecting Text",    "Finding and Replacing Text",    "Cut and Paste",    "Using the Mouse",    "Keyboard Shortcuts",    "Shifting and Filling",    "File Format",    "Programming with NEdit",    "Tabs/Emulated Tabs",    "Auto/Smart Indent",    "Syntax Highlighting",    "Finding Declarations (ctags)",    "Calltips",    "Basic Regular Expression Syntax",    "Metacharacters",    "Parenthetical Constructs",    "Advanced Topics",    "Example Regular Expressions",    "Shell Commands and Filters",    "Learn/Replay",    "Macro Language",    "Macro Subroutines",    "Range Sets",    "Highlighting Information",    "Action Routines",    "Customizing NEdit",    "Preferences",    "X Resources",    "Key Binding",    "Highlighting Patterns",    "Smart Indent Macros",    "NEdit Command Line",    "Client/Server Mode",    "Crash Recovery",    "Version",    "Distribution Policy",    "Mailing Lists",    "Problems/Defects",    "Tabs Dialog",    "Customize Window Title Dialog",    NULL};static char * htxt_start [] = {"\01IWelcome to NEdit! ","\n\n","NEdit is a standard GUI (Graphical User Interface) style text editor for ","programs and plain-text files.  Users of Macintosh and MS Windows based text ","editors should find NEdit a familiar and comfortable environment.  NEdit ","provides all of the standard menu, dialog, editing, and mouse support, as ","well as all of the standard shortcuts to which the users of modern GUI based ","environments are accustomed.  For users of older style Unix editors, welcome ","to the world of mouse-based editing! ","\n\n","Help sections of interest to new users are listed under the \"Basic Operation\" ","heading in the top-level Help menu: ","\n\n","\01A      \01QSelecting Text\01A\n","      \01QFinding and Replacing Text\01A\n","      \01QCut and Paste\01A\n","      \01QUsing the Mouse\01A\n","      \01QKeyboard Shortcuts\01A\n","      \01QShifting and Filling\01A\n","\01I\n","Programmers should also read the introductory section under the \"Features for ","Programming\" section: ","\n\n","\01A      \01QProgramming with NEdit\01A\n","\01I\n","If you get into trouble, the Undo command in the Edit menu can reverse any ","modifications that you make.  NEdit does not change the file you are editing ","until you tell it to Save. ","\n\n","\01REditing an Existing File\01I","\n\n","To open an existing file, choose Open... from the file menu. Select the file ","that you want to open in the pop-up dialog that appears and click on OK.  You ","may open any number of files at the same time.  Each file will appear in its ","own editor window.  Using Open... rather than re-typing the NEdit command and ","running additional copies of NEdit, will give you quick access to all of the ","files you have open via the Windows menu, and ensure that you don't ","accidentally open the same file twice.  NEdit has no \"main\" window.  It ","remains running as long as at least one editor window is open. ","\n\n","\01RCreating a New File\01I","\n\n","If you already have an empty (Untitled) window displayed, just begin typing ","in the window.  To create a new Untitled window, choose New from the File ","menu.  To give the file a name and save its contents to the disk, choose Save ","or Save As... from the File menu. ","\n\n","\01RBackup Files\01I","\n\n","NEdit maintains periodic backups of the file you are editing so that you can ","recover the file in the event of a problem such as a system crash, network ","failure, or X server crash.  These files are saved under the name `~filename` ","(on Unix) or `_filename` (on VMS), where filename is the name of the file you ","were editing.  If an NEdit process is killed, some of these backup files may ","remain in your directory.  (To remove one of these files on Unix, you may ","have to prefix the `~' (tilde) character with a (backslash) to prevent the ","shell from interpreting it as a special character.) ","\n\n","\01RShortcuts\01I","\n\n","As you become more familiar with NEdit, substitute the control and function ","keys shown on the right side of the menus for pulling down menus with the ","mouse. ","\n\n","Dialogs are also streamlined so you can enter information quickly and without ","using the mouse*.  To move the keyboard focus around a dialog, use the tab ","and arrow keys.  One of the buttons in a dialog is usually drawn with a ","thick, indented, outline.  This button can be activated by pressing Return or ","Enter.  The Cancel or Dismiss button can be activated by pressing escape. ","For example, to replace the string \"thing\" with \"things\" type: ","\n\n","\01A      <ctrl-r>thing<tab>things<return>\n","\01I\n","To open a file named \"whole_earth.c\", type: ","\n\n","\01A      <ctrl-o>who<return>\n","\01I\n","(how much of the filename you need to type depends on the other files in the ","directory).  See the section called \"\01QKeyboard Shortcuts\01I\" for more details. ","\n\n","* Users who have set their keyboard focus mode to \"pointer\" should set ","\"Popups Under Pointer\" in the Default Settings menu to avoid the additional ","step of moving the mouse into the dialog. ",NULL};static char * htxt_select [] = {"\01INEdit has two general types of selections, primary (highlighted text), and ","secondary (underlined text). Selections can cover either a simple range of ","text between two points in the file, or they can cover a rectangular area of ","the file. Rectangular selections are only useful with non-proportional (fixed ","spacing) fonts. ","\n\n","To select text for copying, deleting, or replacing, press the left mouse ","button with the pointer at one end of the text you want to select, and drag ","it to the other end. The text will become highlighted. To select a whole ","word, double click (click twice quickly in succession). Double clicking and ","then dragging the mouse will select a number of words. Similarly, you can ","select a whole line or a number of lines by triple clicking or triple ","clicking and dragging. Quadruple clicking selects the whole file. After ","releasing the mouse button, you can still adjust a selection by holding down ","the shift key and dragging on either end of the selection. To delete the ","selected text, press delete or backspace. To replace it, begin typing. ","\n\n","To select a rectangle or column of text, hold the Ctrl key while dragging the ","mouse. Rectangular selections can be used in any context that normal ","selections can be used, including cutting and pasting, filling, shifting, ","dragging, and searching. Operations on rectangular selections automatically ","fill in tabs and spaces to maintain alignment of text within and to the right ","of the selection. Note that the interpretation of rectangular selections by ","Fill Paragraph is slightly different from that of other commands, the section ","titled \"\01QShifting and Filling\01I\" has details. ","\n\n","The middle mouse button can be used to make an additional selection (called ","the secondary selection). As soon as the button is released, the contents of ","this selection will be copied to the insert position of the window where the ","mouse was last clicked (the destination window). This position is marked by a ","caret shaped cursor when the mouse is outside of the destination window.  If ","there is a (primary) selection, adjacent to the cursor in the window, the new ","text will replace the selected text. Holding the shift key while making the ","secondary selection will move the text, deleting it at the site of the ","secondary selection, rather than copying it. ","\n\n","Selected text can also be dragged to a new location in the file using the ","middle mouse button. Holding the shift key while dragging the text will copy ","the selected text, leaving the original text in place. Holding the control ","key will drag the text in overlay mode. ","\n\n","Normally, dragging moves text by removing it from the selected position at ","the start of the drag, and inserting it at a new position relative to to the ","mouse. Dragging a block of text over existing characters, displaces the ","characters to the end of the selection. In overlay mode, characters which are ","occluded by blocks of text being dragged are simply removed. When dragging ","non-rectangular selections, overlay mode also converts the selection to ","rectangular form, allowing it to be dragged outside of the bounds of the ","existing text. ","\n\n","The section \"\01QUsing the Mouse\01I\" sumarizes the mouse commands for making primary ","and secondary selections. Primary selections can also be made via keyboard ","commands, see \"\01QKeyboard Shortcuts\01I\". ",NULL};static char * htxt_search [] = {"\01IThe Search menu contains a number of commands for finding and replacing text. ","\n\n","The Find... and Replace... commands present dialogs for entering text for ","searching and replacing.  These dialogs also allow you to choose whether you ","want the search to be sensitive to upper and lower case, or whether to use ","the standard Unix pattern matching characters (regular expressions). ","Searches begin at the current text insertion position. ","\n\n","Find Again and Replace Again repeat the last find or replace command without ","prompting for search strings.  To selectively replace text, use the two ","commands in combination: Find Again, then Replace Again if the highlighted ","string should be replaced, or Find Again again to go to the next string. ","\n\n","Find Selection searches for the text contained in the current primary ","selection (see \01QSelecting Text\01I).  The selected text does not have to be in the ","current editor window, it may even be in another program.  For example, if ","the word dog appears somewhere in a window on your screen, and you want to ","find it in the file you are editing, select the word dog by dragging the ","mouse across it, switch to your NEdit window and choose Find Selection from ","the Search menu. ","\n\n","Find Incremental is yet another variation on searching, where every character ","typed triggers a new search.  Incremental searching is generally the quickest ","way to find something in a file, because it gives you the immediate feedback ","of seeing how your search is progressing, so you never need to type more than ","the minimally sufficient search string to reach your target. ","\n\n","\01RSearching Backwards\01I",

⌨️ 快捷键说明

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