Skip to content

A simple to use Swing JEditorKit component supporting syntax highlighting for various languages.

Notifications You must be signed in to change notification settings

klerehag/SyntaxPane

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SyntaxPane

Build Status Maven Central

Statement

SyntaxPane is an extension to Java Swing's JEditorKit component which adds syntax highlighting support for various languages, including Scala and Java. The original project JSyntaxPane can be found on google-code. This is a fork from the 0.9.6 branch.

The original project is (C)opyright by Ayman Al-Sairafi and released under the Apache License, Version 2.0.

All changes, reworkings and extensions in SyntaxPane (C)opyright 2011–2015 by Hanns Holger Rutz. Released under that same license.

Linking

The group-id and version have been adjusted to use my name space at Maven Central:

"de.sciss" % "syntaxpane" % v

The current version v is "1.1.4"

Building

JSyntaxPane builds with sbt 0.13. The source code is purely Java at the moment, so no Scala compilation is run. The project uses the sbt-jflex plugin v0.1-SNAPSHOT, which in turn uses JFlex 1.4.3 to generate the lexer Java sources for the supported languages.

To build run sbt compile. To run a demo application, run sbt test:run.

Contributing

Please see the file CONTRIBUTING.md for details.

About

A simple to use Swing JEditorKit component supporting syntax highlighting for various languages.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 66.3%
  • Lex 33.3%
  • Other 0.4%