Text Formatting
Historical reference: text Formatting.
A reference from an earlier chapter
This material preserves the original Textual documentation and may describe older versions, former services, or superseded policies. It is not a statement of current availability or new Blendbyte commitments.
For current guidance: Formatting messages.
On this page
Keyboard Shortcuts
Text selected inside the main input text field can be formatted using the following keyboard shortcuts:
| Action | Shortcut |
|---|---|
| Bold | Command B (⌘B) |
| Italics | Control Shift I (⌃⇧I) |
| Underline | Control Shift U (⌃⇧U) |
| Foreground Color | Control Shift C (⌃⇧C) |
| Background Color | Control Shift H (⌃⇧H) |
These controls can also be accessed by control clicking (right clicking) the main input text field.
Technical Details for Script Authors
The following is the list of the control characters used for formatting.
Bold, Italics, Underline
-
Bold: U+0002 ("0x02") — Example:
^Bold Text^whereas ^ represents the control character. -
Italics: U+001D ("0x1D") — Example:
^Italicized Text^ -
Underline: U+001F ("0x1F") — Example:
^Underlined Text^
Foreground Color and Background Color
Foreground color and background color are grouped together using the control character U+0003 ("0x03")
There are fifteen (15) colors which can be picked from for foreground color and background color.
The colors are:
-
White
-
Black
-
Blue (Navy)
-
Green
-
Red
-
Brown (Maroon)
-
Purple
-
Orange
-
Yellow
-
Light Green (Lime)
-
Teal (Green/Blue Cyan)
-
Light Cyan (Cyan) (Aqua)
-
Light Blue (Royal)
-
Pink (Light Purple) (Fuchsia)
-
Grey
-
Light Grey (Silver)
Foreground color and background color are defined using the following format: ^<00-15>[,00-15]Colored Text^
The first number is the foreground color. Foreground color is required. The second number is the background color. Background color is optional.
If the number for either color is below or equal to nine (9), then the number must be padded by a leading zero (0).
Color Formatting Examples
^14Colored Text^ — Grey colored text.
^14,13Colored Text^ — Grey colored text with a pink background.
^00,01Colored Text^ — White colored text with a black background.
Terminating Formatting
Normally, a block of formatted text should be terminated with the control characters that were used to open it. However, if you did not create a block of text, then which control characters are present is not easily known. If that's the case, then you can insert the control character U+000F ("0x0F") to terminate all formatting at a specific location.
Keep reading
Source material
Original Codeux material preserved from the knowledgebase snapshot of 9 September 2026. Formatting and internal links have been adapted for this site.
Need a hand? Contact us about this guide.