Skip to content

Mandip77/Simple-TextEditor-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Text Editor Banner

📝 Simple Text Editor

A clean, modern JavaFX text editor with dark mode, keyboard shortcuts, and safety features.
by Mandip Amgain


🎬 Preview

App Demo


✨ Features

🌟 Feature
💾 Open, Save, Save As… for .txt files (UTF-8)
🟢 Unsaved changes tracking with * in title
��️ Exit protection (save prompts)
🌑 Dark/Light Mode toggle
🔄 Keyboard shortcuts (cross-platform)
📝 Newline-preserving file I/O
⌨️ Customizable shortcuts in FXML

🖼️ UI Snapshots

Show UI

Light Mode Dark Mode


🧑‍💻 Tech Stack

Java           : 11+ (tested with 21)
JavaFX         : 19 (controls, FXML)
Maven          : javafx-maven-plugin
Build Tooling  : Maven 3.8+

🚀 Quick Start

git clone https://github.com/Mandip77/Simple-TextEditor-Java.git
cd Simple-TextEditor-Java
mvn clean javafx:run

Requires: Java 11+ & Maven 3.8+


🗂️ Project Structure

Expand for details
src/
  main/
    java/
      edu/bhcc/mandip/
        App.java
        Controller.java
    resources/
      edu/bhcc/mandip/
        startpage.fxml
        light.css
        dark.css
pom.xml

🎹 Keyboard Shortcuts

Action Windows/Linux macOS
Open Ctrl + O Cmd + O
Save Ctrl + S Cmd + S
Save As… Ctrl + Shift + S Cmd + Shift + S
Exit Ctrl + Q Cmd + Q

🛠️ Troubleshooting

Expand for common issues
  • FXML/CSS not found? Ensure startpage.fxml, light.css, and dark.css are in src/main/resources/edu/bhcc/mandip/.
  • Dark mode toggle not working? Confirm CSS files exist as above.
  • macOS "Timeout" warnings: benign; ignore.

🗺️ Roadmap

  • Status bar (line/column, chars/words)
  • Find / Replace
  • Recent Files menu
  • Zoom in/out
  • Autosave & restore

🤝 Contributing

PRs and suggestions welcome!
Fork, branch, and open a PR with description and screenshots/GIFs if UI changes.


📄 License

MIT (proposed). Please add a LICENSE file.


Animated typing effect

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •