Opening a Safe X3 Editor

In this section, you will learn how to open an editor for Safe X3 files. You will also learn about some of the basic Safe X3 Editor features.

  1. Open an existing Safe X3 project if you have not done it yet.
  2. Open the Script explorer view and double click on a Safe X3 file in the tree.
  3. Safe X3 Editor

  4. Note the syntax highlighting. Different kinds of elements in the Safe X3 source are rendered in user defined colors. Examples of Safe X3 source elements that are rendered differently are:

  5. Look at the Outline view. It displays an outline of the Safe X3 file including fields (masks, tables, local), funprogs, subprogs. The Outline view uses specific icons to annotate different Safe X3 elements.

    Safe X3 Editor

  6. Toggle the Hide Variables, Hide procedures, and Hide Structures and Modules buttons in the Outline view toolbar to filter the view's display.
  7. In the Outline view, select different elements and note that they are displayed in a whole file view in the editor. The Outline view selection now contains a range indicator on the vertical ruler on the left border of the Safe X3 Editor that indicates the range of the selected element. As selection in editor part is changed, corresponding element in outline is highlighted.

    Range indicator

Related concepts

Safe X3 views
Safe X3 Editor