@@ -34,6 +34,12 @@ pub struct EditorView {
35const OFFSET: u16 = 7; // 1 diagnostic + 5 linenr + 1 gutter
35const OFFSET: u16 = 7; // 1 diagnostic + 5 linenr + 1 gutter
37+impl Default for EditorView {
38+ fn default() -> Self {
37impl EditorView {
43impl EditorView {
38 pub fn new() -> Self {
44 pub fn new() -> Self {