Features
- Text Editing: Full textarea with tab support
- File Operations: New, Open, Save, Save As
- Word Wrap: Toggle line wrapping
- Status Bar: Shows cursor line and column position
- Time/Date Insertion: Insert current timestamp
- Tab Support: Proper tab character insertion
- Cursor Tracking: Real-time line and column display
Component Structure
Location:src/WinXP/apps/Notepad/index.jsx
Configuration
Fromapps/index.jsx:
Dropdown Menus
FromdropDownData.js:
File Menu
- New - Clear text and start new document (functional)
- Open… - Open text file from disk (functional)
- Save - Save current document (functional)
- Save As… - Save with new filename (functional)
- Separator
- Page Setup… (disabled)
- Print… (disabled)
- Separator
- Exit - Close Notepad (functional)
Edit Menu
- Undo… (disabled)
- Separator
- Cut, Copy, Paste, Delete (disabled)
- Separator
- Find…, Find Next, Replace…, Go To… (disabled)
- Separator
- Select All (disabled)
- Time/Date - Insert current timestamp (functional)
Format Menu
- Word Wrap - Toggle line wrapping (functional)
- Font… (disabled)
View Menu
- Status Bar - Toggle status bar visibility (functional)
Help Menu
- Help Topics (disabled)
- About Notepad - Show version info (functional)
Menu Handler
File Operations
Opening Files
Uses a hidden file input element:Saving Files
Downloads text as a.txt file:
