RedcrabX – TextBox Guide

RedcrabX – TextBox Guide

Rich-text annotations on the worksheet  |  Version 1.0

Back to Quick Start Guide

Table of Contents


1. Overview

The TextBox is a free-form rich-text annotation that lives on the worksheet canvas next to your math, charts, and images. It is based on a WPF RichTextBox, so each character can have its own font, size, style, and color.

Typical use cases:


2. Inserting and Editing

  1. Click the Text button in the ribbon. A new TextBox appears on the canvas with the placeholder content “Enter text”.
  2. Click into the box to enter edit mode and start typing.
  3. Press Enter to start a new paragraph – the box grows automatically and a vertical scrollbar appears once the content exceeds the box height.
  4. Click outside the box (or press Esc) to leave edit mode.
Note: The TextBox accepts plain typing, line breaks, and standard Windows text-editing shortcuts (Ctrl+A, Ctrl+C, Ctrl+V, Ctrl+X).

3. Formatting Works on the Selection

All formatting commands (font, size, bold, color, alignment, …) apply only to the currently selected text. To change formatting:

  1. Click into the TextBox.
  2. Select the characters or paragraphs you want to format (drag with the mouse, or use Shift+arrow keys).
  3. Click the desired formatting button in the status toolbar at the bottom of the window.
Tip: Use Ctrl+A to select the entire content of the TextBox, then apply formatting to all text at once.

4. Font Family, Size and Style

When a TextBox is selected, the status toolbar shows three combo boxes:

ControlDescription
Font familyLists every system font. Supports type-ahead search – just type the first letters of the font name.
Font sizeEditable combo with presets 8, 9, 10, 11, 12, 14, 16, 18, 20, 24, 28, 32 pt. You can type any number directly.
Font styleChoose Normal, Italic, or Oblique. This sets the default style of the entire TextBox.
Default font: A new TextBox starts with the system default font at 12 pt. Default Paragraph margins are removed so consecutive lines have no extra spacing.

5. Bold, Italic, Underline

Three toggle buttons after the font-style combo box let you apply character formatting:

ButtonEffect
BToggles bold on/off for the selection
IToggles italic on/off for the selection
UToggles underline on/off for the selection

Click a toggle button to apply, click again to remove. The buttons can be combined freely (e.g. bold + italic + underline).


6. Text Alignment

Three alignment buttons control horizontal alignment of the paragraph that contains the cursor or selection:

ButtonAlignment
Left iconLeft-aligned (default)
Center iconCentered
Right iconRight-aligned
Note: Alignment is a paragraph-level property. To align several paragraphs at once, select all of them before clicking the alignment button.

7. Foreground and Background Color

Two color buttons in the status toolbar open the standard Windows color picker:

ButtonDescription
Font colorChanges the text color of the selection. A small swatch on the button shows the currently chosen color.
Background colorChanges the highlight color behind the selected characters (similar to a marker pen).

Pick a custom color, click OK, and the selection is recolored immediately. The swatch on the toolbar button updates to remember your last choice.

Tip: Use a colored background for warnings (yellow) or important results (green). Combine with bold for maximum visibility.

8. Undo and Redo

The status toolbar contains Undo and Redo buttons, which are enabled or disabled depending on the available history of the editor.

ActionShortcut
Undo last editCtrl+Z
Redo last undone editCtrl+Y

The undo stack tracks both text changes and formatting changes (bold, color, alignment, …).


9. Moving and Resizing


10. Saving with the Worksheet

When the worksheet is saved (Ctrl+S), the full rich-text content of every TextBox is written into the worksheet file including all character and paragraph formatting (font, size, weight, style, decorations, colors, and alignment). On reopen, the TextBox is restored exactly as it was.


11. Tips and Best Practices