Sign in Join
Wiki copytemporary

SynEdit/zh CN: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## 发展历史
22
33**SynEdit** 是一个开源的文本编辑器,支持多种语法高亮,官方网页在 SF.net,2007年发布版本 2.0.6,现已迁移到 [github](https://github.com/SynEdit/SynEdit)。
44
55在 Lazarus 界面中,提供一个 [[SynEdit tab]] 组件面板。其中包含一个名为[[TSynEdit]]的源编辑器组件,支持几种语法高亮,和其他组件一起用于源代码的编辑。包含在Lazarus中的SynEdit是从 [SynEdit 1.0.3](https://sourceforge.net/projects/synedit/) 中分离出来的,大部分代码由 Martin Friebe 发表在论坛上,并且被改编和扩展了很多,在与原始SynEdit(MPL或GPL)相同的条款下获得许可。
66
7-<figure>
8-<img src="Component_Palette_SynEdit.png" title="Component_Palette_SynEdit.png" />
9-<figcaption>Component_Palette_SynEdit.png</figcaption>
10-</figure>
7+![](/wiki-images/2/22/Component_Palette_SynEdit.png)
118
129## 原始版本 SynEdit 与 Lazarus版 SynEdit
1310
1411Lazarus 版SynEdit 大部分是由 Martin Friebe. Martin 在论坛上写的,那么自从分支出现后,发生了什么呢?
1512
1613加入Laza的大事记:
1714
1815- 折叠(代码块)
1916- 可配置的天沟 - 天沟部分
2017- 几个编辑器之间的共享文本
2118- utf-8支持
2219- 同步编辑插件
2320- 基本的RTL-LTR支持
2421- 鼠标配置通过MouseActions
2522- 重写各种亮点
2623
2724Delphi和Lazarus的两个版本,代码库是独立重构的,他们之间的重叠很少。
2825
2926## Linux下的bug
3027
3128不能调用输入法
3229
3330## 使用帮助
3431
3532设置高亮的语法类别
3633
3734## 进一步的开发与讨论
3835
3936- RTL (right-to-left): started by Mazen (partly implemented on Windows)
4037- 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.
4138 - 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.
4239 - automatic UTF-8 font selection: Same as above monospace, but also with an UTF-8 font, so that for example umlauts are shown correctly.
4340- 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)
4441- [[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.
4542- [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.
4643- Hooks in SynEdit key/command processing. On the forum: <http://forum.lazarus-ide.org/index.php/topic,35592.msg243316.html#msg243316>
4744
4845---
4946*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).*

Back to history