Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stable and dev version #152

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .idea/je_editor.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion je_editor/pyside_ui/code/code_process/code_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def exec_code(self, exec_file_name, exec_prefix: Union[str, list] = None) -> Non
# start tkinter_ui update
# start timer
self.timer = QTimer(self.main_window)
self.timer.setInterval(100)
self.timer.setInterval(50)
self.timer.timeout.connect(self.pull_text)
self.timer.start()
except Exception as error:
Expand Down
2 changes: 1 addition & 1 deletion je_editor/pyside_ui/code/shell_process/shell_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def exec_shell(self, shell_command: [str, list]) -> None:
self.read_program_error_output_from_thread.start()
# start timer
self.timer = QTimer(self.main_window)
self.timer.setInterval(100)
self.timer.setInterval(50)
self.timer.timeout.connect(self.pull_text)
self.timer.start()
except Exception as error:
Expand Down
4 changes: 3 additions & 1 deletion je_editor/pyside_ui/main_ui/editor/editor_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def __init__(self, main_window: EditorMain):
self.grid_layout.addWidget(self.full_splitter)
# Check format time
self.check_format_timer = QTimer()
self.check_format_timer.setInterval(100)
self.check_format_timer.setInterval(50)
self.check_format_timer.timeout.connect(self.check_file_format)
self.check_format_timer.start()

Expand Down Expand Up @@ -159,6 +159,8 @@ def open_an_file(self, path: Path) -> bool:
file_content
)
self.current_file = file
self.code_edit.current_file = file
self.code_edit.reset_highlighter()
user_setting_dict.update({"last_file": str(self.current_file)})
if self.current_file is not None and self.code_save_thread is None:
init_new_auto_save_thread(self.current_file, self)
Expand Down
4 changes: 2 additions & 2 deletions je_editor/pyside_ui/main_ui/main_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, debug_mode: bool = False, show_system_tray_ray: bool = False)
self.tab_widget.tabCloseRequested.connect(self.close_tab)
# Timer to redirect error or message
self.redirect_timer = QTimer(self)
self.redirect_timer.setInterval(100)
self.redirect_timer.setInterval(50)
self.redirect_timer.start()
self.setWindowTitle(language_wrapper.language_word_dict.get("application_name"))
self.setToolTip(language_wrapper.language_word_dict.get("application_name"))
Expand All @@ -100,7 +100,7 @@ def __init__(self, debug_mode: bool = False, show_system_tray_ray: bool = False)
redirect_manager_instance.set_redirect()
# Timer to redirect error or message
self.redirect_timer = QTimer(self)
self.redirect_timer.setInterval(100)
self.redirect_timer.setInterval(50)
self.redirect_timer.timeout.connect(self.redirect)
self.redirect_timer.start()
# TAB Add
Expand Down
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Rename to build stable version
# This is stable version
# Rename to build dev version
# This is dev version
[build-system]
requires = ["setuptools>=61.0"]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "je_editor"
version = "0.0.192"
name = "je_editor_dev"
version = "0.0.213"
authors = [
{ name = "JE-Chen", email = "jechenmailman@gmail.com" },
]
Expand All @@ -26,7 +26,6 @@ classifiers = [
"Operating System :: OS Independent"
]


[project.urls]
Homepage = "https://github.com/JE-Chen/je_editor"
Documentation = "https://je-editor.readthedocs.io/en/latest/"
Expand Down
11 changes: 6 additions & 5 deletions dev.toml → stable.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Rename to build dev version
# This is dev version
# Rename to build stable version
# This is stable version
[build-system]
requires = ["setuptools"]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "je_editor_dev"
version = "0.0.212"
name = "je_editor"
version = "0.0.193"
authors = [
{ name = "JE-Chen", email = "jechenmailman@gmail.com" },
]
Expand All @@ -26,6 +26,7 @@ classifiers = [
"Operating System :: OS Independent"
]


[project.urls]
Homepage = "https://github.com/JE-Chen/je_editor"
Documentation = "https://je-editor.readthedocs.io/en/latest/"
Expand Down