Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
1.1.1
-
None
-
Ubuntu
Description
result = cursor.movePosition(QTextCursor.PreviousCharacter, mode = QTextCursor.KeepAnchor)
Fails to keep anchor and does not raise "unexpected keyword argument" exception.
Workaround is don't use keyword, just pass 2nd arg positionally.
The current PySide documentation shows the name of the argument as "arg_2", but I mistakenly assumed that the Qt C++ documentation (which shows keyword "mode") was correct for PySide. Not a big deal, I am just documenting it so it might not bite someone else.