Self Indexing View - czbar/ChessForge GitHub Wiki
When the Study tree is created, the system automatically self-indexes the existing variations and creates the Variation Index section (green below). By default, a 3-level variation index is created, for example, section A, within which there are subsections A.1 and A.2, followed by sub-subsections A.1.1 and A.1.2 (blue below):
Use arrows to expand the Variation Index to more levels (red above) or collapse it (purple above). You can expand the variation index to a maximum of 7 levels, for example, A.1.2.1.3.1.1 (red below), and collapse it to a minimum of 0 levels (purple below):
When the Variation Index shows 0 levels (purple above), clicking the collapse arrow (green above ) will hide the Variation Index altogether (green below). To show it again, simply click the Chapter Title (red below):
Collapsing/Expanding Indexed Variations
All indexed variations in the Study tree (those that have a specific index assigned, e.g., A.1) can be collapsed or expanded. To collapse a fully shown indexed variation, simply click on an index tag (red below). The system will collapse the variation (green below), displaying its first move and three dots (purple below), suggesting that there is more content or moves within that variation:
To expand a collapsed indexed variation, simply click on an index tag (red below). In our example, the variation B is collapsed, which is indicated by three dots (purple below). The system will expand the variation (green below), displaying all its moves:
You can use the right-click context menu to expand or collapse an indexed variation by hovering over any index number, in our example A2 (red below) and selecting the desired option:
- Collapse - collapses variation A2 only (green above and below):
- Collapse All - collapses all variations (blue above and below):
- Collapse All Else - collapses all variations except A2 (purple above and below):