@@ -187,11 +187,17 @@ impl View {
189 pub fn gutter_offset(&self, doc: &Document) -> u16 {
189 pub fn gutter_offset(&self, doc: &Document) -> u16 {
190+ let total_width = self
190− self.gutters
191+ .gutters
193 .map(|gutter| gutter.width(self, doc) as u16)
194 .map(|gutter| gutter.width(self, doc) as u16)
196+ if total_width < self.area.width {