An open API service indexing awesome lists of open source software.

https://github.com/bobbylight/rstaui

A library of common dialogs and UI elements needed by applications embedding text components such as RSyntaxTextArea.
https://github.com/bobbylight/rstaui

Last synced: 6 months ago
JSON representation

A library of common dialogs and UI elements needed by applications embedding text components such as RSyntaxTextArea.

Awesome Lists containing this project

README

          

# RSTAUI
![Java Build](https://github.com/bobbylight/RSTAUI/actions/workflows/gradle.yml/badge.svg)
![Java Build](https://github.com/bobbylight/RSTAUI/actions/workflows/codeql-analysis.yml/badge.svg)
![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fifesoft/rstaui/badge.svg)
[![codecov](https://codecov.io/gh/bobbylight/RSTAUI/graph/badge.svg?token=fa8OfGn3RO)](https://codecov.io/gh/bobbylight/RSTAUI)

This is a library for adding the following dialogs to an application using `RSyntaxTextArea` as an
editor:

* Find Dialog
* Replace Dialog
* Find and Replace toolbars (à la Sublime Text)
* Go to Line Dialog
* Text File Properties Dialog (requires use of `TextEditorPane`)

Searching support is fully featured - regex searches, match case, whole word, searching forward and
backward, mark all occurrences. Note that the actual searching functionality is handled in the
`RSyntaxTextArea` project itself (see its `SearchEngine` class); this library just wraps that
functionality in a UI.

Available in the [Maven Central repository](https://search.maven.org/search?q=rstaui%20jar) (`com.fifesoft:rstaui:XXX`).
SNAPSHOT builds of the in-development, unreleased version are hosted on [Sonatype](https://oss.sonatype.org/content/repositories/snapshots/com/fifesoft/rstaui/).

RSTAUI is available under a [modified BSD license](https://github.com/bobbylight/RSTAUI/blob/master/RSTAUI/src/main/dist/RSTAUI.License.txt).
For more information, visit [http://bobbylight.github.io/RSyntaxTextArea/](http://bobbylight.github.io/RSyntaxTextArea/).

## Screenshots




Find Dialog




Replace Dialog




Go to Line Dialog

## Compiling

RSTAUI is built using Gradle. To compile the source, run all tests, and build the distribution jar,
simply change into the project directory and run:

gradlew build --warning-mode all

## Example Usage

A very simple example can be found in the
[RSTAUIDemoApp class](https://github.com/bobbylight/RSTAUI/blob/master/RSTAUIDemo/src/main/java/org/fife/rsta/ui/demo/RSTAUIDemoApp.java)
included in this project.

## Sister Projects

* [RSyntaxTextArea](https://github.com/bobbylight/RSyntaxTextArea) provides syntax highlighting, code folding, and many other features out-of-the-box.
* [AutoComplete](https://github.com/bobbylight/AutoComplete) - Adds code completion to RSyntaxTextArea (or any other JTextComponent).
* [RSTALanguageSupport](https://github.com/bobbylight/RSTALanguageSupport) - Code completion for RSTA for the following languages: Java, JavaScript, HTML, PHP, JSP, Perl, C, Unix Shell.
Built on both RSTA and AutoComplete.
* [SpellChecker](https://github.com/bobbylight/SpellChecker) - Adds squiggle-underline spell checking to RSyntaxTextArea.

## Getting Help

* Add an issue on GitHub
* Check the project's [home page](http://bobbylight.github.io/RSyntaxTextArea/)