linewrap

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapLine

func WrapLine(line ast.Line, lineLength int) []ast.Line

WrapLine breaks line into lines of correct length.

func WrapLineOnce

func WrapLineOnce(line ast.Line, lineLength int) (ast.Line, ast.Line)

WrapLineOnce breaks line into a line of correct length and the remainder.

Types

This section is empty.

Jump to

Keyboard shortcuts

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