Skip to content

Dimple53/Dpad-text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Dpad Text Editor


🎨 Screenshots


Light Theme

d1

Monokai Theme

d2

✨ Features

  • Font Customization — Change font family and size from the toolbar
  • Text Formatting — Bold, Italic, and Underline support
  • Font Color Picker — Choose any custom color for your text
  • Text Alignment — Left, Center, and Right alignment
  • Find & Replace — Search and replace words instantly with highlighted matches
  • 6 Built-in Color Themes:
Theme Background
Light Default White
Light Plus Light Gray
Dark Dark Gray
Red Soft Red
Monokai Gold
Night Blue Steel Blue
  • File Operations — New, Open, Save, Save As with unsaved-changes warning
  • Live Status Bar — Real-time word and character count
  • Toggle UI — Show/hide toolbar and status bar from View menu
  • Keyboard Shortcuts — Full hotkey support for faster workflow

⌨️ Keyboard Shortcuts

Action Shortcut
New File Ctrl + N
Open File Ctrl + O
Save Ctrl + S
Save As Ctrl + Alt + S
Exit Ctrl + Q
Find Ctrl + F
Copy Ctrl + C
Paste Ctrl + V
Cut Ctrl + X
Clear All Ctrl + Alt + X

🛠️ Requirements

  • Python 3.x
  • Tkinter (comes pre-installed with Python)

No additional pip packages needed to run the source!


🚀 Getting Started

Run from Source

git clone https://github.com/your-username/dpad-text-editor.git
cd dpad-text-editor
python Dpad.py

Make sure icons2/ folder and icon.ico are in the same directory as Dpad.py


📦 Build as Windows Executable

This project uses cx_Freeze to build a standalone .exe.

1. Install cx_Freeze

pip install cx_Freeze

2. Update TCL/TK paths in setup.py

os.environ['TCL_LIBRARY'] = r"C:\path\to\Python\tcl\tcl8.6"
os.environ['TK_LIBRARY'] = r"C:\path\to\Python\tcl\tk8.6"

3. Build

python setup.py build

The executable will be generated in the build/ folder.


📁 Project Structure

Dpad-text-editor/
│
├── build/           # Compiled output
├── dist/            # Installer (.msi)
├── icons2/          # Toolbar & menu icons
├── Dpad.py          # Main application
├── setup.py         # cx_Freeze build config
├── icon.ico         # App icon
├── tcl86t.dll       # Required for exe build
├── tk86t.dll        # Required for exe build
└── README.md

About

A feature-rich desktop text editor built with Python & Tkinter — a lightweight yet powerful Notepad alternative with themes, formatting tools, and find/replace functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors