Commit 5602103
committed
rustdoc-search: let people easily make text selections
This is a GUI affordance that I basically copied from DuckDuckGo.
You can make text selections starting in the description by dragging
the mouse, even though clicking on the description opens the page.1 parent 4082004 commit 5602103
File tree
2 files changed
+21
-0
lines changed- src/librustdoc/html/static/js
- tests/rustdoc-gui
2 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3194 | 3194 | | |
3195 | 3195 | | |
3196 | 3196 | | |
| 3197 | + | |
| 3198 | + | |
| 3199 | + | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
3197 | 3206 | | |
3198 | 3207 | | |
3199 | 3208 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments