Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/tools/present: Docs say 'h' key in the browser will toggle extra emphasis of any highlighted lines, seemingly not true. #17375
What version of Go are you using (
I did some code archeology to find out. The earliest commit I found where the 'h' key in browser was mentioned was the very first commit where the present format is added. It was actually in
In that commit, I see no mention of 'h' key anywhere else except that one line of documentation.
Three years later, the 'h' key got mapped to hiding the help dialog in commit golang/tools@753a094.
My best guess is this original feature was documented but never implemented. So removing it from documentation is the most appropriate fix. Will send a CL.