[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Ind

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly
Date: Fri, 2 Feb 2018 04:11:50 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #14, bug #53006 (project octave):

I think what we want is to have the "doc" function open the documentation
browser, e.g: 
* "doc ('integral')": would open a new tab with the documentation for
integral.m shown at the right node
* "doc ('integrate')": would open a new tab with a list of links to pages
where the word 'integrate' appears

This can't be done with assistant I think. Another reason why we probably want
to have our own QtHelp widgets is that we could select code in the
documentation and run it in terminal (as we are able to do from the editor).

The workflow for responding to "doc (word)" could be : 
call "entry = __qt_get_doc_entry__ (word, qhcfile)"
* if there is a single entry : "__qt_show_doc_entry (word, qhcfile)"
* if no entry "entries = lookfor (word)". 
** if there is a single element in entries "__qt_show_doc_entry (entries(1),
** if there are multiple entries "__qt_show_doc_links (entries, qhcfile)"

Or maybe we can use directly QtHelp search capabilities to replace the
"lookfor" step.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]