You are here: More Information > Special Tasks
Special Tasks
Technical Reference
> Comment Finding
File and Parsing Options
Comment Finding
Close
Doc-O-Matic 10
Comment Distance Example

Comments that are automatically associated are positioned next to the symbol declaration or implementation. Several blank lines between comments and symbols usually indicate that the comment is not related to that symbol. 

You can choose the number of blank lines between comments and symbols. If the Comment Distance is exceeded a specific comment is not associated with its symbol. 

Assume the Comment Distance option is set to 3 lines. Doc-O-Matic associates the following comment with the following symbol.

Note: The "." dot indicates one blank line.

// The Sort function sorts the list. . . bool MyList::Sort(int Options)

but this one would not (4 lines distance)

// The Sort function sorts the list. . . . . bool MyList::Sort(int Options)
Copyright © 2000-2020 toolsfactory software inc. All rights reserved.