comments

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Unlicense Imports: 5 Imported by: 0

Documentation

Overview

Package comments contains logic for working with comments. It's currently go-specific (only works with //).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier interface {
	Apply(text.Editor, ...text.Edit)
}

type Editor

type Editor interface {
	text.Editor
}

type Selecter

type Selecter interface {
	SelectionSlice() []gxui.TextSelection
}

type Toggle

type Toggle struct {
	// contains filtered or unexported fields
}

func NewToggle

func NewToggle() *Toggle

func (*Toggle) Defaults

func (c *Toggle) Defaults() []fmt.Stringer

func (*Toggle) Exec

func (t *Toggle) Exec() error

func (*Toggle) Menu

func (c *Toggle) Menu() string

func (*Toggle) Name

func (c *Toggle) Name() string

func (*Toggle) Reset

func (t *Toggle) Reset()

func (*Toggle) Store

func (t *Toggle) Store(target interface{}) bind.Status

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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