Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

[android] Add a note about debugging text input

Carsten Hartenfelsec63553229c5
diff --git a/plugins/tools/svgtexttool/SvgTextCursor.h b/plugins/tools/svgtexttool/SvgTextCursor.h
index eb8d38f06b..b31f5ff5bd 100644
--- a/plugins/tools/svgtexttool/SvgTextCursor.h
+++ b/plugins/tools/svgtexttool/SvgTextCursor.h
@@ -38,6 +38,11 @@ class QAction;
*
* It is also a shape listener to allow the textcursor to update itself
* whenever the corresponding text shape changes.
+ *
+ * Note for Android: to get a debug view of where the text input is at the
+ * operating system level, you can set an environment variable:
+ *
+ * qputenv("KRITA_ANDROID_EDIT_TEXT_DEBUG_DRAW", "1")
*/
class KRITATOOLSVGTEXT_EXPORT SvgTextCursor : public KoToolSelection, public KoSvgTextShape::TextCursorChangeListener