Coding style

- Use latest versions of dependencies.
  - Portal content can be center aligned.
This commit is contained in:
Andrew Hamilton 2022-05-26 14:46:11 +10:00
parent b171f46259
commit 2e96cede00
2 changed files with 4 additions and 4 deletions

View file

@ -443,7 +443,7 @@ class Editor:
self.view_widget = fill3.View.from_widget(self.decor_widget)
self.view_widget.portal.is_scroll_limited = True
if not self.is_left_aligned:
self.view_widget.portal.is_left_aligned = False
self.view_widget.portal.x_alignment = fill3.Alignment.right
self._cursor_x, self._cursor_y = 0, 0
self.original_text = self.text_widget.lines.copy()
self.history = []

View file

@ -18,6 +18,6 @@ setup(name="diff-edit",
entry_points={"console_scripts": ["diff-edit=diff_edit:main"]},
install_requires=[
"pygments==2.10.0", "docopt==0.6.2",
"termstr @ git+https://github.com/ahamilton/eris@v2022.05.11#subdirectory=termstr",
"fill3 @ git+https://github.com/ahamilton/eris@v2022.05.11#subdirectory=fill3",
"lscolors @ git+https://github.com/ahamilton/eris@v2022.05.11#subdirectory=lscolors"])
"termstr @ git+https://github.com/ahamilton/eris@v2022.05.26#subdirectory=termstr",
"fill3 @ git+https://github.com/ahamilton/eris@v2022.05.26#subdirectory=fill3",
"lscolors @ git+https://github.com/ahamilton/eris@v2022.05.26#subdirectory=lscolors"])