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

📄 help_data.h

📁 nedit 是一款linux下的开发源码的功能强大的编辑器
💻 H
📖 第 1 页 / 共 5 页
字号:
"\n\n","Holding down the shift key while choosing any of the search or replace ","commands from the menu (or using the keyboard shortcut), will search in the ","reverse direction.  Users who have set the search direction using the buttons ","in the search dialog, may find it a bit confusing that Find Again and Replace ","Again don't continue in the same direction as the original search (for ","experienced users, consistency of the direction implied by the shift key is ","more important). ","\n\n","\01RSelective Replacement\01I","\n\n","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 to ","substitute, and finish by pressing the Find button.  When the first ","occurrence is highlighted, use either Replace Again (^T) to replace it, or ","Find Again (^G) to move to the next occurrence without replacing it, and ","continue in such a manner through all occurrences of interest. ","\n\n","To replace all occurrences of a string within some range of text, select the ","range (see \01QSelecting Text\01I), choose Replace... from the Search menu, type the ","string to search for and the string to substitute, and press the \"R. in ","Selection\" button in the dialog.  Note that selecting text in the Replace... ","dialog will unselect the text in the window. ",NULL};static char * htxt_clipboard [] = {"\01IThe easiest way to copy and move text around in your file or between windows, ","is to use the clipboard, an imaginary area that temporarily stores text and ","data.  The Cut command removes the selected text (see \01QSelecting Text\01I) from ","your file and places it in the clipboard.  Once text is in the clipboard, the ","Paste command will copy it to the insert position in the current window.  For ","example, to move some text from one place to another, select it by dragging ","the mouse over it, choose Cut to remove it, click the pointer to move the ","insert point where you want the text inserted, then choose Paste to insert ","it.  Copy copies text to the clipboard without deleting it from your file. ","You can also use the clipboard to transfer text to and from other Motif ","programs and X programs which make proper use of the clipboard. ","\n\n","There are many other methods for copying and moving text within NEdit windows ","and between NEdit and other programs.  The most common such method is ","clicking the middle mouse button to copy the primary selection (to the ","clicked position).  Copying the selection by clicking the middle mouse button ","in many cases is the only way to transfer data to and from many X programs. ","Holding the Shift key while clicking the middle mouse button moves the text, ","deleting it from its original position, rather than copying it.  Other ","methods for transferring text include secondary selections, primary selection ","dragging, keyboard-based selection copying, and drag and drop.  These are ","described in detail in the sections: \"\01QSelecting Text\01I\", \"\01QUsing the Mouse\01I\", ","and \"\01QKeyboard Shortcuts\01I\". ",NULL};static char * htxt_mouse [] = {"\01IMouse-based editing is what NEdit is all about, and learning to use the more ","advanced features like secondary selections and primary selection dragging ","will be well worth your while. ","\n\n","If you don't have time to learn everything, you can get by adequately with ","just the left mouse button:  Clicking the left button moves the cursor. ","Dragging with the left button makes a selection.  Holding the shift key while ","clicking extends the existing selection, or begins a selection between the ","cursor and the mouse.  Double or triple clicking selects a whole word or a ","whole line. ","\n\n","This section will make more sense if you also read the section called, ","\"\01QSelecting Text\01I\", which explains the terminology of selections, that is, ","what is meant by primary, secondary, rectangular, etc. ","\n\n","\01RButton and Modifier Key Summary\01I","\n\n","General meaning of mouse buttons and modifier keys: ","\n\n","\01S  Buttons\01I","\n\n","\01A      Button 1 (left)    Cursor position and primary selection\n","\01I\n","\01A      Button 2 (middle)  Secondary selections, and dragging and\n","                         copying the primary selection\n","\01I\n","\01A      Button 3 (right)   Quick-access programmable menu and pan\n","                         scrolling\n","\01I\n","\01S  Modifier keys\01I","\n\n","\01A      Shift   On primary selections, (left mouse button):\n","                 Extends selection to the mouse pointer\n","              On secondary and copy operations, (middle):\n","                 Toggles between move and copy\n","\01I\n","\01A      Ctrl    Makes selection rectangular or insertion\n","              columnar\n","\01I\n","\01A      Alt*    (on release) Exchange primary and secondary\n","              selections.\n","\01I\n","\01RLeft Mouse Button\01I","\n\n","The left mouse button is used to position the cursor and to make primary ","selections. ","\n\n","\01A    Click         Moves the cursor\n","\01I\n","\01A    Double Click  Selects a whole word\n","\01I\n","\01A    Triple Click  Selects a whole line\n","\01I\n","\01A    Quad Click    Selects the whole file\n","\01I\n","\01A    Shift Click   Adjusts (extends or shrinks) the\n","                  selection, or if there is no existing\n","                  selection, begins a new selection\n","                  between the cursor and the mouse.\n","\01I\n","\01A    Ctrl+Shift+   Adjusts (extends or shrinks) the\n","    Click         selection rectangularly.\n","\01I\n","\01A    Drag          Selects text between where the mouse\n","                  was pressed and where it was released.\n","\01I\n","\01A    Ctrl+Drag     Selects rectangle between where the\n","                  mouse was pressed and where it was\n","                  released.\n","\01I\n","\01RRight Mouse Button\01I","\n\n","The right mouse button posts a programmable menu for frequently used commands. ","\n\n","\01A    Click/Drag    Pops up the background menu (programmed\n","                  from Preferences -> Default Settings ->\n","                  Customize Menus -> Window Background).\n","\01I\n","\01A    Ctrl+Drag     Pan scrolling.  Scrolls the window\n","                  both vertically and horizontally, as if\n","                  you had grabbed it with your mouse.\n","\01I\n","\01RMiddle Mouse Button\01I","\n\n","The middle mouse button is for making secondary selections, and copying and ","dragging the primary selection. ","\n\n","\01A    Click         Copies the primary selection to the\n","                  clicked position.\n","\01I\n","\01A    Shift+Click   Moves the primary selection to the\n","                  clicked position, deleting it from its\n","                  original position.\n","\01I\n","\01A    Drag          1) Outside of the primary selection:\n","                      Begins a secondary selection.\n","                  2) Inside of the primary selection:\n","                      Moves the selection by dragging.\n","\01I\n","\01A    Ctrl+Drag     1) Outside of the primary selection:\n","                      Begins a rectangular secondary\n","                      selection.\n","                  2) Inside of the primary selection:\n","                      Drags the selection in overlay\n","                      mode (see below).\n","\01I\n","When the mouse button is released after creating a secondary selection: ","\n\n","\01A    No Modifiers  If there is a primary selection,\n","                  replaces it with the secondary\n","                  selection.  Otherwise, inserts the\n","                  secondary selection at the cursor\n","                  position.\n","\01I\n","\01A    Shift         Move the secondary selection, deleting\n","                  it from its original position.  If\n","                  there is a primary selection, the move\n","                  will replace the primary selection\n","                  with the secondary selection.\n","                  Otherwise, moves the secondary\n","                  selection to to the cursor position.\n","\01I\n","\01A    Alt*          Exchange the primary and secondary\n","                  selections.\n","\01I\n","While moving the primary selection by dragging with the middle mouse button: ","\n\n","\01A    Shift         Leaves a copy of the original\n","                  selection in place rather than\n","                  removing it or blanking the area.\n","\01I\n","\01A    Ctrl          Changes from insert mode to overlay\n","                  mode (see below).\n","\01I\n","\01A    Escape        Cancels drag in progress.\n","\01I\n","Overlay Mode: 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. When you drag a block of text over existing ","characters, the existing characters are displaced 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","Mouse buttons 4 and 5 are usually represented by a mouse wheel nowadays. ","They are used to scroll up or down in the text window. ","\n\n","* The Alt key may be labeled Meta or Compose-Character on some keyboards. ","Some window managers, including default configurations of mwm, bind ","combinations of the Alt key and mouse buttons to window manager operations. ","In NEdit, Alt is only used on button release, so regardless of the window ","manager bindings for Alt-modified mouse buttons, you can still do the ","corresponding NEdit operation by using the Alt key AFTER the initial mouse ","press, so that Alt is held while you release the mouse button.  If you find ","this difficult or annoying, you can re-configure most window managers to skip ","this binding, or you can re-configure NEdit to use a different key ","combination. ",NULL};static char * htxt_keyboard [] = {"\01IMost of the keyboard shortcuts in NEdit are shown on the right hand sides of ","the pull-down menus.  However, there are more which are not as obvious.  These ","include; dialog button shortcuts; menu and dialog mnemonics; labeled keyboard ","keys, such as the arrows, page-up, page-down, and home; and optional Shift ","modifiers on accelerator keys, like [Shift]Ctrl+F. ","\n\n","\01RMenu Accelerators\01I","\n\n","Pressing the key combinations shown on the right of the menu items is a ","shortcut for selecting the menu item with the mouse.  Some items have the shift ","key enclosed in brackets, such as [Shift]Ctrl+F.  This indicates that the shift ","key is optional.  In search commands, including the shift key reverses the ","direction of the search.  In Shift commands, it makes the command shift the ","selected text by a whole tab stop rather than by single characters. ","\n\n","\01RMenu Mnemonics\01I","\n\n","Pressing the Alt key in combination with one of the underlined characters in ","the menu bar pulls down that menu.  Once the menu is pulled down, typing the ","underlined characters in a menu item (without the Alt key) activates that ","item.  With a menu pulled down, you can also use the arrow keys to select menu ","items, and the Space or Enter keys to activate them. ","\n\n","\01RKeyboard Shortcuts within Dialogs\01I","\n\n","One button in a dialog is usually marked with a thick indented outline. ","Pressing the Return or Enter key activates this button. ","\n\n","All dialogs have either a Cancel or Dismiss button.  This button can be ","activated by pressing the Escape (or Esc) key. ","\n\n","Pressing the tab key moves the keyboard focus to the next item in a dialog. ",

⌨️ 快捷键说明

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