"""Look at the conditional structure around L3757 and L8809.""" from pathlib import Path text = Path("src/gui_2.py").read_text(encoding="utf-8", errors="replace") lines = text.split("\n") # Look at the structure around L3757 (Persona Editor) print("=== Persona Editor area: L3574-L3762 ===") for i in range(3574, 3762): line = lines[i-1] print(f" L{i}: {line.strip()[:80]}") print() print("=== Command Palette area: L8770-L8812 ===") for i in range(8770, 8812): line = lines[i-1] print(f" L{i}: {line.strip()[:80]}")