Hi,
Before switching to QScintilla, I used QPlainTextEdit and with that I could capture the text that's under the text cursor easily, like this:
```
```
textCursor = self.textCursor()
textCursor.select(QTextCursor.WordUnderCursor)
text = textCursor.selectedText()
textCursor.select(QTextCursor.WordUnderCursor)
text = textCursor.selectedText()
```
But in QsciScintilla there is no such method as self.textCursor() so I'm wondering, how to get the text under text cursor.
Best regards,
Kaneki
Best regards,
Kaneki
_______________________________________________ QScintilla mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/qscintilla
