Getting the text under cursor with QScintilla
Solved
General and Desktop
-
With QPlainTextEdit, I could get the text under cursor easily, like this:
textCursor = self.textCursor() textCursor.select(QTextCursor.WordUnderCursor) text = textCursor.selectedText()
But QScintilla doesn't have a self.textCursor() method so what is the solution?
I looked through the docs but nothing catched my eye -
Hi,
That's question better asked on the Riverbank dedicated mailing list as it's their product.