From 6eb345754cd9fc696fc1dd35bf98671bbaf47368 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 1 Jan 2022 12:07:22 -0500 Subject: [PATCH] Call -performLayout on the ruler in -[BSSourceView setPlainTextStringFromFile:] --- CHANGES | 5 +++++ Source/BSSourceView.m | 1 + 2 files changed, 6 insertions(+) diff --git a/CHANGES b/CHANGES index 8d5432a..a3f4e48 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,11 @@ MacGDBp CHANGE LOG ================================================================================ +2.0.4 +##################### +- Fix: #266 Plain text fallback source display does not paint the ruler. + + 2.0.3 ##################### - Fix: #265 Variables holding scalars would not display a value. diff --git a/Source/BSSourceView.m b/Source/BSSourceView.m index 144e6aa..fbd2766 100644 --- a/Source/BSSourceView.m +++ b/Source/BSSourceView.m @@ -275,6 +275,7 @@ NSString* ColorHEXStringINIDirective(NSString* directive, NSColor* color) { return; } [_textView setString:contents]; + [_ruler performLayout]; } // Drag Handlers /////////////////////////////////////////////////////////////// -- 2.43.5