Unit Tab Context Menu

From RAD Studio

Go Up to Code Editor


Right-click the Unit tab to display and select from the following context menu of commands:

Item Description

Close Page

Closes the current source file. If there is only one source file currently open, the Code Editor window is closed as well, but the project remains open.

Close

Displays the following options:

  • All to the Left: Closes all the tabs on the left of the active tab.
  • All to the Right: Closes all the tabs on the right of the active tab.
  • All Other Pages: Closes all the tabs except for the active tab.

Split

Displays the following options:

  • Top: Splits the editor view horizontally and displays the new view above the current one.
  • Bottom: Splits the editor view horizontally and displays the new view below the current one.
  • Left: Splits the editor view vertically and displays the new view to the left of the current one.
  • Right: Splits the editor view vertically and displays the new view to the right of the current one.

Move

Displays the following options:

  • Top: Moves the current editor view above the existing view.
  • Bottom: Moves the current editor view below the existing view.
  • Left: Moves the current editor view to the left of the existing view.
  • Right: Moves the current editor view to the right of the existing view.

Pages

Allows selecting a module among the opened ones.

Copy File Path

Displays the following options:

  • Full Path: Copies the full path to the clipboard.
  • File Name Only: Copies only the file name to the clipboard.
  • Folder Only: Copies only the folder to the clipboard.
Note:
None of the options include the quotation marks.

Focus Mode

Opens the Focus Mode.

New Edit Window

Opens a copy of the current file in a floating code editor window.

UnDock Edit Window

Undocks the current editor window.

Read Only

Activates read-only mode in the Code Editor, preventing changes to the current file.

Tab Options

Opens the Tabs options page.

View Messages

Opens the Messages View, which displays messages such as compiler errors and warnings.

Show in Explorer

Opens the current file in Windows Explorer.

Reload Open Modules

Reloads all open modules from disk.

Bookmarks

Displays the following options:

  • Add Bookmark: Adds a bookmark at the current cursor position.
  • Clear Bookmarks: Removes all bookmarks from the current file.

View as Text

Opens the current designer file as text in the Code Editor. Alt+F12 performs the same task.

Select Left File for Compare

Selects the current file as the left file for file comparison.


See Also