SweetEditor-Compose 0.0.5 indexed Multifunctional code editor with native C++ core, render-model driven architecture, syntax/semantic styling, decoration pipeline, inlays/snippets/completion, IME and input handling, undo/redo, rich affordances.
Bring this to kpkg
This library is indexed from the KMP ecosystem and already resolves through kpkg.dev's Maven Central proxy. Maintainers can verify the namespace and publish future versions to kpkg for free hosting, real download stats, and signed-provenance pages.
Publishing coming soonMetadata
Owner lumkit
Stars 25
Used by —
Health —
License GNU Lesser General Public License v2.1
Latest 0.0.5
Repository github.com/lumkit/SweetEditor-Compose
Updated 2026-04-16 Readme Changelog
English | 简体中文
SweetEditor
A Multifunctional code editor library for compose multiplatform
A C++17 core with platform-native rendering, built for long-term evolving editor infrastructure in IDEs, AI programming tools, cloud development workspaces, and similar products.
Issues and pull requests are welcome.
To check out all docs, please visit: Documentation Site
This repository is still in the development stage, so please pay attention.
Features
Core Library
The native editor core used by this project is based on the open-source OpenSweetEditor repository:
Screenshots
Android
Contributors
License
SweetEditor is licensed under the GNU Lesser General Public License v2.1 or later (LGPL-2.1+), with an additional Static Linking Exception provided as a supplementary clarification.
Star History
Native editor kernel (C++17) with Compose Multiplatform wrapper
Cross-platform targets: Android, iOS, JVM Desktop, JS, Wasm
Render-model driven architecture (viewport, scroll metrics, cursor/selection rects)
Syntax/semantic span rendering with batch style registration
Decoration pipeline: inlay hints, phantom text, gutter icons, diagnostics
Guide and structure rendering: indent guides, bracket guides, flow guides, separator guides, fold regions
Rich visual affordances: fold markers, linked-editing highlights, bracket highlights, active scrollbars, pointer cursor hints
Cursor and selection operations with 0-based line/column semantics
Selection handle drag state callbacks, hit-target reporting, and context-menu request callbacks
Editing primitives: insert, replace, delete, backspace, delete-forward
Line operations: move/copy line up/down, delete line, insert line above/below
Undo/redo stack integration
Snippet insertion and linked-editing session support
Completion pipeline with provider API, popup anchoring, item selection, and custom item renderer
IME composition lifecycle: start/update/end/cancel
Gesture and key event bridge to native input model
Document loading from UTF-16 text and file path
Read-only mode, wrap mode, auto-indent mode, gutter visibility/sticky options
Configurable appearance: theme content loading, font configuration, current-line render mode, line spacing, fold arrow modeIOS
Desktop Web
Related libraries Surfaced from shared tags and platforms — no rankings paid for.
vico ★ 3.1k
patrykandpatrick Light and extensible chart library offering compatibility with Jetpack Compose and the view system through independent modules, enhancing chart creation and customization for Android applications. Shared: compose-multiplatform AndroidLiquidGlass ★ 2.9k
Kyant0 Customizable liquid-glass backdrop effect toolkit for modern UIs, with configurable shaders, sample components (buttons, toggles, sliders, bottom tabs), documentation and demo apps. Shared: compose-multiplatform compose-rich-editor ★ 1.8k
MohamedRejeb Rich text editor library for creating customizable WYSIWYG editors, supporting text styling, links, code blocks, lists, and HTML/Markdown import/export with minimal boilerplate. Shared: compose-multiplatform compose-hot-reload ★ 1.4k
JetBrains Enhances UI development speed by enabling real-time updates without restarts. Uses a specialized JVM for intelligent code reloading, optimizing the iterative design process. Shared: compose-multiplatform Reorderable ★ 1.3k
Calvin-LL Enables drag-and-drop reordering of items in various list and grid layouts, supporting different item sizes and non-reorderable items. Features scroll edge activation, animated item movement, and customizable drag handles. Shared: compose-multiplatform charty ★ 1.3k
hi-manshu Lightweight charting toolkit delivering sleek, customizable charts with a minimal API, performant rendering, easy theming, and concise documentation for rapid UI integration. Shared: compose-multiplatform