Skip to content

Commit

Permalink
fix: reserved extensions now render tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
jean0t committed Jan 30, 2025
1 parent 2e28266 commit c4cfcbc
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
Binary file removed dist/texed-2.3.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added dist/texed-2.4.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "texed"
version = "2.3"
version = "2.4"
description = "A simple and fast text editor made in python"
authors = ["jean0t <[email protected]>"]
license = "GPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def set_path(self, path):
def configure(self):
#take care of the highlight
if self.highlight.get(self.file_suffix, False):
self.window = Window(content=BufferControl(buffer=self.buffer, lexer=self.highlight.get(self.file_suffix)), wrap_lines=True)
self.window = Window(content=BufferControl(buffer=self.buffer, lexer=self.highlight.get(self.file_suffix), input_processors=[DisplayTabs()]), wrap_lines=True)

else:
self.window = Window(content=BufferControl(buffer=self.buffer, input_processors=[DisplayTabs()]), wrap_lines=True)
Expand Down

0 comments on commit c4cfcbc

Please sign in to comment.