Skip to content

Commit

Permalink
Moved zenith_core to zenith/core
Browse files Browse the repository at this point in the history
  • Loading branch information
parazeeknova committed Jul 16, 2024
1 parent 529d63f commit 291a497
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
2 changes: 2 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ Nyxtext and letting me know how well it works.
- Custom titlebar with inbuild menubar.
- Statusbar with line and column number.
- Dynamic **statusbar** that displays operations performed.
- Read-only mode for files by default to enter edit mode press `Ctrl + E`.
_More features coming soon._
Expand All @@ -240,6 +241,7 @@ _More features coming soon._
| `Ctrl + W` | Close Tab |
| `Ctrl + Shift + W` | Close All Tabs |
| `Ctrl + Shift + Q` | Exit |
| `Ctrl + E` | Toggle Edit mode |
| `...` | More soon |
> [!TIP]
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/BuildShip_STANDALONE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ jobs:
run: |
echo Yes | python -m nuitka --standalone --include-data-dir=zenith/media=zenith/media --include-data-files=zenith/shortcuts.lua=zenith/shortcuts.lua --include-data-files=zenith/color_schemes.lua=zenith/color_schemes.lua --enable-plugin=pyqt6 --include-module=PyQt6.Qsci --windows-console-mode=disable --windows-icon-from-ico=zenith/media/icon.ico Nyxtext.py
- name: Copy lupa package
run: |
xcopy /E /I .venv\Lib\site-packages\lupa Nyxtext.dist\lupa\
- name: List contents of Nyxtext.dist
run: |
Get-ChildItem -Path Nyxtext.dist -Recurse
- name: Zip Standalone Version
run: |
Compress-Archive -Path Nyxtext.dist\* -DestinationPath Zenith_Standalone.zip -Force
Expand Down
2 changes: 1 addition & 1 deletion Nyxtext.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from PyQt6.QtWidgets import QApplication

from zenith.zenith_core import Zenith
from zenith.core.zenith_core import Zenith


def Nyxtext():
Expand Down
2 changes: 1 addition & 1 deletion zenith/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from PyQt6.QtWidgets import QApplication

from .zenith_core import Zenith
from .core.zenith_core import Zenith


def main():
Expand Down
22 changes: 11 additions & 11 deletions zenith/zenith_core.py → zenith/core/zenith_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
QWidget,
)

from .components.codeSpace import Codespace
from .components.rightSideBar import FileTreeWidget
from .components.tabTopbar import tabRow
from .components.workSpace import Workspace
from .framework.lexer_manager import LexerManager
from .framework.statusBar import ZenithStatusBar
from .framework.titleBar import CustomTitleBar
from .scripts.color_scheme_loader import color_schemes
from .scripts.def_path import resource
from .scripts.file_cache import FileCache
from .scripts.shortcuts import key_shortcuts
from ..components.codeSpace import Codespace
from ..components.rightSideBar import FileTreeWidget
from ..components.tabTopbar import tabRow
from ..components.workSpace import Workspace
from ..framework.lexer_manager import LexerManager
from ..framework.statusBar import ZenithStatusBar
from ..framework.titleBar import CustomTitleBar
from ..scripts.color_scheme_loader import color_schemes
from ..scripts.def_path import resource
from ..scripts.file_cache import FileCache
from ..scripts.shortcuts import key_shortcuts


class FileWorker(QRunnable):
Expand Down

0 comments on commit 291a497

Please sign in to comment.