Browse Source

Wrap mode for preference option source.wrap_lines is now WRAP_WORD_CHAR instead of WRAP_CHAR

pipelines/235045657
eidheim 6 years ago
parent
commit
1b2e30de36
  1. 2
      src/source.cc

2
src/source.cc

@ -373,7 +373,7 @@ void Source::View::configure() {
set_draw_spaces(parse_show_whitespace_characters(Config::get().source.show_whitespace_characters)); set_draw_spaces(parse_show_whitespace_characters(Config::get().source.show_whitespace_characters));
if(Config::get().source.wrap_lines) if(Config::get().source.wrap_lines)
set_wrap_mode(Gtk::WrapMode::WRAP_CHAR); set_wrap_mode(Gtk::WrapMode::WRAP_WORD_CHAR);
else else
set_wrap_mode(Gtk::WrapMode::WRAP_NONE); set_wrap_mode(Gtk::WrapMode::WRAP_NONE);
property_highlight_current_line() = Config::get().source.highlight_current_line; property_highlight_current_line() = Config::get().source.highlight_current_line;

Loading…
Cancel
Save