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

📄 nedit.html

📁 nedit 是一款linux下的开发源码的功能强大的编辑器
💻 HTML
📖 第 1 页 / 共 5 页
字号:
and "<A HREF="#Keyboard_Shortcuts">Keyboard Shortcuts</A>".<P><HR></P><P><A NAME="Using_the_Mouse"></A><H2> Using the Mouse </H2></P><P>Mouse-based editing is what NEdit is all about, and learning to use the moreadvanced features like secondary selections and primary selection draggingwill be well worth your while.</P><P>If you don't have time to learn everything, you can get by adequately withjust the left mouse button:  Clicking the left button moves the cursor. Dragging with the left button makes a selection.  Holding the shift key whileclicking extends the existing selection, or begins a selection between thecursor and the mouse.  Double or triple clicking selects a whole word or awhole line.</P><P>This section will make more sense if you also read the section called,"<A HREF="#Selecting_Text">Selecting Text</A>", which explains the terminology of selections, that is,what is meant by primary, secondary, rectangular, etc.</P><P><H3>Button and Modifier Key Summary</H3></P><P>General meaning of mouse buttons and modifier keys:</P><P><H4>  Buttons</H4></P><P><PRE>      Button 1 (left)    Cursor position and primary selection</PRE></P><P><PRE>      Button 2 (middle)  Secondary selections, and dragging and                         copying the primary selection</PRE></P><P><PRE>      Button 3 (right)   Quick-access programmable menu and pan                         scrolling</PRE></P><P><H4>  Modifier keys</H4></P><P><PRE>      Shift   On primary selections, (left mouse button):                 Extends selection to the mouse pointer              On secondary and copy operations, (middle):                 Toggles between move and copy</PRE></P><P><PRE>      Ctrl    Makes selection rectangular or insertion              columnar</PRE></P><P><PRE>      Alt*    (on release) Exchange primary and secondary              selections.</PRE></P><P><H3>Left Mouse Button</H3></P><P>The left mouse button is used to position the cursor and to make primaryselections.</P><P><PRE>    Click         Moves the cursor</PRE></P><P><PRE>    Double Click  Selects a whole word</PRE></P><P><PRE>    Triple Click  Selects a whole line</PRE></P><P><PRE>    Quad Click    Selects the whole file</PRE></P><P><PRE>    Shift Click   Adjusts (extends or shrinks) the                  selection, or if there is no existing                  selection, begins a new selection                  between the cursor and the mouse.</PRE></P><P><PRE>    Ctrl+Shift+   Adjusts (extends or shrinks) the    Click         selection rectangularly.</PRE></P><P><PRE>    Drag          Selects text between where the mouse                  was pressed and where it was released.</PRE></P><P><PRE>    Ctrl+Drag     Selects rectangle between where the                  mouse was pressed and where it was                  released.</PRE></P><P><H3>Right Mouse Button</H3></P><P>The right mouse button posts a programmable menu for frequently used commands.</P><P><PRE>    Click/Drag    Pops up the background menu (programmed                  from Preferences -&#62; Default Settings -&#62;                  Customize Menus -&#62; Window Background).</PRE></P><P><PRE>    Ctrl+Drag     Pan scrolling.  Scrolls the window                  both vertically and horizontally, as if                  you had grabbed it with your mouse.</PRE></P><P><H3>Middle Mouse Button</H3></P><P>The middle mouse button is for making secondary selections, and copying anddragging the primary selection.</P><P><PRE>    Click         Copies the primary selection to the                  clicked position.</PRE></P><P><PRE>    Shift+Click   Moves the primary selection to the                  clicked position, deleting it from its                  original position.</PRE></P><P><PRE>    Drag          1) Outside of the primary selection:                      Begins a secondary selection.                  2) Inside of the primary selection:                      Moves the selection by dragging.</PRE></P><P><PRE>    Ctrl+Drag     1) Outside of the primary selection:                      Begins a rectangular secondary                      selection.                  2) Inside of the primary selection:                      Drags the selection in overlay                      mode (see below).</PRE></P><P>When the mouse button is released after creating a secondary selection:</P><P><PRE>    No Modifiers  If there is a primary selection,                  replaces it with the secondary                  selection.  Otherwise, inserts the                  secondary selection at the cursor                  position.</PRE></P><P><PRE>    Shift         Move the secondary selection, deleting                  it from its original position.  If                  there is a primary selection, the move                  will replace the primary selection                  with the secondary selection.                  Otherwise, moves the secondary                  selection to to the cursor position.</PRE></P><P><PRE>    Alt*          Exchange the primary and secondary                  selections.</PRE></P><P>While moving the primary selection by dragging with the middle mouse button:</P><P><PRE>    Shift         Leaves a copy of the original                  selection in place rather than                  removing it or blanking the area.</PRE></P><P><PRE>    Ctrl          Changes from insert mode to overlay                  mode (see below).</PRE></P><P><PRE>    Escape        Cancels drag in progress.</PRE></P><P>Overlay Mode: Normally, dragging moves text by removing it from the selectedposition at the start of the drag, and inserting it at a new positionrelative to to the mouse. When you drag a block of text over existingcharacters, the existing characters are displaced to the end of theselection.  In overlay mode, characters which are occluded by blocks of textbeing dragged are simply removed.  When dragging non-rectangular selections,overlay mode also converts the selection to rectangular form, allowing it tobe dragged outside of the bounds of the existing text.</P><P>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.</P><P>* The Alt key may be labeled Meta or Compose-Character on some keyboards. Some window managers, including default configurations of mwm, bindcombinations of the Alt key and mouse buttons to window manager operations. In NEdit, Alt is only used on button release, so regardless of the windowmanager bindings for Alt-modified mouse buttons, you can still do thecorresponding NEdit operation by using the Alt key AFTER the initial mousepress, so that Alt is held while you release the mouse button.  If you findthis difficult or annoying, you can re-configure most window managers to skipthis binding, or you can re-configure NEdit to use a different keycombination.<P><HR></P><P><A NAME="Keyboard_Shortcuts"></A><H2> Keyboard Shortcuts </H2></P><P>Most of the keyboard shortcuts in NEdit are shown on the right hand sides ofthe pull-down menus.  However, there are more which are not as obvious.  Theseinclude; dialog button shortcuts; menu and dialog mnemonics; labeled keyboardkeys, such as the arrows, page-up, page-down, and home; and optional Shiftmodifiers on accelerator keys, like [Shift]Ctrl+F.</P><P><H3>Menu Accelerators</H3></P><P>Pressing the key combinations shown on the right of the menu items is ashortcut for selecting the menu item with the mouse.  Some items have the shiftkey enclosed in brackets, such as [Shift]Ctrl+F.  This indicates that the shiftkey is optional.  In search commands, including the shift key reverses thedirection of the search.  In Shift commands, it makes the command shift theselected text by a whole tab stop rather than by single characters.</P><P><H3>Menu Mnemonics</H3></P><P>Pressing the Alt key in combination with one of the underlined characters inthe menu bar pulls down that menu.  Once the menu is pulled down, typing theunderlined characters in a menu item (without the Alt key) activates thatitem.  With a menu pulled down, you can also use the arrow keys to select menuitems, and the Space or Enter keys to activate them.</P><P><H3>Keyboard Shortcuts within Dialogs</H3></P><P>One button in a dialog is usually marked with a thick indented outline. Pressing the Return or Enter key activates this button.</P><P>All dialogs have either a Cancel or Dismiss button.  This button can beactivated by pressing the Escape (or Esc) key.</P><P>Pressing the tab key moves the keyboard focus to the next item in a dialog. Within an associated group of buttons, the arrow keys move the focus among thebuttons.  Shift+Tab moves backward through the items.</P><P>Most items in dialogs have an underline under one character in their name. Pressing the Alt key along with this character, activates a button as if youhad pressed it with the mouse, or moves the keyboard focus to the associatedtext field or list.</P><P>You can select items from a list by using the arrow keys to move theselection and space to select.</P><P>In file selection dialogs, you can type the beginning characters of the filename or directory in the list to select files</P><P><H3>Labeled Function Keys</H3></P><P>The labeled function keys on standard workstation and PC keyboards, like thearrows, and page-up and page-down, are active in NEdit, though not shown in thepull-down menus.</P><P>Holding down the control key while pressing a named key extends the scope ofthe action that it performs.  For example, Home normally moves the insertcursor the beginning of a line.  Ctrl+Home moves it to the beginning of thefile. Backspace deletes one character, Ctrl+Backspace deletes one word.</P><P>Holding down the shift key while pressing a named key begins or extends aselection.  Combining the shift and control keys combines their actions.  Forexample, to select a word without using the mouse, position the cursor at thebeginning of the word and press Ctrl+Shift+RightArrow.  The Alt key modifiesselection commands to make the selection rectangular.

⌨️ 快捷键说明

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