summaryrefslogtreecommitdiff
path: root/test/snapshots/callstack.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 10:48:36 -0300
committerGabriel Schneider <[email protected]>2026-11-05 10:57:08 -0300
commitfc02325789b5a6622f9e577c9a45e65806c516b6 (patch)
tree65fdeed6959aef6afe0db5d18df3649aef0d2a34 /test/snapshots/callstack.snap
parent856bf4a8ed36cc6ec38dc9001f753a8838106da2 (diff)
downloadpardes-fc02325789b5a6622f9e577c9a45e65806c516b6.tar.gz
pardes-fc02325789b5a6622f9e577c9a45e65806c516b6.zip
Callstack a plain tree with a depth: CallstackLayout and CallstackCorners go with the inline layout and the square corners (each snippet below its location, the corners rounded, as both defaulted to), and the 100,000-row paging goes: a tree bigger than one answer holds stops there, its last row saying so as at the memory limit, and Callstack run in +Callstack asks nothing (only a file's pane asks a language server) where it showed the next page (lsp.callstack_more, the core's callstack_more, callstackMore and lspRequestAt, the walk's start and cut paths); CallstackDepth stays, as the reference documents it and the user's init sets it; treePrefix reads only the glyphs the tree draws, and the tests that fed it others take the drawn ones; callstack-inline.snap goes with its layout and callstack.snap snaps its style in its stead (its golden gains that section, the text byte-identical); the reference, the guide, the changelog's entry and both builtins lists say so
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/callstack.snap')
-rw-r--r--test/snapshots/callstack.snap4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/snapshots/callstack.snap b/test/snapshots/callstack.snap
index b32367af..c0adb909 100644
--- a/test/snapshots/callstack.snap
+++ b/test/snapshots/callstack.snap
@@ -1,4 +1,5 @@
-# Static call hierarchy in a dedicated pane; sites and declarations are Look targets.
+# Static call hierarchy in a dedicated pane; sites and declarations are Look
+# targets, the source's colours on them.
file main.rs mod lib;\n\nfn main() {\n let x = add(1, 2);\n let y = add(3, 4);\n let _ = x + y;\n}\n
file lib.rs // mock fixture\npub fn add(a: i32, b: i32) -> i32 {\n a + b\n}\n
start 40 110 main.rs
@@ -11,6 +12,7 @@ wait 10000 Callstack
wait 10000 recursion
stable 700 15000
snap hierarchy
+snapstyle hierarchy
# LookNext selects the caller signature; Enter opens it in the source pane.
key space j n
key enter