Call -performLayout on the ruler in -[BSSourceView setPlainTextStringFromFile:]
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 1 Jan 2022 17:07:22 +0000 (12:07 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 1 Jan 2022 17:07:22 +0000 (12:07 -0500)
CHANGES
Source/BSSourceView.m

diff --git a/CHANGES b/CHANGES
index 8d5432aadae57496369b15c4d2382d90a5d33274..a3f4e481f755c0a8f5b8308b16f21096ace38250 100644 (file)
--- 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.
index 144e6aab39c936594ed72bba636867aaa0c3a5ed..fbd2766001dcc18dd4300a762fab0372d51efdec 100644 (file)
@@ -275,6 +275,7 @@ NSString* ColorHEXStringINIDirective(NSString* directive, NSColor* color) {
     return;
   }
   [_textView setString:contents];
+  [_ruler performLayout];
 }
 
 // Drag Handlers ///////////////////////////////////////////////////////////////