Line commenting EGL source code

To comment one line of code, do as follows:

  1. Click on the line, then right-click. A context menu is displayed.

  2. Select Comment. Comment indicators (//) are placed at the beginning of the line.

To comment multiple consecutive lines of code, do as follows:

  1. Click on the starting line. Holding down the left mouse button, drag the cursor to the ending line. Release the mouse button, and the range of lines is highlighted.

  2. Right-click, then select Comment from the context menu. Comment indicators (//) are placed at the beginning of each of the lines in the selected range.

Use the same procedures to uncomment lines, but select Uncomment from the context menu.

Related tasks
Creating an EGL source file
Opening a part in an .egl file

Related reference
EGL editor