About the Source Editor

See Also

The Source Editor is a full-featured text editor that is integrated with the GUI Builder, the compiler, the debugger, and other parts of the IDE. You can generally open the Source Editor by double-clicking a node in the Projects window, Files window, or Navigator window. If a file is open in the GUI Builder, you can click the Source button in the editor's toolbar to open the Source Editor.

This topic introduces the following Source Editor features:

Tabs
Toolbar
Left Margin
Error Stripe
Status Line
Syntax Coloring
Code Completion
Pair Completion
Insert Mode and Overwrite Mode

Source Editor Tabs

The top of the Source Editor has a tab for each open document. Each tab shows the name of the document. If the document has been modified and has not been saved, there is an asterisk (*) after its name.

If multiple files are open, you can split the Source Editor view by clicking and dragging the tab. As you drag to different parts of the editing area, you see a red outline that shows you where the new window will open. When one of these boxes appears, you can drop the document and split the pane.

You can right-click a tab to access the following commands: