10 Commits

Author SHA1 Message Date
Ian Bassi
a804ee1b0d Main title linking to tab.cpp (#233) 2026-05-04 13:11:42 -03:00
Ian Bassi
22a2dca167 Delete old variables 2026-05-04 11:35:20 -03:00
Ian Bassi
0feb8ac22a rename Option mode 2026-05-04 11:35:20 -03:00
Ian Bassi
d828c252d7 Categorized variables by mode 2026-05-04 11:35:20 -03:00
Ian Bassi
718578b292 Refactor variable/mode metadata insertion
Update sync-tab-options-to-wiki.ps1 to build canonical metadata lines separately for variables and modes and simplify insertion logic. Split the previous combined label into distinct insertVariableLine and insertModeLine (with two-space Markdown line breaks), replace per-variable mode pairs with a distinct modes list and Mode/Modes label, extend the regex to recognize Mode/Modes lines, and implement a stricter canonical-layout check by validating exact metadata lines and positions. The change streamlines generation of metadata lines and fixes incorrect/fragile detection and insertion behavior around headings and blank lines.
2026-05-04 11:35:20 -03:00
Ian Bassi
3baf2ad391 Annotate wiki entries with option modes
Add support for extracting option modes from PrintConfig.cpp and including them when syncing Tab.cpp mappings to Markdown. Introduces a new PrintConfigCppPath parameter and a generalized Get-CppSourceContent helper (replaces Get-TabCppContent) with better error messages. Implements Get-OptionModesByVariable to parse def->mode assignments and Convert-ConfigOptionModeToLabel to map internal mode names to human labels. Loads PrintConfig.cpp (if provided), collects modes per variable, and appends Mode/Modes annotations to the inserted variable lines in the wiki. Also updates progress stage counts/messages, logs a warning when PrintConfig.cpp cannot be loaded, and reports the count of entries with option mode annotations.
2026-05-04 11:35:20 -03:00
Ian Bassi
e30e3e7926 Parse assigned append_line blocks and option indexers (#212) 2026-04-22 14:49:05 -03:00
Ian Bassi
f2ddafe58d Case sensitive validations (#202) 2026-04-08 11:51:47 -03:00
Ian Bassi
0f9c7183e6 Update sync-tab-options-to-wiki.ps1 (#190) 2026-03-25 17:18:10 -03:00
Ian Bassi
f20879f35a Variables at descriptions (#189) 2026-03-25 16:49:56 -03:00