Altium Designer Documentation

Text Editors - General

Modified by Tiffany Cullen on Apr 24, 2019
此文档页面引用了不再受支持的产品 Altium Vault, Altium Vault 及其组件管理功能已迁移到 Altium Concord Pro
All Contents

Parent page: TextEdit Preferences


The Text Editors - General page of the Preferences dialog

Summary

The Text Editors – General page of the Preferences dialog provides configuration controls related to the editing behavior of the Text Editor.

Access

This page of the Preferences dialog page is accessed by clicking General under the Text Editors folder in the main Preferences dialog (accessed by clicking the button in the upper right-hand corner of the workspace).

Options/Controls

Editing

  • Insert Mode - check to insert text at the cursor without overwriting existing text. If this option is disabled, text entered at the cursor is overwritten.
The keyboard Insert key can be used to toggle Insert Mode in the Text Editor without changing this default setting. The mode is indicated by the Overwrite or Insert message on the status bar.
  • Overwrite cursor as block - check to overwrite the cursor as a block.
  • Cursor through tabs - check to allow the arrow keys to move the cursor to the logical spaces within each tab character.
  • Cursor beyond EOL - check to allow the cursor to be positioned beyond the end-of-line (EOL) character on the text document.
  • Cursor beyond EOF - check to allow the cursor to be positioned beyond the end-of-file (EOF) character on the text document.
  • Persistent blocks - check to keep marked blocks on the text document marked even when the cursor is moved using the arrow keys. When a new block is selected, the previous block is removed.
  • Overwrite blocks - check to allow a marked block of text to be replaced with whatever is typed next. If the Persistent blocks option is also selected, text entered is appended following the currently selected block.
  • Disable dragging - check to inhibit the ability to drag selected blocks of text across the text document. By default, this option is disabled.
  • Group undo - check to undo the last editing command, as well as any subsequent editing commands of the same type.
  • Remember undo/redo after save - check to make Undo data remain after a text file is saved allowing all changes to be reverted. This option is enabled by default. Disable this option and all the Undo data is lost after saving a text file.
  • Smart 'Home' key - check to make the Home key (when used for the first time) cause the cursor to jump to the first non-space character in the current line. With the next Home key press, the cursor will jump to the beginning of the line, and so on. This Home key behavior matches that of the Microsoft™ Visual Studio™ product. Disable this option and the Home key will always cause the cursor to jump to the beginning of the current line.

Find

  • Find text at cursor - check to cause the current text at the cursor to be placed into the Text to find: field in the Find Text dialog box. If this option is disabled, the search text must be manually entered.
  • Find selected text on Find Next - enable this option to quickly find subsequent occurrences of the currently selected text, instead of the text that was used in the original find text action.
  • Select found text -  check to copy the found text to the clipboard when the copy command is used.

Import

  • Import from - click to import Text Editor Preference settings then choose from Tasking or Visual Studio.

Tabs & Indent

  • Use tab character -  when enabled, a literal tab character is inserted for each tab. When disabled, space characters are inserted instead. Enable the Use special symbols option on the Text Editors - Display Preferences page to see tab characters in the text document.
  • Optimal fill - check to make a line auto-indent with the minimum number of characters possible, using tabs and spaces as necessary. Enable the Use special symbols option on the Text Editors - Display Preferences page to see the tab symbols on the document.
  • Smart tab - check to have a new line tab to match the position of the first non-whitespace character on the preceding line.
  • Auto indent mode - check to create a new line when Enter is pressed. The cursor will indent the same as the position of the first non-whitespace character on the preceding line.
  • Smart indent mode - check to enable programming-aware tab behavior; currently used only when editing C files. For example, when this option is enabled and a closing curly bracket is typed, the editor will indent this character so that it is aligned to the matching opening curly bracket. Disable this option and the tab behaves normally.
  • Backspace unindents - check to have the backspace key remove an indent in one keypress. 
    • Tab Stops -  use to define the editor tab stops in number of characters represented by a tab.
    • Block Indent - use to specify the standing number of spaces to indent text, and the Indent/Outdent space used for a marked block of text. The Indent and Outdent block key commands are Ctrl+Shift+I and Ctrl+Shift+U, respectively.

Key Mapping

Select one of the following Key Mapping assignments for editing a text document:

  • Default map the editor keys to match CUA mappings.
  • Borland Classic - map keys to match the Borland Classic editor keys.
  • Brief - map keys to match the Brief keystrokes.
  • Epsilon - map keys to match the Epsilon keys.
  • Visual Studio - map keys to match the Visual Studio editor.

Advanced

  • Double click line - click to highlight a line when a character in the line is double-clicked. If this option is disabled, only the selected word is highlighted.
  • Unix EOL style - click so that when a text file is saved, each line will be separated using a single LF character (Unix style) instead of a CR/LF pair.
  • Compress undo motion - enable so that changing the caret position does not go into the undo list. Normally, if text is modified and the PageUp key pressed, Undo would have to be used twice to restore the text to the original state. With the Compress Undo Motion enabled, that can be done with a single Undo.
  • Advanced block editing -  click to have all the selected blocks simultaneously overwritten when typing.
Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

联系我们

联系原厂或当地办公室

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
You are reporting an issue with the following selected text
and/or image within the active document:
Altium Designer 免费试用
Altium Designer Free Trial
我们开始吧!首先,您或者您的公司已经在使用Altium Designer了吗?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

既然您在使用Altium Designer,为何仍需要试用?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

好的,实际上您无需下载一个试用版本。

点击下方按钮下载最新版本的Altium Designer安装包

下载Altium Designer 安装包

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

填写下方表格,获取Altium Designer最新报价。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

如果您是Altium维保期内客户,您不需要下载试用版本。

如果您不是Altium维保客户,请填写下方表格免费试用。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

您为何想要试用Altium Designer?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

那您来对地方了!请填写下方表格申请试用吧。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

Great News!

Valid students can get their very own 6-month Altium Designer Student License for FREE! Just fill out the form below to request your Student License today.

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。

请填写下方表格申请。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

好棒!创作是一件超酷的事情,我们可以为您提供完美的设计软件。

Upverter是一个社区导向的交流平台,专为您这样的创客量身定做。

点击这里看看吧!

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。

请填写下方表格申请。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。