Fixes for code block background painting, and add line numbers to Code Editor dialog
All checks were successful
CI / test (push) Successful in 5m31s
Lint / test (push) Successful in 36s
Trivy / test (push) Successful in 24s

This commit is contained in:
Miguel Jacq 2025-11-29 16:03:35 +11:00
parent dc1046632c
commit 9db4cda8cc
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
4 changed files with 192 additions and 26 deletions

View file

@ -70,7 +70,9 @@ def _stub_code_block_editor_dialog(monkeypatch):
from PySide6.QtWidgets import QDialog
class _TestCodeBlockEditorDialog:
def __init__(self, code: str, language: str | None, parent=None):
def __init__(
self, code: str, language: str | None, parent=None, allow_delete=False
):
# Simulate what the real dialog would “start with”
self._code = code
self._language = language