├── .editorconfig ├── .github └── workflows │ ├── ci.yaml │ └── publish.yaml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE.md ├── README.md ├── dotnet-tools.json ├── examples ├── Demo │ ├── .editorconfig │ ├── Demo.csproj │ └── Program.cs └── Repl │ ├── .editorconfig │ ├── JavaScriptHighlighter.cs │ ├── Program.cs │ └── Repl.csproj ├── global.json ├── resources └── gfx │ ├── large-logo.png │ ├── medium-logo.png │ └── small-logo.png └── src ├── .editorconfig ├── Directory.Build.props ├── Directory.Packages.props ├── RadLine.Tests ├── Commands │ ├── AutoCompleteCommandTests.cs │ ├── BackspaceCommandTests.cs │ ├── DeleteCommandTests.cs │ └── InsertCommandTests.cs ├── KeyBindingsTests.cs ├── LineBufferTests.cs ├── LineEditorTests.cs ├── RadLine.Tests.csproj └── Utilities │ ├── DelegateTextCompletion.cs │ ├── SimpleServiceProvider.cs │ └── TestInputSource.cs ├── RadLine.slnx ├── RadLine.v3.ncrunchsolution └── RadLine ├── AutoComplete.cs ├── Commands ├── AutoCompleteCommand.cs ├── BackspaceCommand.cs ├── Cursor │ ├── MoveDownCommand.cs │ ├── MoveEndCommand.cs │ ├── MoveFirstLineCommand.cs │ ├── MoveHomeCommand.cs │ ├── MoveLastLineCommand.cs │ ├── MoveLeftCommand.cs │ ├── MoveRightCommand.cs │ ├── MoveUpCommand.cs │ ├── NextWordCommand.cs │ └── PreviousWordCommand.cs ├── DeleteCommand.cs ├── InsertCommand.cs ├── NewLineCommand.cs ├── NextHistoryCommand.cs ├── PreviousHistoryCommand.cs └── SubmitCommand.cs ├── IHighlighter.cs ├── IInputSource.cs ├── ILineDecorationRenderer.cs ├── ILineEditorHistory.cs ├── ILineEditorPrompt.cs ├── ILineEditorState.cs ├── ITextCompletion.cs ├── ITextCompletionExtensions.cs ├── Internal ├── DefaultInputSource.cs ├── DefaultServiceProvider.cs ├── Extensions │ ├── AnsiConsoleExtensions.cs │ ├── IServiceProviderExtensions.cs │ ├── IntExtensions.cs │ └── StringExtensions.cs ├── IHighlighterAccessor.cs ├── InputBuffer.cs ├── KeyBinding.cs ├── KeyBindingComparer.cs ├── LineEditorAnsiBuilder.cs ├── LineEditorRenderer.cs ├── LineEditorState.cs └── StringTokenizer.cs ├── KeyBindings.cs ├── KeyBindingsExtensions.cs ├── LineBuffer.cs ├── LineBufferExtensions.cs ├── LineEditor.cs ├── LineEditorCommand.cs ├── LineEditorContext.cs ├── LineEditorHistory.cs ├── Prompts ├── LineEditorPrompt.cs └── LineNumberPrompt.cs ├── RadLine.csproj ├── SubmitAction.cs └── WordHighlighter.cs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/README.md -------------------------------------------------------------------------------- /dotnet-tools.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/dotnet-tools.json -------------------------------------------------------------------------------- /examples/Demo/.editorconfig: -------------------------------------------------------------------------------- 1 | root = false 2 | 3 | [*.cs] 4 | -------------------------------------------------------------------------------- /examples/Demo/Demo.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/examples/Demo/Demo.csproj -------------------------------------------------------------------------------- /examples/Demo/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/examples/Demo/Program.cs -------------------------------------------------------------------------------- /examples/Repl/.editorconfig: -------------------------------------------------------------------------------- 1 | root = false 2 | 3 | [*.cs] 4 | -------------------------------------------------------------------------------- /examples/Repl/JavaScriptHighlighter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/examples/Repl/JavaScriptHighlighter.cs -------------------------------------------------------------------------------- /examples/Repl/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/examples/Repl/Program.cs -------------------------------------------------------------------------------- /examples/Repl/Repl.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/examples/Repl/Repl.csproj -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/global.json -------------------------------------------------------------------------------- /resources/gfx/large-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/resources/gfx/large-logo.png -------------------------------------------------------------------------------- /resources/gfx/medium-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/resources/gfx/medium-logo.png -------------------------------------------------------------------------------- /resources/gfx/small-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/resources/gfx/small-logo.png -------------------------------------------------------------------------------- /src/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/.editorconfig -------------------------------------------------------------------------------- /src/Directory.Build.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/Directory.Build.props -------------------------------------------------------------------------------- /src/Directory.Packages.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/Directory.Packages.props -------------------------------------------------------------------------------- /src/RadLine.Tests/Commands/AutoCompleteCommandTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/Commands/AutoCompleteCommandTests.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/Commands/BackspaceCommandTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/Commands/BackspaceCommandTests.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/Commands/DeleteCommandTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/Commands/DeleteCommandTests.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/Commands/InsertCommandTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/Commands/InsertCommandTests.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/KeyBindingsTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/KeyBindingsTests.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/LineBufferTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/LineBufferTests.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/LineEditorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/LineEditorTests.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/RadLine.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/RadLine.Tests.csproj -------------------------------------------------------------------------------- /src/RadLine.Tests/Utilities/DelegateTextCompletion.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/Utilities/DelegateTextCompletion.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/Utilities/SimpleServiceProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/Utilities/SimpleServiceProvider.cs -------------------------------------------------------------------------------- /src/RadLine.Tests/Utilities/TestInputSource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.Tests/Utilities/TestInputSource.cs -------------------------------------------------------------------------------- /src/RadLine.slnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.slnx -------------------------------------------------------------------------------- /src/RadLine.v3.ncrunchsolution: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine.v3.ncrunchsolution -------------------------------------------------------------------------------- /src/RadLine/AutoComplete.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/AutoComplete.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/AutoCompleteCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/AutoCompleteCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/BackspaceCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/BackspaceCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/MoveDownCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/MoveDownCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/MoveEndCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/MoveEndCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/MoveFirstLineCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/MoveFirstLineCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/MoveHomeCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/MoveHomeCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/MoveLastLineCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/MoveLastLineCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/MoveLeftCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/MoveLeftCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/MoveRightCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/MoveRightCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/MoveUpCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/MoveUpCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/NextWordCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/NextWordCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/Cursor/PreviousWordCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/Cursor/PreviousWordCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/DeleteCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/DeleteCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/InsertCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/InsertCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/NewLineCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/NewLineCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/NextHistoryCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/NextHistoryCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/PreviousHistoryCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/PreviousHistoryCommand.cs -------------------------------------------------------------------------------- /src/RadLine/Commands/SubmitCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Commands/SubmitCommand.cs -------------------------------------------------------------------------------- /src/RadLine/IHighlighter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/IHighlighter.cs -------------------------------------------------------------------------------- /src/RadLine/IInputSource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/IInputSource.cs -------------------------------------------------------------------------------- /src/RadLine/ILineDecorationRenderer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/ILineDecorationRenderer.cs -------------------------------------------------------------------------------- /src/RadLine/ILineEditorHistory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/ILineEditorHistory.cs -------------------------------------------------------------------------------- /src/RadLine/ILineEditorPrompt.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/ILineEditorPrompt.cs -------------------------------------------------------------------------------- /src/RadLine/ILineEditorState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/ILineEditorState.cs -------------------------------------------------------------------------------- /src/RadLine/ITextCompletion.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/ITextCompletion.cs -------------------------------------------------------------------------------- /src/RadLine/ITextCompletionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/ITextCompletionExtensions.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/DefaultInputSource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/DefaultInputSource.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/DefaultServiceProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/DefaultServiceProvider.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/Extensions/AnsiConsoleExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/Extensions/AnsiConsoleExtensions.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/Extensions/IServiceProviderExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/Extensions/IServiceProviderExtensions.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/Extensions/IntExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/Extensions/IntExtensions.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/Extensions/StringExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/Extensions/StringExtensions.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/IHighlighterAccessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/IHighlighterAccessor.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/InputBuffer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/InputBuffer.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/KeyBinding.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/KeyBinding.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/KeyBindingComparer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/KeyBindingComparer.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/LineEditorAnsiBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/LineEditorAnsiBuilder.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/LineEditorRenderer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/LineEditorRenderer.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/LineEditorState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/LineEditorState.cs -------------------------------------------------------------------------------- /src/RadLine/Internal/StringTokenizer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Internal/StringTokenizer.cs -------------------------------------------------------------------------------- /src/RadLine/KeyBindings.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/KeyBindings.cs -------------------------------------------------------------------------------- /src/RadLine/KeyBindingsExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/KeyBindingsExtensions.cs -------------------------------------------------------------------------------- /src/RadLine/LineBuffer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/LineBuffer.cs -------------------------------------------------------------------------------- /src/RadLine/LineBufferExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/LineBufferExtensions.cs -------------------------------------------------------------------------------- /src/RadLine/LineEditor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/LineEditor.cs -------------------------------------------------------------------------------- /src/RadLine/LineEditorCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/LineEditorCommand.cs -------------------------------------------------------------------------------- /src/RadLine/LineEditorContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/LineEditorContext.cs -------------------------------------------------------------------------------- /src/RadLine/LineEditorHistory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/LineEditorHistory.cs -------------------------------------------------------------------------------- /src/RadLine/Prompts/LineEditorPrompt.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Prompts/LineEditorPrompt.cs -------------------------------------------------------------------------------- /src/RadLine/Prompts/LineNumberPrompt.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/Prompts/LineNumberPrompt.cs -------------------------------------------------------------------------------- /src/RadLine/RadLine.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/RadLine.csproj -------------------------------------------------------------------------------- /src/RadLine/SubmitAction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/SubmitAction.cs -------------------------------------------------------------------------------- /src/RadLine/WordHighlighter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spectreconsole/radline/HEAD/src/RadLine/WordHighlighter.cs --------------------------------------------------------------------------------