summaryrefslogtreecommitdiffstats
path: root/src/querycompleter.h
AgeCommit message (Collapse)AuthorFilesLines
12 hoursfeat(completion): add the prefix, date and mimetype vocabulariesDanilo M.1-0/+15
Keywords are syntax and stay untranslated; the descriptions beside them are prose and go through tr(). The tables are free functions with no QObject to inherit tr() from, so the file declares a VocabularyStrings context with Q_DECLARE_TR_FUNCTIONS rather than borrowing QObject::tr, which would file every string under the QObject context.
12 hoursfeat(completion): complete both bounds of a date rangeDanilo M.1-0/+7
Each side of '..' is an independent value against the same model. Entries that are themselves ranges are withheld once a range exists, since date:1week....today is malformed. The token is read to its full extent rather than truncated at the caret: the separator deciding which bound is being edited can sit to the right of the caret. Stems stay caret-bounded so matching never uses untyped text.
12 hoursfeat(completion): add the query cursor-context tokenizerDanilo M.1-0/+52
Prefix completion only so far: the token under the cursor, bounded by whitespace or an opening parenthesis rather than by the start of the line.