13.2.2. Working with multiple files

You can load source files into the File Editor using the menu option File → Open.... Multiple filenames can be highlighted in the File Chooser dialog and each file is loaded into its own tab.

You can move files between File Editor panes using drag-and-drop. If there is only a single file in the source window, performing the drag closes this window automatically.

Similarly, you can move files between Code windows using drag-and-drop. If there is only a single file in the source window, performing the drag closes this window automatically. This does not apply if the source window is the default Code window, as closing this window ends your debugging session.

With files loaded into the File Editor, you can create an empty tab. To do this, select File → New  → Text File from the Code window main menu. This creates an empty tab, named <None>, ready to enter text from the keyboard or to paste text from another file.

Using standalone File Editor windows

You can set up multiple File Editor windows outside the current Code window to give you access to all the built-in editing features. With at least one file loaded into the File Editor, click on the file tab for the required file and select either:

  • View → Editor Window

  • Tools → New Editor → New Editor Copy.

This displays a standalone editor window and automatically loads the selected file into it. This is useful for looking at different parts of the same file simultaneously.

In the same way, select Tools → New Editor → New Editor Empty to display an empty File Editor window and the File Chooser dialog from where new files can be selected and loaded.

Using the Editor Buffer List

You can use the Editor Buffer List to start a second instance of the File Editor:

  1. Select Tools → New Editor → Editor Buffer List... to see a list of active files.

  2. Select a file from the list of previously used files.

  3. Click Edit to display a new File Editor pane containing the chosen file.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential