Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CodeVision AVR 1.25.7, user manual.pdf
Скачиваний:
236
Добавлен:
12.08.2013
Размер:
1.22 Mб
Скачать

CodeVisionAVR

2.1.7 Printing a File

You can print the current file using the File|Print menu command or by pressing the Print button on the toolbar.

The contents of the file will be printed to the Windows default printer.

The paper margins used when printing can be set using the File|Page Setup menu command, which opens the Page Setup dialog window.

The units used when setting the paper margins are specified using the Units list box. The printer can be configured by pressing the Printer button in this dialog window.

Changes can be saved, respectively canceled, using the OK, respectively Cancel buttons.

© 1998-2007 HP InfoTech S.R.L.

Page 13

CodeVisionAVR

2.1.8 Closing a File

You can quit editing the current file by using the File|Close menu command.

If the file was modified, and wasn’t saved yet, you will be prompted if you want to do that.

Pressing Yes will save changes and close the file.

Pressing No will close the file without saving the changes.

Pressing Cancel will disable the file closing process.

All currently opened files can be closed using the File|Close All menu command.

© 1998-2007 HP InfoTech S.R.L.

Page 14

CodeVisionAVR

2.1.9 Using the Navigator

The Navigator window allows easy displaying or opening of source files.

By clicking on the file name the appropriate file is maximized or opened.

After a Compile or Make process there is also displayed a list of #include –ed files, global variables and functions declared in each compiled C source file.

By clicking on the variable’s, respective function’s, name the variable, respective function, declaration is highlighted in the appropriate C source file.

If during compilation there are errors or warnings, these are also displayed in the Navigator window. By clicking on the error or warning, the corresponding source line is highlighted in the appropriate file.

The Navigator tree branches can be expanded, respectively collapsed, by clicking on the +, respectively -, buttons.

By right clicking in the Navigator window you can open a pop-up menu with the following choices:

Open a file

Save the currently edited file

Save All opened files

Close Current File

Close Project

Close All opened files

Toggle on or off expanding the file branches

Toggle on or off expanding the Errors and Warnings branches for the file whose Editor window has focus.

© 1998-2007 HP InfoTech S.R.L.

Page 15

CodeVisionAVR

2.1.10 Using Code Templates

The Code Templates window allows easy adding most often used code sequences to the currently edited file.

This is achieved by clicking on the desired code sequence in the Code Templates window and then dragging and dropping it to the appropriate position in the Editor window.

New code templates can be added to the list by dragging and dropping a text selection from the Editor window to the Code Templates window.

By right clicking in the Code Templates window you can open a pop-up menu with the following choices:

Copy to the Edit Window the currently selected code template

Paste a text fragment from the clipboard to the Code Templates window

Move Up in the list the currently selected code template

Move Down in the list the currently selected code template

Delete the currently selected code template from the list.

© 1998-2007 HP InfoTech S.R.L.

Page 16