Sublemon Text Editor for iOS (in Pythonista)

May 24, 2025 ยท View on GitHub

About

This is a minimalistic text editor for Pythonista. Sublemon was originally part of the Pythonista implementation of Urtext. It was created when the Urtext project outgrew the scope of Editorial and something fully scriptable was needed.

Sublemon is coyly named after Sublime. It replicates Sublime's multi-purpose fuzzy search dropdown. It provides a loose replication of Sublime's Python scriptability on iOS.

Features

Install

Requires thefuzz

Put sublemon into Python Modules/site-packges/user

Usage

from sublemon.editor import BaseEditor
editor = BaseEditor()
editor.show()

(see https://github.com/nbeversl/sublemon/blob/master/editor.py).

Development

Sublemon was separated out for modularity and currently exists mostly as an Urtext dependency. PRs are welcome however. In particular:

  • Native TextView updates used for syntax highlighting are not optimized
  • Needs a status bar
  • Multiple tabs
  • Other syntaxes