I
I
Ivan Noname2018-04-18 05:19:05
Python
Ivan Noname, 2018-04-18 05:19:05

How to get current line in PyQT5 textedit?

There is a form on PyQT on which there is TextEdit.
It is necessary to get the current line of the TextEdit on which the cursor is currently located.
Considering that there are empty lines due to double transfer. If the cursor is on an empty line it should get ''

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question