Chapter 8 Document Management(第8章 文档管理)—1 【中英文对照】

  

Chapter 8 Document Management

8 文档管理
 

【原文】

In this chapter, we will look at the various issues concerned with managing documents in the SharpDevelop IDE. In this chapter's context, the term 'document management' means handling the internal representation of the text to be edited. The efficient management of text is important to ensure that the users can use the IDE conveniently. A bad text representation will slow down the editor's user interface and alienate the users.

在这一章,我们将会看到在 SharpDevelop IDE 中与管理文档有关的各种议题。以本章为背景,术语文档管理意谓操作要编辑的文本的内在表示。文本的有效管理对确保用户方便的使用IDE是重要的。一个差劲的文本表述将使编辑者的用户界面效率降低并使用户疏远。

In this chapter, we will discuss:

Text representation

Representing lines

Caret and selection management

Text model

And finally, how to put it all together

在这一个章节中,我们将会讨论:

文本表示

表示成行

标记(Caret)和选择关联

文本模型

最后,怎样把他们组合到一起

During the design phase, we decided to decouple the document model from the actual editor control, as this would give us more flexibility in implementing the editor and adapting it to specific needs. Being able to add to the SharpDevelop AddIn tree to extend the editor, and even use the editor control in the standalone configuration, exemplifies the flexibility of SharpDevelop.

在设计阶段,我们决定使文档模型与真正的编辑器分离,因为这会在实现编辑器和使它配合特定需要方面给我们带来较多的灵活性。通过添加SharpDevelop插件树去扩充编辑器,甚至在单独的配置中使用编辑器控件,例证:SharpDevelop的灵活性。

posted @ 2008-05-21 12:30  逐步高  阅读(275)  评论(0)    收藏  举报