universal_code_viewer library

Classes

HighlightSpan
A span of text that should be highlighted in a specific way.
LineScanner
A subclass of StringScanner that tracks line and column information.
LineScannerState
A class representing the state of a LineScanner.
SpanScanner
A subclass of LineScanner that exposes matched ranges as source map FileSpans.
StringScanner
A class that scans through a string using Patterns.
SyntaxHighlighterStyles
SyntaxStyle
UniversalCodeViewer
A customizable code viewer widget that supports syntax highlighting for multiple programming languages.
UniversalSyntaxHighlighter

Exceptions / Errors

StringScannerException
An exception thrown by a StringScanner that failed to parse a string.