copying text, clearing text, toggling between dark and light modes, and adding line numbering and text indentation:

Handling the Tab key to insert indentation in the text area.

This implementation provides a simple and user-friendly interface for basic text manipulation, including line numbering, text indentation, and dark/light mode toggling.