a text editor in pyqt4
It will work with most of the linux distros and may also work for Windows[not checked].
Instructions for apt
based distributions:
You need to have python3
and pip3
installed.
$ sudo apt update
$ sudo apt install python3-pip
Then install PyQt4
and PyQy4.Qsci
as:
$ sudo apt update
$ sudo apt install python3-pyqt4
$ sudo apt install python3-pyqt4.qsci
After that install rest from requirements using pip3:
$ sudo pip3 install -r requirements.txt
and you are ready to go.
[If your OS does not have gnome-terminal
and XTerm
some functions will not work properly.]
To start the editor:
$ cd path_to_bytex.py
$ python3 bytex.py
but more preferrably if you don't want to install the listed modules download directly the executable file of bytex from here.
Give it executing permissions if it does not have it.
$ chmod 755 path_to_bytex
Copy the file to /bin to access it from terminal.
$ sudo cp path_to_bytex /bin
$ bytex
and boom...
- Basic open, save, save as, cut, copy, paste.
- Modes: Read only, Insert, Light-Dark.
- Multiple tab and window support.
- XTerm embedded in tabs to access command line from editor itself (Ctrl+ Right Click on XTerm for more options). It will work if OS has XTerm.
- Markdown editor to edit and create markdown files with side by side live preview.
- Line numbering, auto-indentation, code-folding, auto-completion, syntax-highlighting[currently for python, c, cpp, java, javascript, HTML, XML, CSS]
- Search GitHub, stackoverflow or any selected text in a tab from editor itself.
*[NOTE: Tabs and Menubar may look different in other Operating Systems.]
- PyQt4.QtGui - For the GUI of the text editor
- PyQt4.Qsci - For lexers and other syntax feature
- Markdown-Editor - For the markdown editor