Fossil SCM
Added info about the side-by-side diff viewer's scrolling to www/javascript.md; it uses JS.
Commit
3965fe017181485c1e86c7af6575e83b8891425674dbf6e5949a143b0ef8c9c7
Parent
6b32e213056cea7…
1 file changed
+15
+15
| --- www/javascript.md | ||
| +++ www/javascript.md | ||
| @@ -178,10 +178,25 @@ | ||
| 178 | 178 | with this parameter included/excluded to implement the toggle via a |
| 179 | 179 | server round-trip. |
| 180 | 180 | |
| 181 | 181 | [mainc]: https://fossil-scm.org/fossil/artifact?ln&name=87d67e745 |
| 182 | 182 | |
| 183 | + | |
| 184 | +### <a id="sxsdiff"></a>Side-by-Side Diff Mode | |
| 185 | + | |
| 186 | +The default “diff” view is a side-by-side mode. If either of the boxes | |
| 187 | +of output — the “from” and “to” versions of the repo contents for that | |
| 188 | +check-in — requires a horizontal scroll bar given the box content, font | |
| 189 | +size, browser window width, etc., both boxes will usually end up needing | |
| 190 | +to scroll since they should contain roughly similar content. Fossil | |
| 191 | +therefore scrolls both boxes when you drag the scroll bar on one because | |
| 192 | +if you want to examine part of a line scrolled out of the HTML element | |
| 193 | +in one box, you probably want to examine the same point on that line in | |
| 194 | +the other box. | |
| 195 | + | |
| 196 | +_Graceful Fallback:_ Manually scroll both boxes to sync their views. | |
| 197 | + | |
| 183 | 198 | |
| 184 | 199 | ### <a id="sort"></a>Table Sorting |
| 185 | 200 | |
| 186 | 201 | On pages showing a data table, the column headers may be clickable to do |
| 187 | 202 | a client-side sort of the data on that column. |
| 188 | 203 |
| --- www/javascript.md | |
| +++ www/javascript.md | |
| @@ -178,10 +178,25 @@ | |
| 178 | with this parameter included/excluded to implement the toggle via a |
| 179 | server round-trip. |
| 180 | |
| 181 | [mainc]: https://fossil-scm.org/fossil/artifact?ln&name=87d67e745 |
| 182 | |
| 183 | |
| 184 | ### <a id="sort"></a>Table Sorting |
| 185 | |
| 186 | On pages showing a data table, the column headers may be clickable to do |
| 187 | a client-side sort of the data on that column. |
| 188 |
| --- www/javascript.md | |
| +++ www/javascript.md | |
| @@ -178,10 +178,25 @@ | |
| 178 | with this parameter included/excluded to implement the toggle via a |
| 179 | server round-trip. |
| 180 | |
| 181 | [mainc]: https://fossil-scm.org/fossil/artifact?ln&name=87d67e745 |
| 182 | |
| 183 | |
| 184 | ### <a id="sxsdiff"></a>Side-by-Side Diff Mode |
| 185 | |
| 186 | The default “diff” view is a side-by-side mode. If either of the boxes |
| 187 | of output — the “from” and “to” versions of the repo contents for that |
| 188 | check-in — requires a horizontal scroll bar given the box content, font |
| 189 | size, browser window width, etc., both boxes will usually end up needing |
| 190 | to scroll since they should contain roughly similar content. Fossil |
| 191 | therefore scrolls both boxes when you drag the scroll bar on one because |
| 192 | if you want to examine part of a line scrolled out of the HTML element |
| 193 | in one box, you probably want to examine the same point on that line in |
| 194 | the other box. |
| 195 | |
| 196 | _Graceful Fallback:_ Manually scroll both boxes to sync their views. |
| 197 | |
| 198 | |
| 199 | ### <a id="sort"></a>Table Sorting |
| 200 | |
| 201 | On pages showing a data table, the column headers may be clickable to do |
| 202 | a client-side sort of the data on that column. |
| 203 |