-
"Function: This Function" has to be all on one line. The other lines are correct.
2009-11-11 15:18:12 UTC by gregvalure
-
NaturalDocs -i D:\TestCompleteScripts -o FramedHTML D:\NDDocs -p D:\NDProject -s default MARVINtest -r -ro
Pause
The documentation seems hardly generated...
Looking for your help.
2009-11-11 14:34:16 UTC by ttsenthil
-
Hi, I want to generate headers for the svb file (Vb script).The headers look like the one below
'-------------------------------------------------------------------------------
' Function:
' This Function
'
' Parameters:
' None
'
' Returns:
' RtnValue - TC_PASS/TC_FAIL
'
' Notes:
' None
'
' History:
' - Date Created by Sendhilraj T
'
' See Also:
' None...
2009-11-11 14:33:02 UTC by ttsenthil
-
In Tcl code that uses the Snit object framework, and (in the near future) in Tcl code that uses the new built-in Tcl OO framework, it is common for method names to be multiple tokens, e.g.,
method {tag add} {name args} { ... }
method {tag delete} {name} {...}
The prototype detection code in Tcl.pm gets confused, and assumes that {tag add} and {tag delete} are the parameters...
2009-11-09 21:15:35 UTC by duquette
-
Thanks, Greg, that did the trick.
2009-11-09 17:56:49 UTC by duquette
-
Edit [ND Dir]\Modules\NaturalDocs\Languages\Tcl.pm. Find "sub ParsePrototype" and then this line:
if ($type ne ::TOPIC_FUNCTION())
Remove the if statement so the code in it always runs. Run Natural Docs with -r once to apply the changes everywhere.
2009-11-09 17:47:41 UTC by gregvalure
-
NaturalDocs formats function prototypes with each argument on a line by itself. For Tcl code it is usual to list all of the arguments on one line, since there's no type information associated with them, and having them stacked up on separate lines looks funny.
Is there a way to change the output, so that ND doesn't insert line breaks?.
2009-11-09 17:28:06 UTC by duquette
-
Thanks very much, Greg.
2009-11-07 05:44:32 UTC by duquette
-
I'm leaving this bug open in case I want to incorporate the change into the project. I have to think about it more.
2009-11-07 04:58:34 UTC by gregvalure
-
You're triggering the filtering that prevents left arrows ([$index] ne '
2009-11-07 04:56:40 UTC by gregvalure