Skip to content

lebao3105/texteditor

Repository files navigation

Textworker

A simple and cross-platform Python text editor.


Tkinter version has been moved to texteditor-tk.

Its future releases will be placed in TestPypi.

Features

  • Tabs split/rearrangement
  • Access to your files without opening File Explorer
  • Run some tasks with Command Window
  • Customizable interface
  • Open history
  • Partial Git support (1.6a3+)
  • Auto save

See all app releases here.

Setup

Requires Python 3.10 or later.

Install all dependencies shown in requirements.txt

Install wxFormBuilder and add it to PATH.

Additional dependencies may required for wxPython:

  • All: Install attrdict3 from Pypi first

  • Linux: libgtk-3-dev and libsdl2-dev plus C++ compiler (g++). That's basic for now - you may need more

  • macOS: You don't need to worry if you're on a recent macOS on a x86_64 Intel Mac, else you may need to have a build.

  • Windows: Microsoft Visual C++

Wheels for some Linux distributions (and their based-ons): https://extras.wxpython.org/wxPython4/extras/linux/gtk3/

Run this project like every Python projects else. Use -h / --help to see all available options.

Build/install

Generate some Python files: make genui. Only run this once if you have no modifications to .fbp files.

It is highly advised to compile .po for translations first:

make maketrans.

Some targets below will do that first, only if you use make.

  • Generate assets (required, only need to run once): make icons and make splash and make assets.

  • Make a wheel: make build or pip install build then python3 -m build.

  • Combine everything ABOVE (+ clean first): make all

  • Install: make install or pip install .

  • Clean: make clean

Contributing

We welcome people to make forks, make issues, and submit patches, features (request) as well!

Before reporting issues:

  • Check for all steps you've done to run textworker.

  • Try running in Terminal/Command Prompt to capture everything

  • Check for all the issues, including closed ones.

  • Check for open PRs.

Look at CONTRIBUTING for more stuff.