Pyqt5 : finding the selection in a qTextEdit
-
wrote on 12 May 2025, 14:22 last edited by
Hi
How can I get the location of a selection in a QTextEdit ?
Thank you for any piece of advice.
Arbiel
-
Hi and welcome to devnet,
Which position do you mean ? In widget coordinates ? The number of chars from the start of the text ?
1/2