﻿////////////////////////////////////////////////////////////////////////
// Editor²project

///Editor²项目
//
// The Quadratic replacement for Notepad and 2xEditor

// 记事本和2xEditor的二次替换

// By Nikos Bozinis @ 4 May 2004

// 作者:Nikos Bozinis, 2004年5月4日


This small update adds handling of UTF8 and OEM text files. UTF8 files may be detected automatically but for the case of OEM you must tell Editor²using the "Files of type" combo box in the standard File | Open dialog, or using the new /C:n command line option (see below).

这个小更新增加了对UTF8和OEM文本文件的处理。UTF8文件可能会自动检测到，但对于OEM的情况，您必须告诉Editor²使用标准的文件|打开对话框中的“文件类型”组合框，或使用新的/C:n命令行选项(见下)。

Once loaded the text type can be seen in the rightmost status bar pane. When saving you can convert the text to any of the supported formats, again using the "Save as type" combo box in the File | Save As dialog.

加载后，文本类型可以在最右边的状态栏窗格中看到。在保存时，您可以将文本转换为任何支持的格式，再次使用“文件|另存为”对话框中的“另存为类型”组合框。

To force the text encoding from the command line use the /C switch with a number as such:

要强制从命令行进行文本编码，请使用带有如下数字的/C开关:

	0 windows (default)(默认)
	1 OEM
	2 UTF8
	3 UNICODE-16
 nnn explicit code page number e.g. /C:1253 for greek
 
 nnn显式代码页码，例如希腊文的/C:1253

For example the command line:

例如，命令行:

	editor2 /C:1 file.txt
will load "file.txt" assuming it is OEM encoded. Note that if there is a valid BOM (for utf8 or unicode) it will override whatever forced encoding was specified using the /C switch.

将加载“file.txt”，假设它是OEM编码的。注意，如果有一个有效的BOM(对于utf8或unicode)，它将覆盖使用/C开关指定的任何强制编码。

NOTE: if a loaded file had a "byte-order-mask" (BOM) identifying the encoding then Editor²will use a BOM when saving, too. If the loaded file had no BOM then it will be saved without a BOM.

注意:如果加载的文件有一个“字节顺序掩码”(BOM)识别编码，然后Editor²保存时也会使用BOM。如果加载的文件没有BOM，那么它将在没有BOM的情况下保存。

Overall the command line arguments now are (all optional):

总的来说，命令行参数现在(都是可选的):

	Editor2 /S:<name> /M /V /E /L:nn /P /C:n /I:settings.INI <filename> <filename2> ...

/M ensures that the window will open and be visible (not minimized on the taskbar)

/M确保窗口将被打开并且是可见的(不是在任务栏上最小化)

You get 10 more autotexts too. Similar to the existing system that uses <Ctrl+NUMBER> to use and <Ctrl+Shift+NUMBER> to define, you get 10 more using <Alt> in place of <Ctrl>. All the menus and dialogs are updated accordingly. Note that the keyboard shortcuts for fixed/proportional font had to change to accommodate the new autotexts.

你还会得到10个自动文本。类似于现有的系统，使用<Ctrl+NUMBER>和<Ctrl+Shift+NUMBER>定义时，使用<Alt>代替<Ctrl>。所有的菜单和对话框都相应更新。注意，固定/比例字体的键盘快捷键必须改变，以适应新的自动文本。

By default all settings are stored in the registry but you can use the /I: command line switch with a INI file path to store the program settings. The default settings filename is ED2.INI, if you have one in the installation folder then you don't need to use /I, this file will be used automatically, but be careful to ensure you have write permissions in the installation folder, otherwise provide some other save location.

默认情况下，所有设置都存储在注册表中，但是您可以使用/I:命令行开关和INI文件路径来存储程序设置。默认设置的文件名是ED2.INI，如果你在安装文件夹中有一个，那么你不需要使用/I，这个文件将被自动使用，但要注意确保你在安装文件夹中有写权限，否则提供一些其他的保存位置。

///// VERSION 2.5
///// 版本 2.5

