CrossStudio provides editors for the following file types

- Source code (ASCII text) files.
- Binary files.
- Memory Map files.

## Source Code Editing

The Source code editor provides the following functionality:

- insert and overwrite mode.
- cut, copy and paste of text blocks.
- syntax colouring for several programming languages.
- indenting of text.
- commenting of text.
- undo/redo.
- bookmarks.
- regular expression search and replace.
- line numbering.
- bracket matching.
- code template insertion.
- underlining syntax errors.
- breakpoint placement and deletion.

The editor functionality is available through the Edit menu, the Text Edit toolbar and familiar keyboard shortcuts.

The Source code editor can be configured to your personal preferences using the properties window. These preferences will apply to all source files that you work on.

You can edit files by clicking on file nodes in the project explorer, using File | Open... and File | Open With | Text Editor...

You can create new files within a project with File | New File... and files that aren't put into the project using File | New Blank File.

## Binary File Editing

When you open a file if CrossStudio detects non printable characters then it opens it as a binary file. You can also explicitly open a file with the binary editor using File | Open With | Binary Editor...

## Memory Map File Editing

Memory map files are tree structured descriptions of the target memory map. Memory map files are used by the compiler to ensure correct placement of program sections. Memory map files are used by the debugger so that it knows which memory addresses are valid on the target and which program sections to load. You can also use the memory files to direct the debugger to display memory mapped peripherals.

Usually you don't need to modify memory map files - they will be set up for the particular targets that CrossStudio supports but it is useful to view them with the memory map editor.

You can open memory map files using File | Open... and selecting the .xml file that contains the memory map or alternatively using the View Memory Map option on the context menu of the project explorer.