{"repo":"reqable/re-editor","free":true,"listed":false,"github":"https://github.com/reqable/re-editor","clone":"git clone https://github.com/reqable/re-editor.git","description":"Re-Editor is a powerful lightweight text and code editor widget.","language":"Dart","stars":756,"topics":["code-editor","flutter","syntax-highlighting","text-editor"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Re-Editor 中文版本 Re-Editor is a powerful lightweight text and code editor widget and a module in the Reqable project. It can be used as a simple text area or to develop a code editor with complex functions. Unlike Flutter's default TextField , Re-Editor is specifically tailored for the display and input of multi-line text and offers the following features: - Two-way horizontal and vertical scrolling. - Text syntax highlighting. - Content collapsing and expanding. - Input hints and auto-completion. - Search and replace. - Custom context menu builder. - Shortcut keys. - Large text display and editing. - Line numbers and focus line builder. - Smart input. Re-Editor is not a secondary encapsulation based on TextField , but independently implements the layout, drawing, event processing, etc. It is specifically optimized for large texts, providing extremely high performance and fixed some issues of TextField . Re-Editor offers a high degree of freedom. For example, developers can control whether to enable horizontal scrolling (word wrap), enable read-only mode, display line numbers, display content folding, define custom shortcut keys, and specify text syntax highlighting. You can run the example project to experience it. Getting Started Add the followings in pubspec.yaml . Like TextField , Re-Editor uses CodeLineEditingController as the controller. The following sample code creates the simplest multi-line input area, which is not much different from TextField . Text Syntax Highlight","default_branch":null,"files":null,"tree":[],"storefront":"/r/reqable","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/reqable/re-editor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}