It's been some time since the last release of Editor²?a couple of years to be exact. This latest version isn't a major makeover; it mainly brings the editor in close integration with xplorer?the sequel to 2xExplorer. The major advantage is that its search functions are synchronized with those of xplorer? If you search for some text in xplorer?the same search options are transferred to Editor²and vice-versa. This is a sweet usability feature for integrating the 2 programs while keeping them separate.

距离上次发布的编辑器已经有一段时间了?确切地说是几年。这个最新的版本并没有大的改变;它主要使编辑器与xplorer紧密集成?这是2xExplorer的续集。主要优点是它的搜索功能与xplorer?如果你在xplorer中搜索一些文本?相同的搜索选项被转移到Editor²反之亦然。这是一个很好的可用性特性，可以将两个程序单独集成。

So what else is in it for the standalone user?

那么，它对独立用户还有什么好处呢?

* MULTITHREADED SDI. This technicality means that multiple instances of the editor can be open at the same time with minimum impact on your system resources. You can open new windows or clone the same file in multiple windows. By default Editor²runs in a single instance mode too, unless the new /P command line option is specified (see below).

*多线程SDI 。这种技术性意味着可以同时打开编辑器的多个实例，而对系统资源的影响最小。您可以打开新的窗口或在多个窗口中克隆相同的文件。默认Editor²在单实例模式下运行，除非指定了新的/P命令行选项(见下文)。

* SEARCH AND REPLACE WITH BINARY CHARACTERS. The search and replace dialogs can now accept "binary" characters like tabs and linefeeds. You either select them from those predefined or type them in yourself in the format $xx, where xx is the hexadecimal byte number you want inserted (e.g. return = $0D). If you want a single $ just escape it with $$.

*搜索并替换为二进制字符。搜索和替换对话框现在可以接受“二进制”字符，如制表符和换行符。您可以从预定义的值中选择它们，或者自己以$xx的格式输入它们，其中xx是您想要插入的十六进制字节数(例如return = $0D)。如果你想要一个$，用$$转义即可。

* NEW COMMAND LINE ARGUMENTS. /L:nn will load a document and jump directly to line # nn. /P forces a separate process ?by default Editor²runs in single instance mode. You don't really have any incentive to force non-single instance since the memory usage gets worse with each new window. But it is there nevertheless. So the overall command line is (all arguments optional):

*新的命令行参数。/L:nn将加载一个文档并直接跳转到第# nn行。/P强制一个单独的进程?在单实例模式下运行。实际上，您没有任何动力强制使用非单一实例，因为每创建一个新窗口，内存使用情况就会变得更糟。但它仍然存在。所以整个命令行是(所有参数都是可选的):
	Editor2 /S:<name> /V /E /L:nn /P <filename>

* DUAL BOOKMARK. The single bookmark with <Ctrl+F8> was good but not good enough for jumping between 2 spots. Now the store bookmark command will remember the 2 latest bookmarked positions and <F8> will cycle among them. Very neat. <Shift+F8> will extend the selection.

*双书签。单书签与<Ctrl+F8> 很好，但还不足以在两个位置之间跳跃。现在商店书签命令将记住最新的2个书签位置和<F8>;将在它们之间循环。非常整洁。<Shift+F8>将扩展所选内容。

* FIND ALL. The find dialog has an option to find all occurences of the searched string. These are hilighted in one stroke for all the text. There's a command to cancel the hilighting too.

*找到所有。find对话框有一个选项来查找所搜索字符串的所有出现情况。所有的文本都用一笔画高亮了。还有一个命令取消升光。

* CHARACTER CASE CHANGE. Changes the selection to uppercase or lowercase, see Edit menu.

*字符大小写变化。将选择更改为大写或小写，请参见编辑菜单。

* EXTERNAL VIEWER. This is configurable from the options dialog. Hitting <F12> saves the document and opens it in the specified external viewer (e.g. for previewing the HTML you are typing). Note that in general you need the full path to the external viewer and if it contains spaces you should enclose it in "quotation marks".

*外部查看器。这是可从选项对话框配置的。触及 <F12> 保存文档并在指定的外部查看器中打开它(例如，用于预览您正在输入的HTML)。注意，通常你需要外部查看器的完整路径，如果它包含空格，你应该用“引号”括起来。


You will have noticed that all these new features and some others (escapable I/O, autocompleting combo boxes and other subtle usability improvements) have increased the pork in Editor²whose size leapt to just under the 100KB barrier. But it's pounds well spent, I say! Enjoy!

