File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ def get_buffer_from_content(content: UIControl) -> bool:
187187 return content .buffer .validation_error is not None
188188 else :
189189 return False
190+
190191 # Get all windows for the current layout
191192 windows = get_app ().layout .find_all_windows ()
192193 # Iterate over each window in the layout and return true if any of the buffers have validation errors
Original file line number Diff line number Diff line change @@ -342,7 +342,9 @@ def __pt_container__(self) -> Container:
342342
343343
344344class ValidationToolbar :
345- def __init__ (self , show_position : bool = False , buffer : Buffer | None = None ) -> None :
345+ def __init__ (
346+ self , show_position : bool = False , buffer : Buffer | None = None
347+ ) -> None :
346348 def get_formatted_text () -> StyleAndTextTuples :
347349 # If buffer not specified, use the currently focused buffer
348350 if buffer is None :
You can’t perform that action at this time.
0 commit comments