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

📄 format.html

📁 nedit 是一款linux下的开发源码的功能强大的编辑器
💻 HTML
字号:
<HTML><HEAD><TITLE> Basic Operation </TITLE></HEAD><BODY><A NAME="File_Format"></A><H2> File Format </H2><P>While plain-text is probably the simplest and most interchangeable fileformat in the computer world, there is still variation in what plain-textmeans from system to system.  Plain-text files can differ in character set,line termination, and wrapping.</P><P>While character set differences are the most obvious and pose the mostchallenge to portability, they affect NEdit only indirectly via the same fontand localization mechanisms common to all X applications.  If your system isset up properly, you will probably never see character-set related problemsin NEdit.  NEdit can not display Unicode text files, or any multi-bytecharacter set.</P><P>The primary difference between an MS DOS format file and a Unix format file,is how the lines are terminated.  Unix uses a single newline character.  MSDOS uses a carriage-return and a newline.  NEdit can read and write both fileformats, but internally, it uses the single character Unix standard.  NEditauto-detects MS DOS format files based on the line termination at the startof the file.  Files are judged to be DOS format if all of the first five lineterminators, within a maximum range, are DOS-style.  To change the format inwhich NEdit writes a file from DOS to Unix or visa versa, use the Save As...command and check or un-check the MS DOS Format button.</P><P>Wrapping within text files can vary among individual users, as well as fromsystem to system.  Both Windows and MacOS make frequent use of plain textfiles with no implicit right margin.  In these files, wrapping is determinedby the tool which displays them.  Files of this style also exist on Unixsystems, despite the fact that they are not supported by all Unix utilities. To display this kind of file properly in NEdit, you have to select the wrapstyle called Continuous.  Wrapping modes are discussed in the sections:Customizing -&#62; Preferences, and Basic Operation -&#62; Shifting and Filling.</P><P>The last and most minute of format differences is the terminating newline. Some Unix compilers and utilities require a final terminating newline on allfiles they read and fail in various ways on files which do not have it.  Viand approximately half of Unix editors enforce the terminating newline on allfiles that they write; Emacs does not enforce this rule.  Users are dividedon which is best.  NEdit makes the final terminating newline optional(Preferences -&#62; Default Settings -&#62; Terminate with Line Break on Save).<P><HR></P><P></P><P></P></BODY></HTML>

⌨️ 快捷键说明

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