Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A syntax highlighting, code folding, programmer's text editor written in Swing. http://bobbylight.github.io/RText/
Java HTML Other
Branch: master
Failed to load latest commit information.
.settings Converting to Maven folder structure and using gradle for builds
gradle/wrapper Making application-root finding code work with both Oracle JREs and A…
mac Fix for Retina displays in some instances
src/main Fix #12: When opening in System Viewer fails, try System Editor inste…
.classpath Converting to Maven folder structure and using gradle for builds
.gitignore Copy file paths via Ctrl+Shift+C in file chooser, file system tree, a…
.project Converting to Maven folder structure and using gradle for builds
MakeRTextInstaller.nsi Changing version numbers to 2.5.7
README.md Adding README.md
RText.exe Initial source commit.
TO-DO Updating Japanese translation (thanks Josh!).
build-plugins.xml JS option panel should make clear that JSHint support now looks in pa…
build.gradle Make source distribution zip for SourceForge look good
build.properties Moving the loading/saving of shortcuts from application preferences t…
build.xml JS option panel should make clear that JSHint support now looks in pa…
gradle.properties Updating dependencies to RSTA 2.5.7 artifacts
gradlew Making application-root finding code work with both Oracle JREs and A…
gradlew.bat Converting to Maven folder structure and using gradle for builds

README.md

RText is a programmer's text editor written in Java. It has all the features you would expect:

  • Syntax highlighting for 40+ languages
  • Code folding
  • Regex search and replace
  • Find/replace in files
  • Varying degrees of code completion for C, Java, Perl, JavaScript, and more
  • Varying degrees of syntax checking for various languages (JSHint integration for JavaScript, compiler checking for Perl, XML well-formedness checking, etc.)
  • Programmatic macros, write them in either JavaScript or Groovy
  • Application lifecycle (bootstrap, plugin loading, cleanup, shutdown)
  • Preference loading and saving
  • User-configurable key bindings
  • Standard modals for Options, Help, About, Printing
  • File chooser (richer feature set and improved usability over JFileChooser)
  • Dockable windows
  • External tools
  • Much more

Building

RText uses Gradle to build. To compile, run all unit tests, and create the jar, run:

./gradlew build

Note that RText only requires Java 5. To that end, the boot classpath will be set to accommodate this if a variable java5CompileBootClasspath is set to the location of rt.jar in a Java 5 JDK. This can be added to <maven-home>/gradle.properties if desired, to avoid diffs in the project's gradle.properties.

To build and run an installable image:

./gradlew build
./gradlew installDist
cd ./build/install/rtext
java -jar RText.jar

After building the installable image, you can create the win32 installer by running the MakeRTextInstaller.nsi NSIS script at the root of the project.

To build the OSX package, ... TODO ...

Something went wrong with that request. Please try again.