Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 2.47 KB

README.md

File metadata and controls

81 lines (61 loc) · 2.47 KB

bytex

a text editor in pyqt4

Prerequisites and Installing

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.]

Usage

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...

Features

  • 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.

Preview*

New Tab

newTab.png

Code Preview

codePreview.png

Embedded XTerm

XTerm.png

*[NOTE: Tabs and Menubar may look different in other Operating Systems.]

Built With