This is a simple Notepad application implemented in Python using the PyQt5 library. It provides basic text editing functionalities such as creating, opening, saving, copying, pasting, undoing, and more.
- Create a new document.
- Open an existing document.
- Save the current document.
- Save the current document with a different name.
- Undo and redo text modifications.
- Cut, copy, and paste text.
- Find and replace text.
- Select all text.
- Toggle word wrap for easy text reading.
- Go to a specific line number.
- New: Create a new document.
- Open: Open an existing document.
- Save: Save the current document.
- Save As: Save the current document with a different name.
- Undo: Undo the last action.
- Cut: Cut selected text.
- Copy: Copy selected text.
- Paste: Paste copied or cut text.
- Find: Find text within the document.
- Replace: Replace found text with a new one.
- Select All: Select all text in the document.
- Word Wrap: Toggle word wrap for better text formatting.
- Go To: Go to a specific line number within the document.
- Clone this repository or download the
notepad.pyfile. - Make sure you have PyQt5 installed. If not, you can install it using pip:
- Run the
notepad.pyscript using Python:
- New: Ctrl + N
- Open: Ctrl + O
- Save: Ctrl + S
- Undo: Ctrl + Z
- Cut: Ctrl + X
- Copy: Ctrl + C
- Paste: Ctrl + V
- Find: Ctrl + F
- Select All: Ctrl + A
- Word Wrap: Ctrl + W
- Go To: Ctrl + G
- Zoom In: Ctrl + Scroll Up
- Zoom Out: Ctrl + Scroll Down
- This Notepad application is a basic example and may lack advanced features found in commercial text editors.
Feel free to use, modify, and extend this Notepad application for your needs! If you encounter any issues or have suggestions for improvements, please let us know.
📝 Happy editing! 📝