Skip to content

yonDest/Text-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Text Editor

A simple sticky note text editor built with Python and Tkinter.

License Python

Table of Contents

Features

  • Rich text editing capabilities: Edit text with various formatting options.
  • Font customization: Change font family and size.
  • Text formatting: Apply bold and italic styles.
  • Color customization: Customize text and background colors.
  • File operations: Create, open, save, and save files as new.
  • Print functionality: Print documents directly from the editor.
  • Keyboard shortcuts: Efficiently perform actions with shortcuts.
  • Undo/Redo support: Easily revert or reapply changes.
  • Sticky Notes: Create and manage multiple sticky notes.
Example Photo 1 Example Photo 2 Example Photo 3 Example Photo 4 Example Photo 5 Example Photo 6 Example Photo 7 Example Photo 8

Installation

From PyPI

pip install notes-app

From Source

  1. Clone the repository
git clone https://github.com/yonDest/Text-Editor.git
cd Text-Editor
  1. Create and activate a virtual environment
# On macOS/Linux
python -m venv venv
source venv/bin/activate

# On Windows
python -m venv venv
venv\Scripts\activate
  1. Install the package and dependencies
pip install -e .
pip install pillow  # Required for icon support

Usage

Running the Application

After installation, you can run the text editor using:

notes-app

Running from Python

from notes_app.main import main
main()

Features Guide

  • Creating a New File: Click File β†’ New or press Ctrl + N
  • Opening Files: Click File β†’ Open or press Ctrl + O
  • Saving Files: Click File β†’ Save or press Ctrl + S
  • Text Formatting:
    • Bold: Select text and press Ctrl + B
    • Italic: Select text and press Ctrl + I
    • Change Font: Use the Format β†’ Font menu
    • Change Color: Use the Format β†’ Color menu

Keyboard Shortcuts

  • Ctrl + N: New file
  • Ctrl + O: Open file
  • Ctrl + S: Save file
  • Ctrl + Shift + S: Save as
  • Ctrl + P: Print
  • Ctrl + C: Copy
  • Ctrl + X: Cut
  • Ctrl + V: Paste
  • Ctrl + Z: Undo
  • Ctrl + Y: Redo

Development

Setting up development environment

  1. Clone the repository:

    git clone https://github.com/yonDest/Text-Editor.git
    cd Text-Editor
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install development dependencies:

    pip install -e ".[dev]"

Running tests

pytest

License

Copyright (c) 2024 Yoni Desta

This project is licensed under the MIT License. This means you can:

  • Use the code commercially
  • Modify the code
  • Distribute the code
  • Use the code privately

See the LICENSE file for full details.

Author

Yoni Desta

Contributing

Feel free to reach out if you'd like to:

  • Report a bug
  • Request a feature
  • Submit a pull request
  • Or, just to chat!

Your contributions are always welcome!

About

Sticky Notes App for Notetaking plus more. Built with Python & Tkinter πŸ““ πŸ–Š

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages