support files over 2 GB
This commit is contained in:
@@ -11,6 +11,7 @@ from PyQt6.QtGui import *
|
||||
from PyQt6.QtGui import QMouseEvent
|
||||
from PyQt6.QtWidgets import *
|
||||
|
||||
from ScaledScrollBar import ScaledScrollBar
|
||||
from highlight import Highlight
|
||||
from highlight_regex import HighlightRegex
|
||||
from highlight_selection import HighlightSelection
|
||||
@@ -80,7 +81,7 @@ class BigText(QWidget):
|
||||
self.h_scroll_bar.setMaximum(1)
|
||||
self.h_scroll_bar.valueChanged.connect(big_text.h_scroll_event)
|
||||
|
||||
self.v_scroll_bar = QScrollBar()
|
||||
self.v_scroll_bar = ScaledScrollBar()
|
||||
self.v_scroll_bar.setPageStep(1)
|
||||
self.v_scroll_bar.valueChanged.connect(big_text.v_scroll_event)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user