From 2bac08b8093b9bfe8e90065f1e9c33225d50b14c Mon Sep 17 00:00:00 2001 From: Lains Date: Mon, 5 Jun 2017 02:24:33 -0300 Subject: [PATCH] 1.0.8 - final touches --- .editorconfig | 12 ------------ src/Widgets/SourceView.vala | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 779f99a1..00000000 --- a/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -root = true - -[*] -indent_style = space -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/src/Widgets/SourceView.vala b/src/Widgets/SourceView.vala index 7ae4d1ac..8701c57b 100644 --- a/src/Widgets/SourceView.vala +++ b/src/Widgets/SourceView.vala @@ -31,6 +31,7 @@ namespace Notejot.Widgets { is_modified = false; buffer.changed.connect (on_text_modified); + buffer.set_highlight_matching_brackets (false); this.set_wrap_mode (Gtk.WrapMode.WORD_CHAR); this.margin = 1; @@ -38,7 +39,6 @@ namespace Notejot.Widgets { this.top_margin = 12; this.right_margin = 12; this.expand = false; - this.set_highlight_matching_brackets (false); } public void on_text_modified () {