12.12.2012 Views

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

386 Day 10<br />

NOTE<br />

Real programmers use tab stops of either two or three characters. (I use<br />

two-character tabs.)<br />

The Undo limit of 32,767 is probably sufficient for most needs (I hope!), so I doubt you’ll<br />

feel the need to modify that sett<strong>in</strong>g. The Syntax extensions field allows you to select the types<br />

of files for which syntax highlight<strong>in</strong>g will be applied. For example, you probably don’t want<br />

syntax highlight<strong>in</strong>g applied to regular text files (.txt) that you open <strong>in</strong> the Code Editor, so<br />

that file type is not listed by default.<br />

In the middle of the Editor page, you will f<strong>in</strong>d a whole gaggle of editor options from which<br />

to choose. Because there are so many options available, and because it is difficult to determ<strong>in</strong>e<br />

exactly which of the available options are the most important, I’ll refer you to the <strong>C++</strong>Builder<br />

onl<strong>in</strong>e help. Simply press F1 while on this page or click the Help button and you will have<br />

explanations of each of the editor options you see on this page. As with some of the other<br />

options you looked at today, you can probably feel comfortable <strong>in</strong> accept<strong>in</strong>g the <strong>C++</strong>Builder<br />

defaults. (Except for the tab stops and block <strong>in</strong>dent!)<br />

The Display Page<br />

The Display page of the Environment Options dialog box has additional options from which<br />

you can choose. These options perta<strong>in</strong> to the actual display of the text <strong>in</strong> the Code Editor<br />

w<strong>in</strong>dow. (See Figure 10.15.)<br />

Figure 10.15.<br />

The Display page.<br />

In the Display and file options section, you will f<strong>in</strong>d the BRIEF cursor shapes option. Turn<br />

on this option if you want the horizontal cursor <strong>in</strong> the editor w<strong>in</strong>dow rather than the vertical<br />

cursor. Check the Create backup file option if you want <strong>C++</strong>Builder to create a backup file<br />

every time you save your file or your project. Backup file extensions beg<strong>in</strong> with a tilde (~). For<br />

<strong>in</strong>stance, the backup file for a source file called MyApp.cpp would by MyApp.~cp.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!