Skip to content

IDE-Style Text Editor Built In Python & Tkinter - Dark/Light Theme Support, File Explorer With Quick Access, Create/Delete/Save Operations, Keyboard Shortcuts, Real-Time Status Bar, And Professional Menu System - UTF-8 Encoding With Undo/Redo Support Included 📝

Notifications You must be signed in to change notification settings

hexbido/Text-Editor-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Text Editor App 📝

A Professional Code Editing Solution: From Simple File Manager To Advanced IDE-Style Editor, Dark Mode Support, Sidebar Navigation, And Real-Time Syntax Highlighting.

AboutTech StackGalleryEvolutionHow To RunWarnings


separator

About The Project Memo

This Repository Represents The Sixth Major Milestone In My Front-End Diploma (Programming Fundamentals Track).

It's More Than Just An Editor, It's A Documentation Of My Journey In GUI Development & File Management Systems - The Project Chronicles The Evolution From Simple Text File Operations Using Basic Tkinter Widgets To A Sophisticated Code Editor Powered By Object-Oriented Design Patterns With IDE-Like Features.

The Final Version Is An Intelligent Development Tool That Provides File Explorer Integration, Features A Modern Dark/Light Theme Toggle, Implements Keyboard Shortcuts For Power Users, Supports Multi-File Management, And Includes Smart Features Like Line/Column Tracking, Collapsible Sidebar, And Professional Menu System For Enhanced Productivity.


separator

Tech Stack & Tools Tools

Python Tkinter OOP VS Code Miro

Python (3.10+): The Core Language Driving All Application Logic, File Operations, And UI Management Systems.
Tkinter GUI Framework: Powers The Complete Visual Interface With Custom Widgets, Menu Systems, And Responsive Layout Design.
Object-Oriented Programming: Utilizes Class-Based Architecture With Methods For File Handling, Theme Management, And Event Processing.
OS Module: Handles File System Operations Including Directory Listing, File Creation, Deletion, And Path Management.
File I/O Operations: Manages Reading And Writing Text Files With UTF-8 Encoding Support For Multi-Language Content.
Event-Driven Programming: Implements Keyboard Shortcuts And Mouse Events For Seamless User Interaction And Navigation.
Miro: Used For Planning And Designing The Application Architecture, UI Layout, And Feature Flow Before Development.


separator
The Project Followed A Structured "Plan-Then-Code" Approach - Below Is The Comparison Between The Planning Phase And The Final Execution For Both Versions.

Basic Version Advanced Version
Planning (Logic)

Basic Flowchart
Planning (Logic)

Advanced Flowchart
Execution (Main Result)

Basic Output
Execution (Main Result)

Advanced Output
UI Design

Basic UI
UI Design

Advanced UI

View More Screenshots (Click Here) Search

Basic Version - Extra Shots

Basic Shot 2 Basic Shot 3





Advanced Version - Extra Shots

Advanced Shot 2 Advanced Shot 3

Advanced Shot 4 Advanced Shot 5

Advanced Shot 6 Advanced Shot 7

Live Demo Video

Watch The Application In Action: File Management, Theme Switching, And Real-Time Editing Features.

Watch Video
Click To Watch Video ▷

separator

Features & Evolution Rocket

The Transition From The Basic File Manager To The Advanced IDE-Style Editor Highlights A Significant Leap In Functionality And User Experience.

Feature Basic Version Advanced Version (IDE-Style)
Interface Design Simple Side Buttons Full IDE Layout (Sidebar + Toolbar)
Theme Support Light Mode Only Dark/Light Toggle (Live Switching)
File Management Open/Save Only Create/Delete/Browse + Explorer
Navigation Manual File Selection Directory Listing & Quick Access
Code Structure Procedural Programming Object-Oriented (Class-Based)
Keyboard Shortcuts Not Available Ctrl+N/O/S/D Support
Status Bar No Status Info Live Line/Column Tracking

Key Features In Advanced Version Star

