Skip to content

Iced Code Editor

A high-performance, canvas-based code editor widget with syntax highlighting, line numbers, text selection, and keyboard navigation for the Iced GUI framework.

open-source
  • Rust
  • Iced
  • syntect

A high-performance, canvas-based code editor widget for the Iced (opens in new tab) GUI framework.

Features

  • Syntax highlighting for multiple programming languages via syntect
  • Line numbers with styled gutter
  • Text selection via mouse drag and keyboard shortcuts
  • Clipboard operations (copy, paste)
  • Undo/Redo with smart command grouping and configurable history
  • Custom scrollbars with themed styling
  • Focus management for multiple editors
  • Native Iced theme support — adapts to all 23+ built-in Iced themes
  • Line wrapping for long lines
  • High performance canvas-based rendering
  • Search and replace text
  • Language Server Protocol (LSP) support