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

📄 indent.html

📁 nedit 是一款linux下的开发源码的功能强大的编辑器
💻 HTML
字号:
<HTML><HEAD><TITLE> Features for Programming </TITLE></HEAD><BODY><A NAME="Auto/Smart_Indent"></A><H2> Auto/Smart Indent </H2><P>Programmers who use structured languages usually require some form ofautomatic indent, so that they don't have to continually re-type thesequences of tabs and/or spaces needed to maintain lengthy running indents. NEdit therefore offers "smart" indent, in addition to the traditionalautomatic indent which simply lines up the cursor position with the previousline.</P><P><H3>Smart Indent</H3></P><P>Smart indent macros are only available by default for C and C++, and whilethese can easily be configured for different default indentation distances,they may not conform to everyone's exact C programming style.  Smart indentis programmed in terms of macros in the NEdit macro language which can beentered in: Preferences -&#62; Default Settings -&#62; Indent -&#62; Program SmartIndent.  Hooks are provided for intervening at the point that a newline isentered, either via the user pressing the Enter key, or throughauto-wrapping; and for arbitrary type-in to act on specific characters typed.</P><P>To type a newline character without invoking smart-indent when operating insmart-indent mode, hold the Shift key while pressing the Return or Enter key.</P><P><H3>Auto-Indent</H3></P><P>With Indent set to Auto (the default), NEdit keeps a running indent.  Whenyou press the Return or Enter key, spaces and tabs are inserted to line upthe insert point under the start of the previous line.</P><P>Regardless of indent-mode, Ctrl+Return always does the automatic indent;Shift+Return always does a return without indent.</P><P><H3>Block Indentation Adjustment</H3></P><P>The Shift Left and Shift Right commands as well as rectangular dragging canbe used to adjust the indentation for several lines at once.  To shift ablock of text one character to the right, select the text, then choose ShiftRight from the Edit menu.  Note that the accelerator keys for these menuitems are Ctrl+9 and Ctrl+0, which correspond to  the right and leftparenthesis on most keyboards.  Remember them as adjusting the text in thedirection pointed to by the parenthesis character.  Holding the Shift keywhile selecting either Shift Left or Shift Right will shift the text by onetab stop (or by one emulated tab stop if tab emulation is turned on).  Thehelp section "Shifting and Filling" under "Basic Operation" has details.<P><HR></P><P></P></BODY></HTML>

⌨️ 快捷键说明

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