SynEdit/zh CN: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | ## 发展历史 | |
| 2 | 2 | ||
| 3 | 3 | **SynEdit** 是一个开源的文本编辑器,支持多种语法高亮,官方网页在 SF.net,2007年发布版本 2.0.6,现已迁移到 [github](https://github.com/SynEdit/SynEdit)。 | |
| 4 | 4 | ||
| 5 | 5 | 在 Lazarus 界面中,提供一个 [[SynEdit tab]] 组件面板。其中包含一个名为[[TSynEdit]]的源编辑器组件,支持几种语法高亮,和其他组件一起用于源代码的编辑。包含在Lazarus中的SynEdit是从 [SynEdit 1.0.3](https://sourceforge.net/projects/synedit/) 中分离出来的,大部分代码由 Martin Friebe 发表在论坛上,并且被改编和扩展了很多,在与原始SynEdit(MPL或GPL)相同的条款下获得许可。 | |
| 6 | 6 | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 7 | + |  | |
| 11 | 8 | ||
| 12 | 9 | ## 原始版本 SynEdit 与 Lazarus版 SynEdit | |
| 13 | 10 | ||
| 14 | 11 | Lazarus 版SynEdit 大部分是由 Martin Friebe. Martin 在论坛上写的,那么自从分支出现后,发生了什么呢? | |
| 15 | 12 | ||
| 16 | 13 | 加入Laza的大事记: | |
| 17 | 14 | ||
| 18 | 15 | - 折叠(代码块) | |
| 19 | 16 | - 可配置的天沟 - 天沟部分 | |
| 20 | 17 | - 几个编辑器之间的共享文本 | |
| 21 | 18 | - utf-8支持 | |
| 22 | 19 | - 同步编辑插件 | |
| 23 | 20 | - 基本的RTL-LTR支持 | |
| 24 | 21 | - 鼠标配置通过MouseActions | |
| 25 | 22 | - 重写各种亮点 | |
| 26 | 23 | ||
| 27 | 24 | Delphi和Lazarus的两个版本,代码库是独立重构的,他们之间的重叠很少。 | |
| 28 | 25 | ||
| 29 | 26 | ## Linux下的bug | |
| 30 | 27 | ||
| 31 | 28 | 不能调用输入法 | |
| 32 | 29 | ||
| 33 | 30 | ## 使用帮助 | |
| 34 | 31 | ||
| 35 | 32 | 设置高亮的语法类别 | |
| 36 | 33 | ||
| 37 | 34 | ## 进一步的开发与讨论 | |
| 38 | 35 | ||
| 39 | 36 | - RTL (right-to-left): started by Mazen (partly implemented on Windows) | |
| 40 | 37 | - SynEdit 只支持 UTF8; 不存在 ASCII/ANSI 版本。 A font is pre-selected depending on the system. The user can choose another font, but must then take care to choose a monospaced font. | |
| 41 | 38 | - automatic monospace font selection: At the moment SynEdit starts with a font 'courier'. At the moment the LCL TFont does not provide a property to filter monospaced fonts. | |
| 42 | 39 | - automatic UTF-8 font selection: Same as above monospace, but also with an UTF-8 font, so that for example umlauts are shown correctly. | |
| 43 | 40 | - Dead keys. Most keyboards support typing two or more keys to create one special character (like accented or umlaut characters). (This is handled by LCL widgedset) | |
| 44 | 41 | - [[Redesign of the SynEdit component]]. The primary goal is more reliable display and navigation in the text. A more modular approach also allows for better integration of extensions, and for specialized controls, for use outside of Lazarus. | |
| 45 | 42 | - [Word Wrapping](http://bugs.freepascal.org/view.php?id=30395). This is an experimental implementation following the idea of the TextTrimmer/TabExpansion classes. The linked bugtraker issue has the class and the explanation of changes required in other files for it to work. | |
| 46 | 43 | - Hooks in SynEdit key/command processing. On the forum: <http://forum.lazarus-ide.org/index.php/topic,35592.msg243316.html#msg243316> | |
| 47 | 44 | ||
| 48 | 45 | --- | |
| 49 | 46 | *From the Free Pascal wiki, page "SynEdit/zh CN", as it stood on 2017-12-04 after a change by Pengtu, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
