diff options
-rw-r--r-- | src/declarative/fx/qfxtextinput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxtextinput.cpp b/src/declarative/fx/qfxtextinput.cpp index f491d34..9718321 100644 --- a/src/declarative/fx/qfxtextinput.cpp +++ b/src/declarative/fx/qfxtextinput.cpp @@ -329,10 +329,10 @@ void QFxTextInput::setSelectionEnd(int s) It is equivalent to the following snippet, but is faster and easier to use. - \qmlcode + \qml myTextInput.text.toString().substring(myTextInput.selectionStart, myTextInput.selectionEnd); - \endcode + \endqml */ QString QFxTextInput::selectedText() const { |