AUTOCAPS - Control AutoCaps Mode

Syntax


AUTOCAPS

[ ON | OFF ]


Operands


ON | OFF

The desired AUTOCAPS status


Description


If ON is specified, SPFLite will uppercase all language based keywords as specified by the .AUTO colorization file for this Profile.  This feature is dependent on the .AUTO support, since the .AUTO file contains the definition of the language keywords.   See Auto Capitalization Support  in the Appendix for more details.


If a valid .AUTO file does not exist, or if HILITE AUTO ON is not also set, then setting AUTOCAPS ON will have no effect.


If OFF is specified, then AUTOCAPS processing is not performed.


The value is stored as part of the PROFILE options which are maintained individually by file type.


Processing


When active, AUTOCAPS will cause all identified keywords in the associated .AUTO file to be upper-cased in the file display.  The keywords are also uppercased as typed.  


e.g.  Assume  both FOR and FOREVER are valid keywords in the current .AUTO file.   Then assuming the word 'forever' was typed (in lower-case), it would appear successively as:


f

fo

FOR

fore

forev

foreve

FOREVER


As this shows, the uppercasing is not done by actually changing the text data as keywords are detected, if that were the case the sequence would have  looked like:


f

fo

FOR

FORe

FORev

FOReve

FOREVER


and if you actually wanted to stop with the word 'fore' you would not be too happy to have it as 'FORe' .


So the uppercasing is performed only on what is displayed on the screen.  But fear not, when the file is saved, the uppercasing will be 'finalized' and written to the output file.   So what you see is what you get.



Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source