How to program scrollbar to jump to bottom/top in case of change in QPlainTextEdit or QTextEdit area? It looks like it doesn\'t have any controlling function.
I have done in Pyqt.
self.scrollArea.verticalScrollBar().rangeChanged.connect(self.change_scroll)
@pyqtSlot(int, int) def change_scroll(self, min, max): print("cambio", min, max) self.scrollArea.verticalScrollBar().setSliderPosition(max)