How can I change the selectable characters of a QTextCursor, like adding a dot? For example entering "MyClass" in a QPlainTextEdit the stanza
tc = self.textCursor()
tc.select(QtGui.QTextCursor.WordUnderCursor)
return tc.selectedText()
will returns "MyClass", but entering "MyClass." will returns an empty Qstring! The problem continues, entering "MyClass.myMeth" will just returns "myMeth", but I need "MyClass.myMeth" :/ Thanks