editor: Right align left editor using scroll limited portal
This commit is contained in:
parent
972e6144fc
commit
c419f69d81
3 changed files with 7 additions and 10 deletions
|
|
@ -128,7 +128,7 @@ def draw_connector(columns, color, left_y, right_y):
|
|||
class DiffEditor:
|
||||
|
||||
def __init__(self, left_path, right_path):
|
||||
self.left_editor = editor.Editor(is_right_aligned=True)
|
||||
self.left_editor = editor.Editor(is_left_aligned=False)
|
||||
self.left_editor.load(left_path)
|
||||
self.left_editor.view_widget.is_left_scrollbar = True
|
||||
self.right_editor = editor.Editor()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue