File tree 2 files changed +4
-1
lines changed
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:
187
187
return content .buffer .validation_error is not None
188
188
else :
189
189
return False
190
+
190
191
# Get all windows for the current layout
191
192
windows = get_app ().layout .find_all_windows ()
192
193
# 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:
342
342
343
343
344
344
class 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 :
346
348
def get_formatted_text () -> StyleAndTextTuples :
347
349
# If buffer not specified, use the currently focused buffer
348
350
if buffer is None :
You can’t perform that action at this time.
0 commit comments