Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 2.34 KB

Readme.md

File metadata and controls

55 lines (35 loc) · 2.34 KB

Java-Swing Text Editor

This Text Editor is a sleek and user-friendly Java application designed to provide a seamless text editing experience. With a modern and intuitive interface, this text editor offers essential features such as syntax highlighting, auto-indentation, file management, and more.

Features

  • Lightning-Fast Opening and Saving: Quickly open and save files for efficient workflow.
saving.mp4
  • File Management: Open, save, and close files with ease.
  • Search Functionality: Search and highlight specific words or phrases within the text.
searching.mp4
  • Font Customization: Ability to customize the font style and size for personalized editing.
  • Auto-Indentation: Automatically indents code for better structure and organization.
  • Line Numbers: Display of line numbers for easy navigation within the text.
  • Word Count: Real-time display of word count, character count, and line count.
  • Syntax Highlighting: Highlighting of keywords to improve code readability. main

Usage

Download and Installation:

  • Clone the repository to your local machine.
  • Ensure you have Java installed on your system.
  • Compile the Java files using javac ImprovedTextEditor.java.
  • Run the application using java ImprovedTextEditor.

Editing Text:

  • Simply type or paste your text into the text area.
  • Use the provided toolbar for various editing options.

File Management:

  • Click on the "File" menu to open, save, or close files.
  • Use the "Save-As" option to save the current file with a new name.

Syntax Highlighting:

  • Keywords such as if, else, for, etc., are highlighted for better code comprehension.

Auto-Indentation:

  • Press Enter to automatically indent the next line based on the previous line's indentation.

Font Customization:

  • Navigate to the "Edit" menu and select the "Font" submenu to customize the font style and size.

Search Functionality:

  • Access the "Search" menu to find specific words or phrases within the text.
  • Enter the search term and press Enter to highlight all occurrences.