Text Editor

The text editor opens when you place or double-click an editable entity. A small mode chip in the header — rich (accent color) or simple (muted) — shows which mode is active for the current entity.

Editor modes

Rich mode

Used by: Text (MTEXT labels) and Multileader annotations.

FeatureBehaviour
Bold / Italic / StrikethroughPer-character (apply to selection, or whole entity if no selection)
Font and HeightPer-character override, or whole-entity default
EnterInserts a hard line break
Shift+←/→Extends or shrinks a text selection
Home / EndJump to start / end of the current hard line
Word wrapSupported via reference-width resize grips

Simple mode

Used by: Dimension Linear, Dimension Aligned, Dimension Angular, Dimension Radius, Dimension Diameter.

The editor is pre-seeded with the current dimension’s rendered label so you can position the cursor and edit the value directly.

FeatureBehaviour
Bold / Italic / Font / HeightAvailable — applies to the entire label at once
Per-character formattingNot supported
EnterCommits the value and closes the editor (no line break)
Multi-lineNot supported
Word wrapNot supported

Opening the editor

ActionResult
text command → click positionCreates a new text entity and opens the editor (rich)
Double-click an existing Text entityRe-opens the editor in rich mode
Double-click an existing MultileaderOpens the editor in rich mode
Double-click a dimension entityOpens the editor in simple mode
Escape inside the editorCloses the editor and keeps all changes

Toolbar

The toolbar floats above the text’s bounding box and stays anchored to the entity as you pan or zoom.

Bold · Italic · Strikethrough

ButtonShortcutWhat it does
BToggle bold
IToggle italic
SToggle strikethrough

How toggling applies:

  • With a text selection — the style is applied to exactly the selected characters only.
  • No selection, cursor in existing text — toggles the style on the whole entity (all segments).
  • Empty text or new entity — the style is stored on the empty segment and applied to every character you type from that point on.

The button appears highlighted (active) when every character in the current selection — or the character immediately to the left of the cursor — has that style set.

Font

The dropdown groups available typefaces into Default (the built-in sans-serif), User (your own uploaded fonts, if any), Free (a set of bundled Google Fonts), and System (common OS fonts such as Helvetica, Times New Roman, Georgia, Courier New, Verdana, Tahoma, Trebuchet MS, Lucida Console, and Impact).

  • With a selection — overrides the font for selected characters only.
  • No selection — applies the font to the whole entity.

The dropdown reflects the font of the character left of the cursor when there is no selection.

Not limited to the built-in list — click the Font Manager button in the toolbar to upload your own .ttf file and add it to the User group. See Font Manager for details.

Height

The number field sets the cap height (height of a capital letter) in drawing units.

  • With a selection — overrides the height for selected characters, independently of the entity’s base height.
  • No selection — changes the entity’s base height (applies to all characters that do not have an individual height override).

The field reflects the height of the character left of the cursor. Leave it blank to use the entity default.

Cursor and navigation

KeyAction
/ Move caret one character left or right
HomeJump to the start of the current hard line
EndJump to the end of the current hard line
Shift + / Extend or shrink the selection
BackspaceDelete the character to the left (or the selection)
DeleteDelete the character to the right (or the selection)
EnterInsert a line break
EscapeClose the editor

The cursor height automatically matches the cap height of the adjacent character, including the smaller size used for subscript and superscript.

Copy, cut, and paste

KeyAction
Ctrl+C / Cmd+CCopy the selected text
Ctrl+X / Cmd+XCut the selected text
Ctrl+V / Cmd+VPaste at the cursor

Copy and cut require an active text selection. Pasted text is always plain — it takes on the formatting (bold, italic, font, height) already at the cursor rather than carrying over the formatting it had when copied.

In rich mode, line breaks in the pasted text are preserved. In simple mode, line breaks are stripped, since dimension labels are single-line.

Word wrap

When a text entity has a reference width set, long lines are soft-wrapped at word boundaries to fit within that width.

To set or change the reference width while the entity is selected, drag the resize grips — the thin rectangles on the left and right edges of the dashed bounding box. The content reflows in real time as you drag.

Setting the reference width to zero (drag the grips together or delete the value in the properties panel) removes word wrap and lets lines grow freely.

Multi-line text

Press Enter to insert a hard line break. Each hard line is independent — Home and End navigate within the current hard line only.

Hard line breaks and per-character formatting are stored using the MTEXT format and survive a full DXF round-trip.

DXF compatibility

Text entities are stored as MTEXT in DXF files. Bold and italic are encoded as \L, \K, \O, and inline font switches (\f). Per-character height is encoded as \H. All formatting is preserved on export and readable by LibreCAD, FreeCAD, and other DXF-compatible applications.