你会注意到所有这些新特性和其他一些(可逃避I/O，自动完成组合框和其他细微的可用性改进)都增加了Editor²其大小跃至略低于100KB的门槛。不过我说，这钱花得值!享受吧!


///////////////////////// W H A T   W A S   N E W //////////////////////////

///////////////////////// 什么是新的  //////////////////////////

Walking on the same land that Aristotle developed all his foundations for science and logic, one cannot help oneself pondering on the law of excluded middle (A or not-A) that the great master formulated first of all mankind. Locked into such a logical-positivistic frame of mind, it doesn't take much to realize that 300K+ is a bit too large for a basic editor that was 2xEditor. So one has to take the logical step and remove all the excess fat of MFC, that 10-year old dinosaur of a class library, and replace it with a nifty WTL-based implementation.

走在亚里士多德建立起科学和逻辑学基础的同一块土地上，人们会不由自主地思考这位伟大的大师首先提出的排中律(A或非A)。在这种逻辑实证的思维框架下，很容易意识到300K+对于2xEditor这样的基本编辑器来说有点太大了。因此，必须采取合乎逻辑的步骤，删除MFC的所有多余脂肪，这个有10年历史的类库，并用一个漂亮的基于wtl的实现替换它。

(
WTL or Windows Template Library is a "new" set of lightweight templates/classes which wrap most of the user interface aspects of modern windows programming. It was developed within mikros~1 as an extension of ATL, and although not "officially" supported it kicks plain ass. If only there was some docking toolbar functionality it would become the defacto tool for all UI programming aspects. But we're working on that...
)

（
WTL或Windows模板库是一组轻量级模板/类的“新”集合，它封装了现代Windows编程的大多数用户界面方面。它是在mikros~1中作为ATL的扩展开发的，虽然没有得到“官方”的支持，但它非常出色。如果有一些对接工具栏功能，它将成为所有UI编程方面的实际工具。但我们正在努力…
）

