Step 81: code folding

This commit is contained in:
Bill
2026-02-09 09:12:34 -07:00
parent 225e0f50a0
commit 8bad31e94c
5 changed files with 267 additions and 0 deletions

View File

@@ -666,6 +666,7 @@ int main(int, char**) {
CodeEditorOptions opts;
opts.showWhitespace = state.showWhitespace;
opts.mode = &state.mode;
opts.enableFolding = true;
CodeEditorResult res = state.codeWidget.render("##editor",
state.editBuf, state.highlights, opts, avail, monoFont);