<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi,</div>

<div>Before switching to QScintilla, I used QPlainTextEdit and with that I could capture the text that's under the text cursor easily, like this:<br/>
```</div>

<div>textCursor = self.textCursor()<br/>
textCursor.select(QTextCursor.WordUnderCursor)<br/>
text = textCursor.selectedText()</div>

<div>```</div>

<div>But in QsciScintilla there is no such method as self.textCursor() so I'm wondering, how to get the text under text cursor.<br/>
Best regards,<br/>
Kaneki</div>
</div></div></body></html>