JLEdit :: Core

A JLine and Jansi based console text editor.

License

License

GroupId

GroupId

org.jledit
ArtifactId

ArtifactId

core
Last Version

Last Version

0.2.2
Release Date

Release Date

Type

Type

bundle
Description

Description

JLEdit :: Core
A JLine and Jansi based console text editor.

Download core

Dependencies

compile (2)

Group / Artifact Type Version
jline : jline jar 2.7
org.fusesource.jansi : jansi jar 1.9

provided (3)

Group / Artifact Type Version
com.googlecode.juniversalchardet : juniversalchardet jar 1.0.3
org.osgi : org.osgi.core jar 4.2.0
org.osgi : org.osgi.compendium jar 4.2.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

JLEdit

An extensible Jansi & Jline based Console Text Editor.

The editor is using Jansi for ansi escape sequence manipulation. It also uses Jline terminals, streams and key maps.

It works as a standalone editor, but it can also be use from jline based applications.

Editor Features

  • Scrolling
  • Undo / Redo functionality
  • Forward & Backward searching and highlighting
  • Pluggable content manager, to be able to edit not just files (e.g. blobs, zookeeper znodes, config admin pids etc).
  • Color themes

Building

You can download a standalone version of the editor from Maven Central. You can also build the editor from source.

Buidling requires:

  • Java 1.6+

  • Maven 3

    mvn clean install

Running

Once the build or download is done:

> cd jledit/target
> tar -zxvf jledit-0.1.1-bin.tar.gz
> cd jledit-0.1.1
> ./bin/jledit /path/to/myfile

or on Windows:

> cd jledit/target
> unzip jledit-0.1.1-bin.zip
> cd jledit-0.1.1/bin
> jledit.bat /path/to/myfile

Knows Issues & Limitations

  • The whole file is loaded in memory.
  • Resizing of terminal is not well supported.
  • Save will convert all \r characters to \n.
  • The base ConsoleEditor implementation needs to be simplified.
  • Possible deadlock when shutting closing the editor.

Versions

Version
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0