Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
97c244a
Reimplement everything based on Python 3.10+ exception handling. Adds…
Tronic Jun 26, 2025
5c8ac37
Refactor html output to include the whole error line in a span, but o…
Tronic Jun 26, 2025
14da0b7
Trailing (newline) needs to be outside of the span for correct icon p…
Tronic Jun 26, 2025
b2ac208
WIP improving caret marking
Tronic Jun 26, 2025
a201567
Modernize project toolchain, pyproject/uv/ruff etc. Add some tests an…
Tronic Jun 26, 2025
f513297
AI-generated tests and minor changes (not reviewed by me).
Tronic Jun 27, 2025
81b8513
Make mypy and ruff happy.
Tronic Jun 27, 2025
3d8d1f6
Sketching multi-line marking (WIP).
Tronic Jun 27, 2025
bf2894f
Use just for scripts.
Tronic Jun 27, 2025
1c56057
New traceback data structure to support multi-line errors and multipl…
Tronic Jun 30, 2025
64a2a09
Cleanup, using CPython code.
Tronic Jun 30, 2025
e6274c7
Backported to Python 3.8 by removing match-case.
Tronic Jun 30, 2025
912f456
Major refactoring, new tests, improved exception chain handling.
Tronic Jul 1, 2025
a09f3f1
Fix multiline operator emphasis highlighting with fallback detection
Tronic Jul 1, 2025
0fd5724
Updated README
Tronic Jul 1, 2025
53cf272
Refactor trace.py: extract helper functions and consolidate highlight…
Tronic Jul 1, 2025
97a7f1a
Refactor line parsing logic for better maintainability
Tronic Jul 1, 2025
02de717
Extract mark range calculation and common indent logic
Tronic Jul 1, 2025
c0050b1
Final optimizations: extract regex constant and summary creation
Tronic Jul 1, 2025
8e1787c
Refactor em_columns to use 4-tuple format and unify mark/em highlighting
Tronic Jul 1, 2025
873d01d
Refactor to unified Range namedtuple system
Tronic Jul 1, 2025
16be1a7
Delete extra debug file
Tronic Jul 1, 2025
58234cb
Fix mark positioning when source code was dedented. Add tests to conf…
Tronic Jul 2, 2025
8f7f4c9
Move tooltips to a separate span, fixing emoji symbol positioning.
Tronic Jul 2, 2025
e7d595c
style: Remove code element default background (that vscode was adding).
Tronic Jul 2, 2025
b46fa84
style: Tooltips are no longer popups but always shown.
Tronic Jul 2, 2025
3bc9d10
Fix line indexing issue that was preventing some tooltip symbols bein…
Tronic Jul 2, 2025
37d7af0
style: a lot more style, Monaspace fonts
Tronic Jul 2, 2025
34a51e0
Updated demo with current outputs.
Tronic Jul 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/workflows/python-publish.yml

This file was deleted.

26 changes: 23 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
__pycache__
# Ignore all dotfiles and hidden directories
.*

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
build/
develop-eggs/
dist/
downloads/
eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
*.egg
*.eggs/
MANIFEST

# Unit test / coverage reports
htmlcov/
coverage.xml
*.cover
*.py,cover
cover/

# Package managers
*.lock
__pypackages__/
Loading