mirror-chatterino2/src/widgets/settingspages
Leon Richardt 58d892a8c2 Make Emote Tab Completion Search for Substrings (#1204)
* Make emote tab completion search for substrings

Previously, tab completion only searched for emotes that start
with the current prefix under the cursor. This commit makes tab
completion look for the current prefix as a substring in any position,
not just the start.

Examples:
    * In forsen's channel, tabbing on "pls" will cycle through "DonaldPls", "forsenPls",
    "GachiPls", "nyanPls" and "SourPls".

    * As a forsen subscriber, tabbing on "sen1" will complete to "forsen1".

    * As a pajlada subscriber, tabbing on "shrug" will cycle through
    "pajaShrugL" and "pajaShrugR". (Unless you are in a channel with
    more "shrug" emotes, of course.)

* Add a setting for prefix and substring completion

This commit adds a setting under the "Miscellaneous" section to allow
user to choose whether they want prefix-only or substring emote
completion.

The QCompleter filter mode and `addString` function are now chosen
according to the user's setting.

* Improve description of emote completion setting

Also reintroduce a blank line that went missing.
2019-08-17 17:17:38 +02:00
..
AboutPage.cpp Fix Settings UI inconsistencies (#1202) 2019-08-14 20:03:42 +02:00
AboutPage.hpp changed to 80 max column 2018-08-06 21:17:03 +02:00
AccountsPage.cpp added qt version number to about tab 2018-08-09 06:34:14 +02:00
AccountsPage.hpp Renamed private members 2018-07-06 19:24:35 +02:00
AdvancedPage.cpp Removed unused local vars. Slightly refactored code. 2019-05-10 22:18:05 +02:00
AdvancedPage.hpp Add ability to customize cache folder 2018-08-19 16:26:33 +02:00
BrowserExtensionPage.cpp Added icons for every single settings item! 2018-10-19 15:53:19 -07:00
BrowserExtensionPage.hpp fixed upper/lower case fiesta 2018-06-26 17:42:35 +02:00
CommandPage.cpp Move settings into a separate JSON file. 2018-11-03 13:37:09 +01:00
CommandPage.hpp Renamed private members 2018-07-06 19:24:35 +02:00
EmotesPage.cpp added qt version number to about tab 2018-08-09 06:34:14 +02:00
EmotesPage.hpp removed namespaces 2018-06-26 16:37:59 +02:00
ExternalToolsPage.cpp Removed unused local vars. Slightly refactored code. 2019-05-10 22:18:05 +02:00
ExternalToolsPage.hpp fixed upper/lower case fiesta 2018-06-26 17:42:35 +02:00
FeelPage.cpp new settings page 2018-10-31 19:49:15 +01:00
FeelPage.hpp renamed classes AppearancePage and BahaviourPage 2018-07-03 17:45:31 +02:00
GeneralPage.cpp Make Emote Tab Completion Search for Substrings (#1204) 2019-08-17 17:17:38 +02:00
GeneralPage.hpp Update to latest settings library version 2018-11-03 13:00:07 +01:00
HighlightingPage.cpp Added functionality of making the flash taskbar last until the app is focused again (#767) 2018-10-06 15:51:13 +00:00
HighlightingPage.hpp Renamed private members 2018-07-06 19:24:35 +02:00
IgnoresPage.cpp implement show ignored users setting 2019-04-13 01:12:39 +05:00
IgnoresPage.hpp Renamed private members 2018-07-06 19:24:35 +02:00
KeyboardSettingsPage.cpp do a full reformat according to our current .clang-format 2019-05-10 23:31:10 +02:00
KeyboardSettingsPage.hpp fixed upper/lower case fiesta 2018-06-26 17:42:35 +02:00
LogsPage.cpp remove settings and paths from Application 2018-08-12 12:56:28 +02:00
LogsPage.hpp rename #3 2018-06-26 14:09:39 +02:00
LookPage.cpp Reformat 2019-07-28 13:21:54 +02:00
LookPage.hpp moved more stuff into appbase 2018-11-25 21:14:42 +01:00
ModerationPage.cpp do a full reformat according to our current .clang-format 2019-05-10 23:31:10 +02:00
ModerationPage.hpp Open settings when clicking moderation button and no moderation actions are found 2018-10-21 15:32:28 +02:00
NotificationPage.cpp renamed enum ToastReactions to ToastReaction (singular) 2019-05-02 00:01:18 +02:00
NotificationPage.hpp Implemented requested changes 2019-05-02 00:01:18 +02:00
SettingsPage.cpp added setting for compact emotes Fixed #821 2018-10-29 21:48:15 +01:00
SettingsPage.hpp new settings page 2018-10-31 19:49:15 +01:00
SpecialChannelsPage.cpp remove settings and paths from Application 2018-08-12 12:56:28 +02:00
SpecialChannelsPage.hpp removed namespaces 2018-06-26 16:37:59 +02:00