Expand description
Utilities for applying fixes consistently between CLI and LSP
This module provides shared logic for applying markdown fixes to ensure that both CLI batch fixes and LSP individual fixes produce identical results.
Functionsยง
- apply_
warning_ fixes - Apply a list of warning fixes to content, simulating how the LSP client would apply them This is used for testing consistency between CLI and LSP fix methods
- validate_
fix_ range - Helper function to validate that a fix range makes sense in the context
- warning_
fix_ to_ edit - Convert a single warning fix to a text edit-style representation This helps validate that individual warning fixes are correctly structured