Professional IDE Layout: Features A Complete Development Environment With Collapsible Sidebar, Top Toolbar, And Main Editing Area For Maximum Productivity.
Dark/Light Theme Toggle: Switch Between Dark Mode (#282c34) And Light Mode (White) Instantly With Smart Color Management System.
File Explorer Integration: Browse And Open Files From Any Directory With Listbox Navigation And Double-Click To Open Functionality.
Advanced File Operations: Create New Files, Delete Existing Ones, Save As Any Format, And Manage Your Entire Project From Within The Editor.
Keyboard Shortcuts: Speed Up Your Workflow With Ctrl+N (New), Ctrl+O (Open), Ctrl+S (Save), And Ctrl+D (Delete).
Real-Time Status Tracking: Monitor Your Cursor Position With Live Line And Column Numbers Displayed In The Bottom Status Bar.
Smart UI Elements: Includes Menu Bar, Toolbar Buttons, Scrollbar, And Professional Font Rendering With Consolas 13pt For Code Readability.
Undo/Redo Support: Built-In Text Widget Features Allow You To Revert Changes And Maintain Editing History Throughout Your Session.


separator

Installation & Usage Download

Follow The Steps Below To Run The Project Locally On Your Machine - Ensure You Have Python 3.10+ Installed.

1️⃣ Clone The Repository

Open Your Terminal And Run The Following Command To Download The Project Files:
git clone https://github.com/hexbido/Text-Editor-App.git
cd Text-Editor-App

2️⃣ No External Dependencies Required

This Project Uses Only Python's Built-In Libraries (tkinter, os, filedialog, messagebox). No Additional Packages Need To Be Installed!

3️⃣ Run The Basic Version

Navigate To The Basic Version Folder And Execute The Simple Text Editor:
cd Basic-Version
python Text_Editor.py

4️⃣ Run The Advanced Version (IDE-Style)

To Launch The Full Application With All Advanced Features:
cd Advanced-Version
python Text_Editor_AI.py

5️⃣ Using The Application

Follow These Simple Steps To Edit Files And Manage Your Projects:

Opening Files: Click File → Open Or Press Ctrl+O To Browse And Select Any Text File From Your System.
Creating New Files: Press Ctrl+N Or Use The Menu To Create A New Untitled File In The Current Directory.
Saving Your Work: Click File → Save Or Press Ctrl+S To Save Changes To Your Current File Or Save As A New File.
Switching Themes: Go To View → Toggle Theme 🌗 To Switch Between Dark And Light Modes Instantly.
Using The Sidebar: Click OPEN FOLDER To Load A Directory, Then Double-Click Any File In The Explorer To Open It.
Deleting Files: Select A File From The Sidebar And Press Ctrl+D To Delete It (Confirmation Required).
Collapsing Sidebar: Click The Button Or Use View → Toggle Sidebar To Show/Hide The File Explorer.


separator

Warnings & Troubleshooting Warning

Please Review The Following Notes To Ensure Smooth Operation And Avoid Common Issues:

Tkinter Installation: Tkinter Comes Pre-Installed With Python On Most Systems. On Linux, Install With: sudo apt-get install python3-tk

File Permissions: Ensure You Have Read/Write Permissions In The Directory Where You're Working - The App Needs Access To Create And Delete Files.

File Encoding: The Editor Uses UTF-8 Encoding By Default - Files With Different Encodings May Display Incorrectly Or Cause Read Errors.

Large Files Warning: The Text Widget May Become Slow With Files Larger Than 10MB - Consider Using Specialized Tools For Very Large Files.

Delete Confirmation: When Deleting Files With Ctrl+D, Always Confirm The Action - Deleted Files Cannot Be Recovered From The App.

Unsaved Changes: The App Does Not Auto-Save Your Work - Remember To Manually Save Using Ctrl+S Before Closing Files.

Directory Access: When Using OPEN FOLDER, Ensure The Selected Directory Contains Text Files - Empty Folders Will Show An Empty Explorer.

Theme Persistence: Theme Preference Is Not Saved Between Sessions - The App Always Starts In Dark Mode By Default.


Made With Red Heart By B I D O

About

IDE-Style Text Editor Built In Python & Tkinter - Dark/Light Theme Support, File Explorer With Quick Access, Create/Delete/Save Operations, Keyboard Shortcuts, Real-Time Status Bar, And Professional Menu System - UTF-8 Encoding With Undo/Redo Support Included 📝

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages