# Functions
ContentsToStr returns a converted string and byte position, as well as the content position conversion table.
No description provided by the author
ExecCommand return the structure of oviewer.
GetKeyBinds returns the current key mapping based on the provided configuration.
KeyBindString returns keybind as a string for help.
NewChunk returns chunk.
NewCommand return the structure of Command.
NewConfig return the structure of Config with default values.
NewDocument creates and initializes a new [Document] with default settings.
NewHelp generates a document for help.
NewInput returns all the various inputs.
NewLogDoc generates a document for log.
NewOviewer return the structure of oviewer.
NewRoot returns the structure of the oviewer.
NewSearcher returns the Searcher interface suitable for the search term.
NewStore returns store.
Open reads the file named of the argument and return the structure of oviewer.
OpenDocument opens a file specified by fileName and returns a Document.
RangeStyle applies the style to the specified range.
RawStrToContents converts a single-line string into a one line of contents.
SetShrinkContent sets the shrink character.
STDINDocument creates and returns a Document that reads from stdin.
StrToContents converts a single-line string into a one line of contents.
ToTcellStyle convert from OVStyle to tcell style.
# Constants
Backsearch is a backward search input mode.
BZIP2 is bzip2 compressed format.
Colors256 is the index of the 256 color.
ColorsRGB is the index of the RGB color.
virtual terminal size.
ConvertType is the convert type.
Delimiter is a delimiter input mode.
document type.
document type.
document type.
document type.
EOFC is the EOF character.
Filter is a filter input mode.
FormFeed is the delimiter that separates the sections.
Goline is a move input mode.
GZIP is gzip compressed format.
Header is the number of headers input mode.
HeaderColumn is the number of vertical header columns input mode.
JumpTarget is the position to display the search results.
No description provided by the author
LZ4 is lz4 compressed format.
MaxWriteLog is the maximum number of lines to output to the log when the debug flag is enabled.
No description provided by the author
MouseFlags represents which events of the mouse should be captured.
MultiColor is multi-word coloring.
Normal is normal mode.
QuitSmallCountDown is the countdown to quit if the output fits on one screen.
No description provided by the author
virtual terminal size.
No description provided by the author
No description provided by the author
No description provided by the author
SaveBuffer is the save buffer.
Search is a search input mode.
SectionDelimiter is a section delimiter input mode.
SectionNum is the section number.
SectionStart is a section start position input mode.
SkipLines is the number of lines to skip.
TabWidth is the tab number input mode.
UNCOMPRESSED is an uncompressed format.
No description provided by the author
VerticalHeader is the number of vertical headers input mode.
ViewMode is a view selection input mode.
Watch is the watch interval input mode.
WriteBA is the number of ranges to write at quit.
XZ is xz compressed format.
ZSTD is zstd compressed format.
# Variables
ChunkSize is the unit of number of lines to split the file.
DefaultContent is a blank Content.
EOFContent is EOFC only.
ErrAlreadyClose indicates that it is already closed.
ErrAlreadyLoaded indicates that the chunk already loaded.
ErrCancel indicates cancel.
ErrCannotClose indicates that it cannot be closed.
ErrEOFreached indicates that EOF has been reached.
ErrEvictedMemory indicates that it has been evicted from memory.
ErrFailedKeyBind indicates keybinding failed.
ErrFatalCache indicates that the cache value had a fatal error.
ErrInvalidDocumentNum indicates that the document number is invalid.
ErrInvalidNumber indicates an invalid number.
ErrInvalidSGR indicates that the SGR is invalid.
ErrIsDirectory indicates that specify a directory instead of a file.
ErrMissingFile indicates that the file does not exist.
ErrNoColumn indicates that cursor specified a nonexistent column.
ErrNoColumnSelected indicates that no column is selected.
ErrNoDelimiter indicates that the line containing the delimiter could not be found.
ErrNoMoreSection indicates that the section could not be found.
ErrNotAlignMode indicates that it is not an align mode.
ErrNotFound indicates not found.
ErrNotInMemory indicates that value is not in memory.
ErrNotLoaded indicates that it cannot be loaded.
ErrNotSupport indicates that it is not supported.
ErrNotTerminal indicates that it is not a terminal.
ErrOutOfChunk indicates that the specified Chunk is out of range.
ErrOutOfRange indicates that value is out of range.
ErrOverChunkLimit indicates that the chunk limit has been exceeded.
ErrOverScreen indicates that the specified screen is out of range.
ErrPreventReload indicates that reload is prevented.
ErrRequestClose indicates that the request is to close.
ErrSignalCatch indicates that the signal has been caught.
MemoryLimit is a number that limits the chunks to load into memory.
MemoryLimitFile is a number that limits the chunks loading a file into memory.
OverLineStyle represents the overline underline style.
OverStrikeStyle represents the overstrike style.
Shrink is a character that represents a shrunk column.
ShrinkContent is a content that represents a shrunk column.
SkipExtract is a flag to skip extracting compressed files.
SpaceContent is a space character.
Redirects the error output of ov --exec.
Redirect to standard output.
UpdateInterval is the update interval that calls eventUpdate().
WheelScrollNum is the number of lines to scroll with the mouse wheel.
# Structs
Command is the structure of the command.
Config represents the settings of ov.
Document represents a document with various properties and methods for handling file operations, caching, synchronization, and display settings.
Input represents the status of various inputs.
LineC is one line of information.
LineNumber is Number of logical lines and number of wrapping lines on the screen.
No description provided by the author
OVPromptConfig is the prompt setting.
OVPromptConfigNormal is the normal prompt setting.
OVStyle represents a style in addition to the original style.
Root is the root structure of the oviewer.
SCR contains the screen information.
# Type aliases
Compressed represents the type of compression.
InputMode represents the state of the input.
KeyBind is the mapping of action and key.
RulerType is the type of ruler.