Skip to content

Haavi97/DarkTextEditor

Repository files navigation

Dark Text Editor

Simple dark text editor GUI using pyQT

I was a bit tired of the Notepad aplication that Windows has for the simple texts since it cannot be configured to be in dark mode. I know I can use some IDE like VSC but for simple things it is handy to have an easy launch simple text editor. That's why I have programmed this one. Also for fun of learning PyQT.

Setup

pip install -r requirements.txt

Usage

Just run the main file by typing:

python main.py

If you just one to have it as an executable you can use pyinstaller that can be installed using pip:

pip install pyinstaller

And then run:

pyinstaller main.py 

That will generate the desired .exe file in Windows.

Supported encodings

  • utf-8
  • utf-16
  • utf-32
  • ascii
  • ansi
  • cp775, baltic languages

TODO

  • Changeable default font
  • App icon (https://programmersought.com/article/86065821752/)
  • Copy-paste erase format
  • Add functionality to change encoding button
  • Add encoding at the bottom
  • Fix opening of file. Fails to open in unicode
  • Order and clean code
  • Add Ctrl+s functionality
  • Start optimization
  • Add notification if closing and there is text not saved.
  • Fix status bar disappearing content
  • Add a last save info in the status bar

Contact

Email: fortin@taltech.ee

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published