scztt / vscode-supercollider

MIT License
56 stars 6 forks source link

Navigating Help Document #22

Open prko opened 1 year ago

prko commented 1 year ago

Hello!

At the moment it is not always possible to navigate in the help document when opening a help document by "SuperCollider: Search Help". When clicking on a hyperlink, a blank window appears frequently. One cannot go to the previous page. Could this be implemented as a SC-IDE help browser?

Screenshot 2023-11-01 at 16 07 00
prko commented 1 year ago

In the help browser windows invoked by the following codes, hyperlinks seem to work just like in the SuperCollider help document browser:

HelpBrowser()
"Buffer".help
Screenshot 2023-11-01 at 16 08 43
prko commented 1 year ago

If vscode provides a graphics engine like Qt, could it be used with sclang? Then the HelpBrowser could be used inside vscode.... If this makes no sense, then sorry.

tremblap commented 11 months ago

I too notices that often clicking in help files to navigate yield a white page. there are never any problem going from the code to the ref via cmd-shift-d but if we try to navigate it works at time, but often not...

tremblap commented 11 months ago

a bit more details - it seems to be linked to the background colour. For instance, opening the ref of Synth opens a white background browser. Opening the ref on Out will bring a dark grey background one.

When the background is dark grey, the next clicked link will be a white background.

Clicking on a link in a white background ref almost always yield a blank page.

I hope this helps narrowing down the problem?