doc: Update Iced editor info.
This commit is contained in:
parent
935cd93f5a
commit
de4a7a7026
1 changed files with 26 additions and 25 deletions
51
README.md
51
README.md
|
|
@ -67,30 +67,30 @@ Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more details.
|
||||||
|
|
||||||
## Compare to others
|
## Compare to others
|
||||||
|
|
||||||
| Features | GPUI Component | [Iced] | [egui] | [QT 6] |
|
| Features | GPUI Component | [Iced] | [egui] | [QT 6] |
|
||||||
| --------------------- | ------------------------------ | ----------- | --------------------- | ------------------------------ |
|
| --------------------- | ------------------------------ | ------------------ | --------------------- | ------------------------------ |
|
||||||
| Language | Rust | Rust | Rust | C++/QML |
|
| Language | Rust | Rust | Rust | C++/QML |
|
||||||
| Core Render | GPUI | wgpu | wgpu | QT |
|
| Core Render | GPUI | wgpu | wgpu | QT |
|
||||||
| License | Apache 2.0 | MIT | MIT/Apache 2.0 | Commercial |
|
| License | Apache 2.0 | MIT | MIT/Apache 2.0 | Commercial |
|
||||||
| Min Binary Size [^1] | 12MB | 11MB | 5M | 20MB [^2] |
|
| Min Binary Size [^1] | 12MB | 11MB | 5M | 20MB [^2] |
|
||||||
| Cross-Platform | Yes | Yes | Yes | Yes |
|
| Cross-Platform | Yes | Yes | Yes | Yes |
|
||||||
| Documentation | No | Simple | Simple | Good |
|
| Documentation | No | Simple | Simple | Good |
|
||||||
| Web | No | Yes | Yes | Yes |
|
| Web | No | Yes | Yes | Yes |
|
||||||
| UI Style | Modern | Basic | Basic | Basic |
|
| UI Style | Modern | Basic | Basic | Basic |
|
||||||
| CJK Support | Yes | Yes | Bad | Yes |
|
| CJK Support | Yes | Yes | Bad | Yes |
|
||||||
| Chart | Yes | No | No | Yes |
|
| Chart | Yes | No | No | Yes |
|
||||||
| Table (Large dataset) | Yes<br>(Virtual Rows, Columns) | No | Yes<br>(Virtual Rows) | Yes<br>(Virtual Rows, Columns) |
|
| Table (Large dataset) | Yes<br>(Virtual Rows, Columns) | No | Yes<br>(Virtual Rows) | Yes<br>(Virtual Rows, Columns) |
|
||||||
| Table Column Resize | Yes | No | Yes | Yes |
|
| Table Column Resize | Yes | No | Yes | Yes |
|
||||||
| Text base | Rope | String [^3] | trait TextBuffer [^4] | [QTextDocument] |
|
| Text base | Rope | [COSMIC Text] [^3] | trait TextBuffer [^4] | [QTextDocument] |
|
||||||
| CodeEditor | Simple | Simple | Simple | Basic API |
|
| CodeEditor | Simple | Simple | Simple | Basic API |
|
||||||
| Dock Layout | Yes | Yes | Yes | Yes |
|
| Dock Layout | Yes | Yes | Yes | Yes |
|
||||||
| Syntax Highlight | [Tree Sitter] | [Syntect] | [Syntect] | [QSyntaxHighlighter] |
|
| Syntax Highlight | [Tree Sitter] | [Syntect] | [Syntect] | [QSyntaxHighlighter] |
|
||||||
| Markdown Rendering | Yes | Yes | Basic | No |
|
| Markdown Rendering | Yes | Yes | Basic | No |
|
||||||
| Markdown mix HTML | Yes | No | No | No |
|
| Markdown mix HTML | Yes | No | No | No |
|
||||||
| HTML Rendering | Basic | No | No | Basic |
|
| HTML Rendering | Basic | No | No | Basic |
|
||||||
| Text Selection | TextView | No | Any Label | No |
|
| Text Selection | TextView | No | Any Label | No |
|
||||||
| Themes | Yes | No | No | No |
|
| Themes | Yes | No | No | No |
|
||||||
| I18n | Yes | Yes | Yes | Yes |
|
| I18n | Yes | Yes | Yes | Yes |
|
||||||
|
|
||||||
> Please submit an issue or PR if any mistakes or outdated are found.
|
> Please submit an issue or PR if any mistakes or outdated are found.
|
||||||
|
|
||||||
|
|
@ -101,12 +101,13 @@ Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more details.
|
||||||
[Syntect]: https://github.com/trishume/syntect
|
[Syntect]: https://github.com/trishume/syntect
|
||||||
[QSyntaxHighlighter]: https://doc.qt.io/qt-6/qsyntaxhighlighter.html
|
[QSyntaxHighlighter]: https://doc.qt.io/qt-6/qsyntaxhighlighter.html
|
||||||
[QTextDocument]: https://doc.qt.io/qt-6/qtextdocument.html
|
[QTextDocument]: https://doc.qt.io/qt-6/qtextdocument.html
|
||||||
|
[COSMIC Text]: https://github.com/pop-os/cosmic-text
|
||||||
|
|
||||||
[^1]: Release builds by use simple hello world example.
|
[^1]: Release builds by use simple hello world example.
|
||||||
|
|
||||||
[^2]: [Reducing Binary Size of Qt Applications](https://www.qt.io/blog/reducing-binary-size-of-qt-applications-part-3-more-platforms)
|
[^2]: [Reducing Binary Size of Qt Applications](https://www.qt.io/blog/reducing-binary-size-of-qt-applications-part-3-more-platforms)
|
||||||
|
|
||||||
[^3]: Iced TextInput: https://github.com/iced-rs/iced/blob/c65bfd1afb399a74eddb3f66853f3cc385a08826/widget/src/text_input.rs#L111
|
[^3]: Iced Editor: https://github.com/iced-rs/iced/blob/db5a1f6353b9f8520c4f9633d1cdc90242c2afe1/graphics/src/text/editor.rs#L65-L68
|
||||||
|
|
||||||
[^4]: egui TextBuffer: https://github.com/emilk/egui/blob/0a81372cfd3a4deda640acdecbbaf24bf78bb6a2/crates/egui/src/widgets/text_edit/text_buffer.rs#L20
|
[^4]: egui TextBuffer: https://github.com/emilk/egui/blob/0a81372cfd3a4deda640acdecbbaf24bf78bb6a2/crates/egui/src/widgets/text_edit/text_buffer.rs#L20
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue