Previous Next
Opening and editing a file

After using the Project Editor to open a file in the Source Editor, you will edit the file so as to induce a compilation error.
After attempting to compile, the error will be reported in the Shell tool. From the error message, you can go straight to the point in the source code where the error was found.
In the Project Editor

  1. In the Project Tree, make sure that lib.shared is highlighted.
  2. Right-click anywhere in the Project Tree and choose Context menu > Select From lib.shared Only.
  3. In the File List, double-click on display.c to open the file in the Source Editor.

    Click for full size, then use Back button

    Now, to edit the file so as to induce a compilation error:

  1. In the Source Editor's Symbol List, click on clearcursor (f) .
    The Editor is positioned at the
    clearcursor function.
  2. To comment out the line, choose Edit > Comment.
    Note that you can comment out any number of lines by highlighting them and choosing this menu item.
  3. For the changes to take effect, choose File > Save.