TextViewer 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package TextViewer --version 1.0.4                
NuGet\Install-Package TextViewer -Version 1.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TextViewer" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TextViewer --version 1.0.4                
#r "nuget: TextViewer, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TextViewer as a Cake Addin
#addin nuget:?package=TextViewer&version=1.0.4

// Install TextViewer as a Cake Tool
#tool nuget:?package=TextViewer&version=1.0.4                

Text Viewer

Text viewer is a simple dll in a Nuget package that will open a popup window with text and a simple search feature.

Search history is maintained for the most recent 100 searches for each application. The developer may optionally specify a name to the search history file in order to provide different history records for different purposes.

Project

https://github.com/rkreisel/TextViewer.git

Installation

NuGet\Install-Package TextViewer - Version 1.0.0

Usage

Note In both examples, the second parameter is optional. If not specified all viewer instances will share a common file. It will reside in the ProgramData folder under \HotRS\TextViewer\appname\SearchHist-TxtVwrSrchHst.txt

Load text that you create in code:

var viewer = new TextViewer.Viewer("Viewer1", "userdefinednameforsearchhistoryfile");
viewer.LoadText("This is some text");
viewer.Show();

Load text from file

var viewer = new TextViewer.Viewer("Viewer2", "userdefinednameforsearchhistoryfile");
viewer.LoadFile(validfilename);
viewer.Show();
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.6 211 1/3/2024
1.0.5 127 12/21/2023
1.0.4 146 12/14/2023
1.0.3 125 12/14/2023
1.0.2 128 12/14/2023
1.0.1 114 12/14/2023
1.0.0 112 12/13/2023