Skip to content

Overview

Sora Editor is an Android View library for editing code, with instant syntax-highlight and real-time auto-completion support.

The editor is desgined to be effective, smooth and pluggable, and you can easily start a code editting app by integrating our library into your project.

Just want to try it out? Go to Getting Started.

Highlights of Our Editor

Sora Editor has implemented most features of modern IDEs. We provide not only fundamental stuff, but also forefront functionaliy.

Features implemented up to now:

  • Incremental Syntax-highlight
  • Auto-Completion (with code snippets)
  • Code Block Indicators
  • Unlimited Text Undo Stack and Fast Search-Replace
  • Word Wrap Display Mode
  • Display Non-Printable Characters
  • Diagnostic Markers and Tooltip Window
  • Text Magnifier
  • Punctuation Pair Matching and Highlighting
  • Sticky Scroll
  • Language Support backed by TextMate and TreeSitter

Smooth User Experience

Sora Editor uses suitable animations to interpolate the transitions of components, bringing a smooth User Experience (UX). The widget also has a PC navigation mode and key bindings for users who use mouse and hardware keyboard to edit texts.

High-Performance

Sora Editor benefits from modern multi-core processors by supporting language-specific code analysis incrementally in background workers. Auto-completion items are computed and published to UI on demand.

The rendering process is also optimized. The editor builds measuring caches and RenderNodes for visible text, which enables the editor to re-render fast and respond to user interaction quickly. Most objects used by the rendering process are reused.

Discussion

We have created official group for project discussions.

Released under the LGPL-2.1 License.