Hex Editor Neo supports pasting text from Clipboard. This section describes supported formats and usage strategies:

Pasting Raw Text

Any plain text placed into the Clipboard may be pasted into the Hex Editor Neo's document. In order to paste the text, perform the following steps:

  1. Open (or create) the document you want to paste text to.
  2. Navigate to the position where you want to paste text.
  3. Check the Insert Mode switch. Turn it OFF to overwrite existing document's data with Clipboard's data, or ON to make room for Clipboard's data.
  4. Make sure the text pane is visible and active (the cursor image has a frame around it).
  5. Execute the Edit » Paste command.

Depending on the current view type, Clipboard contents will be processed either as encoded text (for Hex Bytes and Decimal Bytes) or UNICODE text (for Hex Words and Decimal Words). For encoded text, current editor window's encoding is used.

Pasting Formatted Numbers

In addition to providing the ability to paste the text "as it is", Hex Editor Neo also supports parsing Clipboard's text in order to extract a sequence of decimal or hexadecimal numbers.

Make sure the code pane is active before pasting data. If the text pane is active, Clipboard contents will be pasted "as is", as described in the previous section. As always, the Insert Mode switch is used to specify whether you want to overwrite or insert data.

The current view type dictates the type of integers parsed from the input text. If current view type is a hexadecimal view type, integers are assumed to be in base 16; otherwise, they are assumed to be in base 10. Use the "0x" prefix to temporary change number's base to 16 (it affects only the number immediately following the prefix).

Numbers must be separated with one or more separators. Hex Editor Neo treats the following characters as separators:

Multiple separators are allowed. Parsing continues either to the end of the input text or to the first invalid character, whichever occurs first.

Pasting Formatted Numbers feature is not supported for Float and Double view types.

Examples

The following text pasted into the editor window, currently in Hex Bytes view type…

1 2 3 4a 0x5
a 7f 12, ff; 12

results in the following sequence (displayed in hex) to be inserted into the document:

01 02 03 4a 05 0a 7f 12 ff 12        

The same text pasted into the Decimal Bytes window results in the following sequence (displayed in decimal):

1 2 3 4        

Parsing stopped at the 'a' character, which is invalid in decimal mode. On the other hand, the following text may be safely inserted into decimal window:

0x34 23 0x5a 0xaa 17

Which results in the following sequence (displayed in decimal):

52 23 90 170 17

The following text can be pasted into the editor window, which is currently in Hex Words mode:

7a20, 5, ffff, AE01;
12c 15 0 0 17FF

See Also