Coder Social home page Coder Social logo

regular-expression-text-editor's Introduction

NotePad-Deluxe

Notepad Deluxe is a Java-based text editor that offers a range of features for users who need to edit, save, and load text files. With all buttons replaced with image icons, Notepad Deluxe offers a modern and streamlined interface that makes editing text files a breeze.

Key Features

  • Open, edit, and save text files easily
  • Image icons for all buttons
  • Highlight matches when searching for text
  • Ability to search using regular expressions
  • Next and previous match buttons for easy navigation

Usage

Compiling and Running:

To compile the program, navigate to the directory where the TextEditor.java file is located and enter the following command:

javac ApplicationRunner.java

To run the program, enter the following command:

java ApplicationRunner

Saving a File:

Click on the Save button in the GUI or select "Save" from the File menu.

If you are saving the file for the first time, a "Save As" dialog box will appear, prompting you to choose a file name and location. If the file has already been saved, it will simply save the changes.

Loading a File:

Click on the "Open" button in the GUI or select "Open" from the File menu. This will open a file chooser dialog box, allowing you to navigate to the file you wish to open.

Using Regular Expressions and Regular Text:

Enter the text you wish to search for in the search field located in the file system panel. Check the "Use Regex" checkbox if you wish to search for regular expressions.

Click on the "Start Search" button or select "Start Search" from the "Search" menu.

The first match will be highlighted automatically. If there are multiple matches, use the "Next Match" and "Previous Match" buttons or the corresponding menu items to navigate between them.

Exiting the Program:

Click on the "Exit" menu item in the "File" menu or simply close the program window.

regular-expression-text-editor's People

Contributors

salmankttk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.