Description
Re-Editor is a lightweight text and code editor widget for Flutter, built as part of the Reqable project. It can serve as a simple multi-line text area or as the base for a full code editor. Unlike a wrapper around Flutter's TextField, it implements its own layout, drawing and event handling, which lets it handle very large texts with high performance and avoid some TextField issues. Features include horizontal and vertical scrolling, syntax highlighting for nearly a hundred languages and themes via Re-Highlight, code folding with markers, input hints and auto-completion, search and replace, custom context menus, shortcut keys, line numbers, a focus-line builder and smart input. Developers can toggle word wrap, read-only mode, line numbers and folding. It uses a CodeLineEditingController, is added through pubspec.yaml, and ships an example project.…
Highlights
- Syntax highlighting for about 100 languages
- Code folding with markers
- Auto-completion and input hints
- Search and replace
- Optimized for very large texts
- Custom shortcuts and context menus
Ratings & Reviews
No ratings yet
Be the first to rate Re Editor.
People also visit
RSyntaxTextArea
A syntax highlighting, code folding text editor for Java Swing applications
Re Editor FAQ
How is Re-Editor different from TextField?
It is not built on TextField. It implements its own layout, rendering and events, optimized for multi-line and very large text, and adds code editor features.
How do I add it to my app?
Add it to pubspec.yaml and create a CodeLineEditingController, much like you would use a controller with TextField.
How does syntax highlighting work?
It uses Re-Highlight, which supports nearly a hundred languages and theme styles that you can choose and configure.
Can I make it read-only or disable word wrap?
Yes. You can control horizontal scrolling (word wrap), read-only mode, line numbers, folding and shortcut keys.
What are the best Re Editor alternatives?
Popular alternatives to Re Editor include React Textarea Code Editor, Code Input and RSyntaxTextArea. See all Re Editor alternatives

