Fossil SCM

Added info about the side-by-side diff viewer's scrolling to www/javascript.md; it uses JS.

wyoung 2019-12-20 06:22 trunk
Commit 3965fe017181485c1e86c7af6575e83b8891425674dbf6e5949a143b0ef8c9c7
1 file changed +15
--- www/javascript.md
+++ www/javascript.md
@@ -178,10 +178,25 @@
178178
with this parameter included/excluded to implement the toggle via a
179179
server round-trip.
180180
181181
[mainc]: https://fossil-scm.org/fossil/artifact?ln&name=87d67e745
182182
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
+
183198
184199
### <a id="sort"></a>Table Sorting
185200
186201
On pages showing a data table, the column headers may be clickable to do
187202
a client-side sort of the data on that column.
188203
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button