Mercurial > octave
view .editorconfig @ 27914:a044e50c8dcb
Streamline QRegExp instances in libgu.
* file-editor-tab.cc (do_comment_selected_text): Use non-capturing grouping.
* octave-qscintilla.cc (smart_indent): Use non-capturing grouping for ekey,
mkey, case_key, and stand-alone QRegExp.
* octave-qscintilla.cc (smart_indent_line_or_selected_text): Use non-capturing
grouping for end_word_regexp, begin_block_regexp, mid_block_regexp,
end_block_regexp, case_block_regexp.
* qt-interpreter-events.cc (make_filter_list): Use C++ Raw string to
define QRegExp with lots of backslashes.
* variable-editor.cc (variable_editor_stack::levulUp): Rewrite QRegExp
to use character classes to get rid of excessive backslashes.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 06 Jan 2020 10:18:00 -0800 |
parents | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab