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

📄 actions.html

📁 nedit 是一款linux下的开发源码的功能强大的编辑器
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<B>copy_clipboard()</B></PRE>Copies the current selection to the clipboard.</P><P><PRE><B>copy_primary()</B></PRE>Copies the primary selection to the cursor.</P><P><PRE><B>copy_to()</B></PRE>If a secondary selection exists, copies the secondary selection tothe cursor.  If no secondary selection exists, copies the primary selectionto the pointer location.</P><P><PRE><B>copy_to_or_end_drag()</B></PRE>Completes either a secondary selection operation, or aprimary drag.  If the user is dragging the mouse to adjust a secondaryselection, the selection is copied and either inserted at the cursorlocation, or, if pending-delete is on and a primary selection exists in thewindow, replaces the primary selection.  If the user is dragging a block oftext (primary selection), completes the drag operation and leaves the text atit's current location.</P><P><PRE><B>cut_clipboard()</B></PRE>Deletes the text in the primary selection and places it inthe clipboard.</P><P><PRE><B>cut_primary()</B></PRE>Copies the primary selection to the cursor and deletes it atits original location.</P><P><PRE><B>delete_selection()</B></PRE>Deletes the contents of the primary selection.</P><P><PRE><B>delete_next_character( ["nobell"] )</B></PRE>If a primary selection exists, deletes its contents. Otherwise, deletes the character following the cursor.</P><P><PRE><B>delete_previous_character( ["nobell"] )</B></PRE>If a primary selection exists, deletes itscontents.  Otherwise, deletes the character before the cursor.</P><P><PRE><B>delete_next_word( ["nobell"] )</B></PRE>If a primary selection exists, deletes its contents. Otherwise, deletes the word following the cursor.</P><P><PRE><B>delete_previous_word( ["nobell"] )</B></PRE>If a primary selection exists, deletes its contents. Otherwise, deletes the word before the cursor.</P><P><PRE><B>delete_to_start_of_line( ["nobell", "wrap"] )</B></PRE>If a primary selection exists, deletes its contents.  Otherwise, deletes thecharacters between the cursor and the start of the line. If "wrap" isgiven, deletes to the previous wrap point or beginning of line, whichever is closest.</P><P><PRE><B>delete_to_end_of_line( ["nobell", "absolute"] )</B></PRE>If a primary selection exists, deletes its contents. Otherwise, deletes the characters between the cursor and the end of the line.If "absolute" is given, always deletes to the absolute end of line, regardlessof the text wrapping mode.</P><P><PRE><B>deselect_all()</B></PRE>De-selects the primary selection.</P><P><PRE><B>end_of_file( ["scrollbar"] )</B></PRE>Moves the cursor to the end of the file.</P><P><PRE><B>end_of_line( ["absolute"] )</B> </PRE>Moves the cursor to the end of the line.  If"absolute" is given, always moves to the absolute end of line, regardlessof the text wrapping mode.</P><P><PRE><B>end_of_selection()</B></PRE>Moves the cursor to the end of the selection withoutdisturbing the selection.</P><P><PRE><B>exchange( ["nobell"] )</B></PRE>Exchange the primary and secondary selections.</P><P><PRE><B>extend_adjust()</B></PRE>Attached mouse-movement events to begin a selection betweenthe cursor and the mouse, or extend the primary selection to the mouseposition.</P><P><PRE><B>extend_end()</B></PRE>Completes a primary drag-selection operation.</P><P><PRE><B>extend_start()</B></PRE>Begins a selection between the cursor and the mouse.  Adrag-selection operation can be started with either extend_start orgrab_focus.</P><P><PRE><B>focus_pane( [relative-pane] | [positive-index] | [negative-index] )</B></PRE>Move the focus to the requested pane.Arguments can be specified in the form of a relative-pane ("first", "last", "next", "previous"), a positive-index (numbers greater than 0, 1 is the same as "first") or anegative-index (numbers less than 0, -1 is the same as "last").</P><P><PRE><B>forward_character()</B></PRE>Moves the cursor one character to the right.</P><P><PRE><B>forward_paragraph( ["nobell"] )</B></PRE>Moves the cursor to the beginning of the next paragraph. Paragraphs are defined as regions of text delimited by one or more blanklines.</P><P><PRE><B>forward_word( ["tail"] ["nobell"] )</B></PRE>Moves the cursor to the beginning of the next word.  Worddelimiters are user-settable, and defined by the X resource wordDelimiters.If the "tail" argument is supplied the cursor will be moved to the end of the current word or the end of the next word, if the cursor is between words.</P><P><PRE><B>grab_focus()</B></PRE>Moves the cursor to the mouse pointer location, and prepares fora possible drag-selection operation (bound to extend_adjust), or multi-clickoperation (a further grab_focus action).  If a second invocation of grabfocus follows immediately, it selects a whole word, or a third, a whole line.</P><P><PRE><B>insert_string( "string" )</B></PRE>If pending delete is on and the cursor is inside theselection, replaces the selection with "string".  Otherwise, inserts "string"at the cursor location.</P><P><PRE><B>key_select( "direction" [,"nobell"] )</B></PRE>Moves the cursor one character in "direction"("left", "right", "up", or "down") and extends the selection.  Same asforward/backward-character("extend"), or process-up/down("extend"), forcompatibility with previous versions.</P><P><PRE><B>move-destination()</B></PRE>Moves the cursor to the pointer location withoutdisturbing the selection.  (This is an unusual way of working.  We left it infor compatibility with previous versions, but if you actually use thiscapability, please send us some mail, otherwise it is likely to disappear inthe future.</P><P><PRE><B>move_to()</B></PRE>If a secondary selection exists, deletes the contents of thesecondary selection and inserts it at the cursor, or if pending-delete is onand there is a primary selection, replaces the primary selection.  If nosecondary selection exists, moves the primary selection to the pointerlocation, deleting it from its original position.</P><P><PRE><B>move_to_or_end_drag()</B></PRE>Completes either a secondary selection operation, or aprimary drag.  If the user is dragging the mouse to adjust a secondaryselection, the selection is deleted and either inserted at the cursorlocation, or, if pending-delete is on and a primary selection exists in thewindow, replaces the primary selection.  If the user is dragging a block oftext (primary selection), completes the drag operation and deletes the textfrom it's current location.</P><P><PRE><B>newline()</B></PRE>Inserts a newline character.  If Auto Indent is on, lines up theindentation of the cursor with the current line.</P><P><PRE><B>newline_and_indent()</B></PRE>Inserts a newline character and lines up the indentationof the cursor with the current line, regardless of the setting of AutoIndent.</P><P><PRE><B>newline_no_indent()</B></PRE>Inserts a newline character, without automaticindentation, regardless of the setting of Auto Indent.</P><P><PRE><B>next_page( ["stutter"] ["column"] ["scrollbar"] ["nobell"] )</B></PRE>Moves the cursor and scroll forward one page.The parameter "stutter" moves the cursor to the bottom of the display,unless it is already there, otherwise it will page down.The parameter "column" will maintain the preferred column whilemoving the cursor.</P><P><PRE><B>page_left( ["scrollbar"] ["nobell"] )</B></PRE>Move the cursor and scroll left one page.</P><P><PRE><B>page_right( ["scrollbar"] ["nobell"] )</B></PRE>Move the cursor and scroll right one page.</P><P><PRE><B>paste_clipboard()</B></PRE>Insert the contents of the clipboard at the cursor, or ifpending delete is on, replace the primary selection with the contents of theclipboard.</P><P><PRE><B>previous_page( ["stutter"] ["column"] ["scrollbar"] ["nobell"] )</B></PRE>Moves the cursor and scroll backward one page.The parameter "stutter" moves the cursor to the top of the display,unless it is already there, otherwise it will page up.The parameter "column" will maintain the preferred column whilemoving the cursor.</P><P><PRE><B>process_bdrag()</B></PRE>Same as secondary_or_drag_start for compatibility with previous versions.</P><P><PRE><B>process_cancel()</B></PRE>Cancels the current extend_adjust, secondary_adjust, orsecondary_or_drag_adjust in progress.</P><P><PRE><B>process_down( ["nobell", "absolute"] )</B></PRE>Moves the cursor down one line.  If "absolute" is given, always moves to the next line in the text buffer, regardless of wrapping.</P><P><PRE><B>process_return()</B></PRE>Same as newline for compatibility with previous versions.</P><P><PRE><B>process_shift_down( ["nobell", "absolute"] )</B></PRE>Same as process_down("extend") for compatibility with previous versions.</P><P><PRE><B>process_shift_up( ["nobell", "absolute"] )</B></PRE>Same as process_up("extend") for compatibility with previous versions.</P><P><PRE><B>process_tab()</B></PRE>If tab emulation is turned on, inserts an emulated tab,otherwise inserts a tab character.</P><P><PRE><B>process_up( ["nobell", "absolute"] )</B></PRE>Moves the cursor up one line.  If "absolute" is given, always moves to the previous line in the text buffer, regardless of wrapping.</P><P><PRE><B>raise_window([relative-window] | [positive-index] | [negative-index])</B></PRE>Raise the current focused window to the front if no argument is supplied.Arguments can be specified in the form of a relative-window ("first", "last", "next", "previous"), a positive-index (numbers greater than 0, 1 is the same as "last") or anegative-index (numbers less than 0, -1 is the same as "first").</P><P><PRE><B>scroll_down(nLines)</B></PRE>Scroll the display down (towards the end of the file) by nLines.</P><P><PRE><B>scroll_left( nPixels )</B></PRE>Scroll the display left by nPixels.</P><P><PRE><B>scroll_right( nPixels )</B></PRE>Scroll the display right by nPixels.</P><P><PRE><B>scroll_up( nLines )</B></PRE>Scroll the display up (towards the beginning of the file) by nLines.</P><P><PRE><B>scroll_to_line( lineNum )</B></PRE>Scroll to position line number lineNum at the top ofthe pane.  The first line of a file is line 1.</P><P><PRE><B>secondary_adjust()</B></PRE>Attached mouse-movement events to extend the secondaryselection to the mouse position.</P><P><PRE><B>secondary_or_drag_adjust()</B></PRE>Attached mouse-movement events to extend thesecondary selection, or reposition the primary text being dragged.  Takes twooptional arguments, "copy", and "overlay".  "copy" leaves a copy of thedragged text at the site at which the drag began.  "overlay" does the drag inoverlay mode, meaning the dragged text is laid on top of the existing text,obscuring and ultimately deleting it when the drag is complete.</P><P><PRE><B>secondary_or_drag_start()</B></PRE>To be attached to a mouse down event.  Begins dragselecting a secondary selection, or dragging the contents of the primaryselection, depending on whether the mouse is pressed inside of an existingprimary selection.</P><P><PRE><B>secondary_start()</B></PRE>To be attached to a mouse down event.  Begin drag selectinga secondary selection.</P><P><PRE><B>select_all()</B></PRE>Select the entire file.</P><P><PRE><B>self_insert()</B></PRE>To be attached to a key-press event, inserts the characterequivalent of the key pressed.</P><P><P><HR></P><P></P><P></P></BODY></HTML>

⌨️ 快捷键说明

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