Browse Source

Minor addition to Source::View::on_key_press_event_smart_inserts

merge-requests/389/head
eidheim 7 years ago
parent
commit
0e70045d88
  1. 2
      src/source.cc

2
src/source.cc

@ -2533,7 +2533,7 @@ bool Source::View::on_key_press_event_smart_inserts(GdkEventKey *key) {
auto allow_insertion = [](const Gtk::TextIter &iter) {
if(iter.ends_line() || *iter == ' ' || *iter == '\t' || *iter == ';' || *iter == ',' ||
*iter == ')' || *iter == '[' || *iter == ']' || *iter == '{' || *iter == '}' || *iter == '<' || *iter == '>')
*iter == ')' || *iter == '[' || *iter == ']' || *iter == '{' || *iter == '}' || *iter == '<' || *iter == '>' || *iter == '/')
return true;
return false;
};

Loading…
Cancel
Save