Using the Editor Clipboard Toolbar

The JADE development environment provides an editor clipboard toolbar at the right of the Browser toolbar in the main window, to enhance your use of the internal JADE editor clipboards and the Windows clipboard. (For details about using multiple JADE internal clipboards to copy the same code fragments (snippets) into many different unrelated classes where the code cannot be inherited from a common superclass and you have more than one code fragment, see "Using Multiple Clipboards when Refactoring Code" under "Editor Pane Shortcut Keys", later in this chapter.)

The Editor Clipboard toolbar has 11 buttons labeled C and numbers in the range 1 through 9 followed by zero (0), which represent the Windows clipboard status (the C button) and whether the internal clipboard of that number contains copied text. (The numbered buttons are in the sequence of the numeric keys on a keyboard.) The button of a clipboard that contains no text is disabled and the letter or number is displayed in light gray, as shown in the following image.

If you copy text into a JADE internal clipboard buffer using the Ctrl+Alt+C key combinations, releasing the pressed keys, and then pressing one of the numeric keys that indicates the buffer (that is, 1 through 9, and 0), the button number is shown in blue font and in bold. The C buffer contains any text copied to the Windows clipboard.

To view the clipboard text in bubble help, move the mouse over the clipboard buffer.

Clicking a clipboard buffer button pastes the text into the current editor pane, replacing text that is currently selected (that is, it performs the same action as the Ctrl+Alt+V key combinations, releasing the pressed keys, and then pressing the numeric key that indicates the number of the buffer).

The clipboard buffer buttons are disabled if the current schema is not a user schema (that is, it is the RootSchema) or if the editor pane does not have focus.

When you exit from the JADE development environment, the contents of the internal JADE text editor clipboard buffers and any non‑empty additional text entries defined in a floating toolbar that you have added (the x<n> entries) are saved in your user profile. Text in the Windows clipboard is not saved.

When you next initiate the JADE development environment, the JADE internal clipboard buffers and additional text entries are restored with the saved values.

You can dock the editor clipboard toolbar separately at the left, top, right, or bottom of the JADE development environment background form. For details, see "Floating the Editor Clipboard", in the following subsection.

For details about toggling the display of the editor clipboard toolbar or the floated Jade Clipboard Text Contents form, see "Toggling the Display of the Editor Clipboard", later in this chapter.

2016.0.01 and higher