Skip to content

Text Block

Zplutor edited this page Oct 7, 2023 · 3 revisions

Overview

Text block is a container that contains arbitrary text. There can be characters which are not allowed in command line, such as spaces, line breaks, etc, in text block. The text will be passed to commands as a single argument without modification.

A text block appears as a square in RunAnywhere. Double clicking on the rectangle can open a window to edit its content.

How to Insert Text Block

There are two ways to insert a text block into RunAnywhere.

  • When pasting text into RunAnywhere, if the text is longer than 30 characters or contains line breaks, a text block will be inserted by default. If you want to insert plain text rather than text block anyway, use CTRL+SHIFT+V to paste.
  • Use ALT+T shortcut to insert a text block.

Line Break Styles

After opening the editing window of a text block, you can change line break style which the text block uses by clicking the buttons on the top of the window. Supported line break styles are:

  • \r\n
  • \n
  • \r

The default line break style is \r\n . If the text in text block contains more than single line break styles, they will remain untouched until you modify the text in editing window. All line breaks will be replaced to the same style as the first one after modification.

Compatibility with Commands

Note that not all commands are fully compatible with text block. User defined commands don’t support multi-line arguments, thus only the first line in text block is reserved when passing it to user defined commands.

Clone this wiki locally