From 6b96b64d6136ae36c60bc7b0e1efb3306d32df07 Mon Sep 17 00:00:00 2001 From: eidheim Date: Thu, 24 Dec 2015 12:21:00 +0100 Subject: [PATCH] Visual size of tab (\t) set to 4 spaces --- src/source.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/source.cc b/src/source.cc index a9faacf..97413e7 100644 --- a/src/source.cc +++ b/src/source.cc @@ -257,6 +257,7 @@ Source::View::View(const boost::filesystem::path &file_path, const boost::filesy set_tooltip_and_dialog_events(); + set_tab_width(4); //Visual size of a \t hardcoded to be equal to visual size of 4 spaces tab_char=Config::get().source.default_tab_char; tab_size=Config::get().source.default_tab_size; if(Config::get().source.auto_tab_char_and_size) {