Ticket #249 (new defect)

Opened 3 years ago

Last modified 2 years ago

Double-clicking on a function name also selects "Source" on the right hand side

Reported by: nh2 Owned by:
Priority: minor Milestone:
Version: 2.11.0 Keywords:
Cc: mail+haddock-trac@…


This is because necessary whitespace is missing in the HTML.

Fix: https://github.com/nh2/haddock/compare/fix-source-selection-accidents


Change History

Changed 3 years ago by nh2

  • cc mail+haddock-trac@… added

Changed 3 years ago by SimonHengel

This has been bugging me forever! I'll add you to https://github.com/sol/haddock. Can you push your fix there? Everything that is on my master will go upstream eventually (we need to run GHC's validate script). So please only push stuff that you are confident about ;).

Changed 2 years ago by Fūzetsu

We added the space (for another reason) but the source issue remains. Apparently we need to move out Source to its own div to stop it from being selected.

Note: See TracTickets for help on using tickets.