feat: spellcheck input (#6446)

Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
Reviewed-by: fourtf <tf.four@gmail.com>
This commit is contained in:
Nerixyz
2026-01-02 15:56:29 +01:00
committed by GitHub
parent f4212028d6
commit 95bc67fea0
33 changed files with 854 additions and 14 deletions
+10
View File
@@ -292,6 +292,9 @@ set(SOURCE_FILES
controllers/sound/NullBackend.cpp
controllers/sound/NullBackend.hpp
controllers/spellcheck/SpellChecker.cpp
controllers/spellcheck/SpellChecker.hpp
controllers/twitch/LiveController.cpp
controllers/twitch/LiveController.hpp
@@ -825,6 +828,8 @@ set(SOURCE_FILES
widgets/splits/InputCompletionItem.hpp
widgets/splits/InputCompletionPopup.cpp
widgets/splits/InputCompletionPopup.hpp
widgets/splits/InputHighlighter.cpp
widgets/splits/InputHighlighter.hpp
widgets/splits/Split.cpp
widgets/splits/Split.hpp
widgets/splits/SplitCommon.hpp
@@ -931,6 +936,11 @@ if (CHATTERINO_PLUGINS)
target_link_libraries(${LIBRARY_PROJECT} PUBLIC lua sol2::sol2)
endif()
if (CHATTERINO_SPELLCHECK)
target_compile_definitions(${LIBRARY_PROJECT} PUBLIC CHATTERINO_WITH_SPELLCHECK)
target_link_libraries(${LIBRARY_PROJECT} PRIVATE hunspell::hunspell)
endif()
if (CHATTERINO_ALLOW_PRIVATE_QT_API)
target_link_libraries(${LIBRARY_PROJECT} PUBLIC Qt${MAJOR_QT_VERSION}::GuiPrivate)
target_compile_definitions(${LIBRARY_PROJECT} PUBLIC