Inherits:
::tycho::EditC
-
Source File -
Contents:
public methods
This class defines a text widget with an emacs-like editor with some
context-specific features for editing C++ files. This
editor automatically indents a line in response to a Tab character,
and provides a command for indenting a region (the selection). To
enter a literal Tab, enter the sequence . This editor
also colors comments, procedure names, and the strings "FIXME" and
"NOTE", and provides a method for commenting out a region.
Public constructs
-
commentSelection
- Use the commentSelection method in EditProgram rather than
the one in EditC.
-
help
- Open a window with help on the current widget.
-
parseNow
start stop
- Tag and color the region of text, indentifying both C and C++ features.
-
spellCheckTags
- Return a list of tags to use when checking the spelling.
-
uncommentSelection
- Use the uncommentSelection method in EditProgram rather than
the one in EditC.
Index of classes
Author: Edward A. Lee
Version: @(#)EditCpp.itcl 1.10 10/27/96
Copyright: (c) 1995-1996 The Regents of the University of California.