From 1b2e30de361414b34b5256fc892f0f41c84795ac Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 11 May 2020 09:31:39 +0200 Subject: [PATCH] Wrap mode for preference option source.wrap_lines is now WRAP_WORD_CHAR instead of WRAP_CHAR --- src/source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source.cc b/src/source.cc index 560f60a..07f03fe 100644 --- a/src/source.cc +++ b/src/source.cc @@ -373,7 +373,7 @@ void Source::View::configure() { set_draw_spaces(parse_show_whitespace_characters(Config::get().source.show_whitespace_characters)); if(Config::get().source.wrap_lines) - set_wrap_mode(Gtk::WrapMode::WRAP_CHAR); + set_wrap_mode(Gtk::WrapMode::WRAP_WORD_CHAR); else set_wrap_mode(Gtk::WrapMode::WRAP_NONE); property_highlight_current_line() = Config::get().source.highlight_current_line;