2xEditor == 323,584 bytes; Editor²== 83,968 bytes (build# 2.0.0.7). Talking about weight loss! No diet should be without WTL, now available without prescription (girlfriends beware). Still it's fat down yet meat up. The new version packs more functionality than the original 2xEditor, while maintaining all the original aspects. Here's a short list of improvements:

2xEditor == 323,584字节;Editor²== 83,968字节(构建# 2.0.0.7)。说到减肥!任何饮食都不能没有WTL，现在无需处方就可以获得(闺蜜们注意了)。下面还是肥肉，上面是肉。新版本比原来的2xEditor打包了更多的功能，同时保持了原来的所有方面。下面是一个简短的改进列表:

* RICHEDIT v2.0. Editor²uses the newer version of the common windows rich edit control which is a better all-rounder (as mini$o~1 claim it's now written in C++ as opposed to the Cobol-based old implementation :). Coming with tricks like multi-level undo, better Asian-language support, etc. On the down side it requires RICHED20.DLL to run, which may be missing from some early win95 platforms. But this is the third millenium after all, time to move on.

* RICHEDIT v2.0。Editor²使用通用窗口富编辑控件的新版本，这是一个更好的全能型控件(正如mini$o~1所宣称的，它现在是用c++编写的，而不是基于cobol的旧实现:)。还提供了多级撤销、更好的亚洲语言支持等技巧。缺点是它需要运行richhed20 . dll，这可能在一些早期的win95平台上是缺失的。但这毕竟是第三个千年，是时候继续前进了。

* UNICODE SUPPORT. Perhaps the strongest argument for moving to the latest version of rich-edit is the native support for Unicode. Editor²automatically reads and writes in I-dont-know-which-endian Unicode text files. That is automatic in reading; for writing just make sure you select "Unicode text" in the "Save as type" box (Save As dialog), or keep an eye on the new "UC" indicator on the status bar. 
NOTE: If you regularly use Unicode text files, I recommend downloading the pure Unicode version of the program from the website. See the Unicode section below for more details.

* UNICODE支持。也许迁移到富编辑的最新版本的最有力的论据是对Unicode的本机支持。Editor²自动读取和写入我不知道哪个端序的Unicode文本文件。这在阅读中是自然而然的;对于书写，只要确保你在“另存为类型”框(另存为对话框)中选择了“Unicode文本”，或者关注状态栏上新的“UC”指示灯。
注意:如果你经常使用Unicode文本文件，我建议从网站下载纯Unicode版本的程序。有关更多细节，请参阅下面的Unicode部分。

* UNIX CR/LF CONVERSION. Similar to the unicode capability, Editor²will auto-detect when a Unix text file is loaded (no carriage return CR characters at the end of line) and light an "LF" indicator on the status bar. By default all such Unix files are saved with just newlines, but you may change that by selecting another type for the "Save as type" box (Save As dialog). Conversions from DOS CR/LF texts to Unix LF can also be achieved in a similar fashion.

* Unix cr / lf转换。类似于unicode功能，Editor²当Unix文本文件加载时，将自动检测(没有回车符在行尾返回CR字符)，并在状态栏上点亮“LF”指示灯。默认情况下，所有这样的Unix文件都只使用换行符保存，但您可以通过为“另存为类型”框(另存为对话框)选择另一种类型来改变这一点。从DOS CR/LF文本到Unix LF文本的转换也可以通过类似的方式实现。

* DUAL FONTS. Editor²maintains two fonts, one "fixed-pitch" and one "proportional". You are free to substitute your own definitions for these terms. A simple switch mechanism (<Alt+1> and <Alt+2> shortcuts) and a smart new property page ensure the maximum enjoyment of this feature. Now coming with distinct color scheme selection for the read-only and normal editing modes.

*双字体。Editor²维护两个字体，一个“固定间距”和一个“比例”。你可以用你自己的定义来代替这些术语。一种简单的开关机构(<Alt+1>;和<Alt+2>比;快捷键)和一个智能的新属性页确保这一功能的最大享受。现在有独特的配色方案选择为只读和正常编辑模式。

* PRODUCTIVE SEARCH. The search functions in 2xEditor were no straight-to-video calamity, but the new stuff in Editor²are even better. My personal favorite is SearchSelection <Ctrl+F3> command which now supports searching for the word under the cursor without having to select it first, a real boost for productivity. Both this and the FindNext <F3> command now have <Shift-> equivalents that search in the backward direction. Finally, the case-sensitivity and word-search options are now conveniently located on the toolbar.

*高效搜索。2xEditor中的搜索功能并不是直接进入视频的灾难，但是Editor中的新功能呢?是更好的。我个人最喜欢的是SearchSelection <Ctrl+F3>命令，现在支持在光标下搜索单词，而不需要先选择它，这对工作效率是一个真正的提高。这两者和FindNext <F3>命令现在有<Shift->反向搜索的等价物。最后，区分大小写和单词搜索选项现在很方便地位于工具栏上。

* DOCUMENT STATISTICS. The new Help | Statistics command displays basic document information like word/line count. Now you have the evidence to impress your boss on your code writing proliferation.

*文档统计信息。新的Help | Statistics命令显示基本的文档信息，如字/行数。现在您就有了证据，可以让您的老板对您大量的代码编写印象深刻。

* AUTOMATIC URL DETECTION. Now visiting links shown on the document is just a click away. On by default, but there's a registry value which controls it.

*自动url检测。现在只要点击一下就可以访问文档中显示的链接。默认是开的，但有一个注册表值控制它。

* MORE REGISTRY OPTIONS. The key "HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\Editor2" has many things that you can control once you quit Editor² like "bFlatToolbar" (I couldn't tell you what this does without compromising national security :). A bit trickier are the format strings for the InsertDateTime command, held in the szCustomDateFormat and szCustomTimeFormat strings. For example, to get the date string "Wed, Aug 31 94" use the following format string: "ddd',' MMM dd yy". Or just leave them empty to get your short date format as specified in the Control Panel.

*更多注册表选项。键“HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\Editor2”有很多东西，你可以控制一旦你退出Editor²比如“bFlatToolbar”(我不能告诉你这是干什么的，否则会危及国家安全:)。有点棘手的是InsertDateTime命令的格式字符串，保存在szCustomDateFormat和szCustomTimeFormat字符串中。例如，要获得日期字符串"Wed, Aug 31 94"，使用以下格式字符串:"ddd'，' MMM dd yy"。或者只让它们为空，以获得在控制面板中指定的短日期格式。

* INTERNATIONALIZATION-READY. All the messages etc in Editor²are stored in the program resources, so it should be a breeze to translate everything to other languages. Entusiastic volunteers of non-English nationalities please let me know who you are! There are already plenty translations, check for your own language at http://www.netez.com/2xExplorer/international.html

是触及到*国际化。所有的消息等在Editor²都存储在程序资源中，因此将所有内容翻译成其他语言应该是一件轻而易举的事。非英国国籍的志愿者请让我知道你们是谁!已经有很多翻译版本了，请在http://www.netez.com/2xExplorer/international.html上查看你自己的语言


So there you have it. Using advanced non-linear technology (TM) Editor²squashed 2xEditor like a blood-filled mosquito (darn things!). Its low fat WTL diet should ensure longevity, and raise a true challenge for the prize of highest feature-to-size (power-to-weight) ratio in the Notepad replacement arena (i.e. the GSXR-1000 equivalent). And this is a sign of things to come. Explorer?could be just round the corner. Why stay linear when you can go quadratic?

这就是结果。使用先进的非线性技术(TM)把2xEditor压得像一只充血的蚊子(该死的东西!)它的低脂肪WTL饮食应该能保证寿命，并对Notepad替代品领域(即GSXR-1000)最高功能与尺寸(功率与重量)比的奖项提出了真正的挑战。这是未来的征兆。探险家吗?可能就在附近。既然可以求二次元，为什么要保持线性?


///////////////////// ORIGINAL RELEASE ANNOUNCEMENT //////////////////

///////////////////// 原始发布公告  //////////////////

Just another Notepad replacement? Not so!

只是另一个记事本的替代品?不是这样的!

Editor²begun its life as an embedded thread in 2xExplorer (dual pane win32 file manager, check it out) dealing with all things viewing/editing. By popular demand it is now transformed into a stand-alone application, after undergoing some tweaks and improvements at the same time (e.g. printing support).

Editor²它开始作为2xExplorer(双窗格win32文件管理器，查看它)中的一个嵌入式线程来处理所有查看/编辑的事情。在经历了一些调整和改进(例如，打印支持)之后，根据大众的需求，它现在被转变为一个独立的应用程序。

Although it won't substitute your main editor (say for writing your source code), it is nevertheless a very compact quick'n'dirty editor/viewer thingme to be appreciated by programmers and lay users alike. The key objective is efficient everyday use, facilitated by the following main features:

尽管它不能代替你的主编辑器(比如用于编写源代码)，但它仍然是一个非常紧凑、快速而又简单的编辑器/查看器，深受程序员和普通用户的喜爱。主要目标是高效的日常使用，由以下主要特点促成:

* Keyboard shortcuts for most commands

*大多数命令的键盘快捷键

* Persistence of all program state/properties (registry)

*所有程序状态/属性(注册表)的持久性

* Powerful search and replace, including command history

*强大的搜索和替换，包括命令历史

* Font selection, color and tab settings

*字体选择，颜色和选项卡设置

* Hexadecimal viewer for the hacker within oneself

*自己内部黑客的十六进制查看器

* RTF viewer (read only mode)

* RTF查看器(只读模式)

* Autotext for easing the insertion of opening/closing HTML tags and other text.

*自动文本，方便插入打开/关闭HTML标签和其他文本。

Naturally you get all the standard gimmicks like toolbars, drag/drop editing, word wrapping, printing, unlimited size editing and all. Especially for programmers of all shapes and languages, the following added items will surely prove handy:

当然，你会得到所有标准的噱头，如工具栏，拖放编辑，换行，打印，无限大小编辑等等。特别是对于各种身材和语言的程序员来说，以下添加的项目肯定会很方便:

* Indentation control

*控制缩进

* Brace matching (including HTML angle brackets <>)

*括号匹配(包括HTML尖括号&lt;&gt;)

* Goto line # command

*转到行#命令

* Line/Column indicator

*行/列的指标

* Insertion caret bookmark

*插入插入书签


Editor²is aware of command line arguments, too. The syntax is as follows:

Editor²也知道命令行参数。语法如下:

> Editor2 /S:<name> /V /E <filename>

All arguments are optional. The <filename> is, as you'd expect, the file to start editing/viewing. The "/S:" option on the other hand is a fidgety little thing that controls the registry key name where all the persistent properties are kept (window size and the rest). By default, Editor²will store everything in "HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\Editor2"; using the (for example) /S:OTHER argument will force properties to be stored/read from the "HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\Editor2OTHER" key instead. Not actually earth-moving but it can be quite handy for keeping distinct settings depending on context (e.g. for keeping various shortcuts to Editor²on your desktop).

所有参数都是可选的。& lt; filename&gt;如您所料，是要开始编辑/查看的文件。另一方面，“/S:”选项是一个繁琐的小东西，它控制注册表键名，其中保存了所有持久性属性(窗口大小和其他)。默认情况下,Editor²将所有内容存储在“HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\Editor2”中;使用(例如)/S:OTHER参数将强制从"HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\Editor2OTHER"键存储/读取属性。不是真正的移动，但它可以非常方便地根据上下文保持不同的设置(例如保持编辑器的各种快捷方式?在桌面上)。

Finally, the /V and /E options force the editor to open in View or Edit mode, respectively, regardless of the mode that was kept in the registry (i.e. the last time you used it)

最后，/V和/E选项强制编辑器分别以视图或编辑模式打开，而不管注册表中保存的模式是什么(例如，最后一次使用它)。


///////////////////// U N I C O D E   V E R S I O N ////////////////////

///////////////////// UNICODE 版本  ////////////////////

Although all versions of Editor²will read and handle unicode text files, the ANSI version of the program (which runs on all windows platforms, including 95/98) cannot handle text searches within unicode sessions properly. If you are using windows NT or 2000, I would recommend downloading the special unicode build of the program from the website (http://www.netez.com/2xExplorer). This will properly handle searches with international characters, and it is more efficient throughout, since NT-based platforms use Unicode internally.

尽管所有版本的Editor²将读取和处理unicode文本文件，程序的ANSI版本(在所有windows平台上运行，包括95/98)不能正确处理unicode会话中的文本搜索。如果您使用的是windows NT或2000，我建议您从网站(http://www.netez.com/2xExplorer)下载该程序的特殊unicode版本。这将正确处理具有国际字符的搜索，而且从头到脚效率更高，因为基于nt的平台在内部使用Unicode。

Note that in general, if you have mixed-language characters in a single file, the only way to preserve them is to save the file in Unicode format (choose the appropriate "Save as type" in the SaveAs dialog). This is a "feature" of the new version of the richedit control, which I cannot change.

注意，通常情况下，如果在单个文件中包含混合语言字符，那么保存它们的唯一方法是将文件保存为Unicode格式(在SaveAs对话框中选择适当的“另存为类型”)。这是richit控件新版本的一个“特性”，我不能更改。


////////////////////////// KEYBOARD SHORTCUTS ////////////////////////

////////////////////////// 键盘快捷键  ////////////////////////

Except for the keyboard accelerators for the Editor²commands (shown next to menu items and in tooltips), there exist shortcuts for moving the insertion caret around within the text buffer. I wouldn't bother reminding you of the arrow keys, PgUp/PgDn, Home/End and the like, but there are several maybe-not-so-well-known commands using the <Control> key:

除了编辑器的键盘加速器?命令(显示在菜单项旁边和工具提示中)，存在用于在文本缓冲区中移动插入插入符号的快捷方式。我不想麻烦地提醒你方向键，PgUp/PgDn, Home/End等，但有几个可能不太知名的命令使用&lt;Control&gt;关键:

ACCELERATOR    DESCRIPTION OF COMMAND 命令的描述
Ctrl+Left      Move one word to the left 向左移动一个单词
Ctrl+Right     Move one word to the right 向右移动一个单词
Ctrl+PageUp    Jump to the top of the window 跳到窗户顶上
Ctrl+PageDn    Jump to the bottom of the window 跳到窗底
Ctrl+Home      Goto the beginning of the document 转到文档的开头
Ctrl+End       Goto the end of the document 转到文档的末尾
Ctrl+Delete    Delete the word to the right of the caret 删除插入符号右侧的单词

All these commands can be combined with the <Shift> key for extending the selection to the final caret location.

所有这些命令都可以与&lt;Shift&gt;将所选内容扩展到最后插入符号位置的键。

Mouse-wise, you can double-click on a word to select it automatically; a triple click will select the whole line. Note here that the regular copy <Ctrl+C> shortcut will also copy a whole line if there's no other selection.

用鼠标的话，你可以双击一个单词自动选择它;三次点击将选择整行。注意这里的常规复制&lt;Ctrl+C&gt;如果没有其他选项，快捷键也会复制整行。

Finally for the search commands, <Shift+F3> will search for the "next" occurrence in the backward direction, and <Ctrl+Shift+F3> will back-search for the selected word or word under the cursor.

最后对于搜索命令，&lt;Shift+F3&gt;将反向搜索“下一个”事件，并按Ctrl+Shift+F3&gt;将反向搜索光标下所选的单词或单词。


/////// HOW TO PERMANENTLY ASSOCIATE EDITOR2 WITH TEXT DOCUMENTS ///////

///////如何将editor2永久地关联到文本文档///////

You can associate Editor²to handle all text (*.txt etc) files on your computer, if you don't want to Notepad ruining your day no more. All you have to do is edit the 'open' verb for Text documents. From the windows explorer select View|FolderOptions and go to the FileTypes tab. Find the entry for Text Document and click on the Edit button. Then double-click on the 'open' verb and type: 

你可以做副编辑?处理你电脑上的所有文本(*.txt等)文件，如果你不想让记事本毁了你的一天。你所要做的就是编辑Text文档的“打开”动词。在windows资源管理器中选择“查看|文件夹选项”，然后转到“文件类型”选项卡。找到文本文档的条目并单击Edit按钮。然后双击“open”动词并输入:

     c:\WhereYouHaveIt_Path\Editor2.exe "%1"

It is very IMPORTANT to include the "%1" argument so that Editor²will read properly filenames with spaces. This must be the top "problem" people tell me about.

包含“%1”参数非常重要，以便Editor²将正确读取带有空格的文件名。这一定是人们告诉我的头号“问题”。


//////////////////////////// L I C E N C E /////////////////////////////

//////////////////////////// 执照 /////////////////////////////

Editor²is free, gratis and fer nowt. But don't send me summons for court if you don't like it either (or if by some cosmic coincidence it so happens to erase your hard-drive contents). Don't even consider selling it for profit other than reasonable distribution costs. How's that for an informal licence agreement?

Editor²是免费的，免费的，免费的。但如果你不喜欢，也不要给我发传票去法院(或者，如果某种宇宙的巧合，它碰巧擦除了你硬盘上的内容)。除了合理的分销成本外，甚至不要考虑出售它以获取利润。这个非正式许可协议怎么样?

Princes, princesses and other royalty, lottery-winners, top-flight executives and related rich folk are expected to make a donation if found addicted to Editor² Small contributions from less-fortunate warm-hearted folk won't be turned down either. Details can be found in the website.
(http://www.netez.com/2xExplorer/donate.html)

王子、公主和其他皇室成员、彩票中奖者、顶级高管和相关富人如果被发现沉迷于此，将被要求捐款。来自不那么幸运的热心人士的小额捐款也不会被拒绝。详情可以在网站上找到。
(http://www.netez.com/2xExplorer/donate.html)


//////////////////////////// C R E D I T S /////////////////////////////

//////////////////////////// 学分 /////////////////////////////

Editor²(the program formerly known as 2xEditor) was developed using Visual C++ v6.0 (ATL/WTL classes) by Nikos Bozinis in 1999-2002. Should you want to contact the author for any comments, suggestions, bug reports or just for a pat on the back, the details follow:

Editor²(该程序以前被称为2xEditor)是由Nikos Bozinis在1999-2002年使用Visual c++ v6.0 (ATL/WTL类)开发的。如果你想联系作者寻求任何评论、建议、错误报告或只是为了得到鼓励，详细信息如下:

e-mail(电子邮件): mailto:n.bozinis@ic.ac.uk?SUBJECT=Editor2
WWW:    http://www.netez.com/2xExplorer
Forum(论坛): http://www.netez.com/bbs/
