diff options
author | David Schulz <david.schulz@qt.io> | 2021-05-21 13:17:14 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2021-05-28 10:39:35 +0000 |
commit | fcd93256c0696c7d58308d3306784bca1394c73e (patch) | |
tree | b8050796d9ee75c564d54c1a8360224151805f1b /src/plugins/texteditor/snippets/snippetparser.h | |
parent | 2ccf5e2795df1b10a958c5413b82140568da67fb (diff) | |
download | qt-creator-fcd93256c0696c7d58308d3306784bca1394c73e.tar.gz |
Snippets: Allow defining a final snippet tabstop
Change-Id: I8b9704f66c9f0ac33dfb9d8f5e970a85bbcf143e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/texteditor/snippets/snippetparser.h')
-rw-r--r-- | src/plugins/texteditor/snippets/snippetparser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/snippets/snippetparser.h b/src/plugins/texteditor/snippets/snippetparser.h index b5afac29ee..67d0560d02 100644 --- a/src/plugins/texteditor/snippets/snippetparser.h +++ b/src/plugins/texteditor/snippets/snippetparser.h @@ -51,6 +51,7 @@ public: QString text; int variableIndex = -1; // if variable index is >= 0 the text is interpreted as a variable NameMangler *mangler = nullptr; + bool finalPart = false; }; QList<Part> parts; QList<QList<int>> variables; |