From bug-request at octave dot org Tue Apr 4 16:06:20 2006 Subject: lookfor bug From: "John W. Eaton" To: "Keith Goodman" Cc: "octave bug mailing list" Date: Tue, 4 Apr 2006 17:05:45 -0400 On 27-Mar-2006, Keith Goodman wrote: | What is going on here (noindent)? | | >> lookfor sum | WIFCONTINUED Given STATUS from a call to `waitpid', return | true if the child process was resumed by delivery of `SIGCONT'. | builtin:cumsum Cumulative sum of elements along dimension DIM. | builtin:sum Sum of elements along dimension DIM. | builtin:sumsq Sum of squares of elements along dimension DIM. | cumsum at noindent | sum at noindent | sumsq at noindent I did a little investigating and it seems that the code in the function first_help_sentence in help.cc is not handling the help text for overloaded functions correctly. It seems to be mistaking the at noindent Overloaded function: as the beginning of the help text. I'm not sure of the fix as I don't quite follow the intent of all the code in Flookfor and first_help_sentence. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------