Skip to content

Commit 644aa46

Browse files
committed
Set Tab Stop Distance default like pycharm
Set Tab Stop Distance default like pycharm
1 parent c98251b commit 644aa46

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

exe/a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
print("你好")
1+
print("你好")

je_editor/pyside_ui/code/plaintext_code_edit/code_edit_plaintext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(self, main_window: Union[EditorWidget, FullEditorWidget]):
5959
self.update_line_number_area_width(0)
6060
self.textChanged.connect(self.highlight_current_line)
6161
self.setTabStopDistance(
62-
QtGui.QFontMetricsF(self.font()).horizontalAdvance(' ') * 4
62+
QtGui.QFontMetricsF(self.font()).horizontalAdvance(" ")
6363
)
6464
self.highlighter = PythonHighlighter(self.document())
6565
self.highlight_current_line()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "je_editor_dev"
9-
version = "0.0.191"
9+
version = "0.0.192"
1010
authors = [
1111
{ name = "JE-Chen", email = "[email protected]" },
1212
]

0 commit comments

Comments
 (0)