The function widget allows displaying the corresponding documentation article. However, this is currently realized by a hidden call to help COMMAND. A new interface for this call is needed to avoid the interaction with the console (should not be too difficult).
Analysis:
This needs an interface function taking the desired command name and a new Settings object containing the information that the output in an external viewer is desired. The kernel interface function NumeReKernel::setDocumentation() also needs to be intercepted, as it probably will redirect the generated article to the default output.
Implementation:
The change was implemented by separating the HTML part from the original documentation function so that it can be called separately. By adding a thread-safe interface it's now possible to call documentation articles from the top window.
Documentation:
Not needed. Internal interface.
Tests:
Durability tests were passed without any deviation. Change was implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Diff: