W
W
w0lkolak2020-09-23 18:16:06
PyQt
w0lkolak, 2020-09-23 18:16:06

How to collapse or block part of text in QPlainTextEdit?

I need to temporarily collapse the text from line n1 to line n2. Collapse it and leave only its outermost lines in an unmodifiable state. Tell me which side to dig, where to read about similar functionality or what tags to google for I found nothing.
A similar question was probably asked on qna three years ago, but the link in the answers no longer works.
I am working in python3.7.

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