richtexteditor

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

README

Rich Text Editor

A rich text editor example: a multiline text input with a toolbar that applies ranged style overrides interactively, wrapped in the shared editor chrome (menu bar, status bar, and file dialogs).

  • Bold, italic, underline, and strikethrough toggles (also in the Format menu). A button lights up when the property is uniformly on across the selection. With no selection, a toggle applies to the text typed next.
  • Text color and highlight palettes with a default entry that restores the base style.
  • Font size stepping through a fixed scale ladder.
  • Clearing the style overrides of the selection.
  • Undo and redo, restoring the styles alongside the text.
  • New and Open with an unsaved-changes confirmation. Saving is not implemented yet: a saved file would lose its styles, as a rich text file format is still to be decided, so the save menu items are disabled.
  • Text search (Cmd/Ctrl+F).

Licenses

InterVariable-Italic.ttf.gz

Inter

Adopted InterVariable-Italic.ttf from the Inter 4.1 release, gzipped. It complements the upright Inter face bundled in basicwidget.

Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)

SIL OPEN FONT LICENSE Version 1.1

The images in resource

Material Symbols & Icons - Google Fonts

Apache License, Version 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL