Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ TestResults

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
.vs

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
Binary
[Dd]ebug/
[Rr]elease/
x64/
Expand Down
2 changes: 1 addition & 1 deletion FastColoredTextBox/DocumentMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public FastColoredTextBox Target
/// </summary>
[Description("Scale")]
[DefaultValue(0.3f)]
public float Scale
public new float Scale
{
get { return scale; }
set
Expand Down
160 changes: 25 additions & 135 deletions FastColoredTextBox/FastColoredTextBox.csproj
Original file line number Diff line number Diff line change
@@ -1,148 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{6DD14A85-CCFC-4774-BD26-0F5772512319}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFrameworks>net20;net5.0-windows</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<RootNamespace>FastColoredTextBoxNS</RootNamespace>
<AssemblyName>FastColoredTextBox</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\FastColoredTextBox.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>

<PropertyGroup>
<Description>Fast сolored textbox control</Description>
<Company>Pavel Torgashov</Company>
<Copyright>© Pavel Torgashov, 2011-2016, pavel_torgashov@ukr.net.</Copyright>
<Trademark></Trademark>
<VersionPrefix>2.16.27</VersionPrefix>
<VersionSuffix>beta-001</VersionSuffix>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>FCTB_key.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup>
<AssemblyOriginatorKeyFile>FCTB_key.snk</AssemblyOriginatorKeyFile>
<PackageId>FCTB</PackageId>
<Title>Fast Colored TextBox</Title>
<Owners>$(Company)</Owners>
<Authors>$(Company)</Authors>
<PackageDescription>Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET.</PackageDescription>
<PackageProjectUrl>http://www.codeproject.com/Articles/161871/Fast-Colored-TextBox-for-syntax-highlighting</PackageProjectUrl>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\Binary</PackageOutputPath>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />

<ItemGroup Condition=" '$(TargetFramework)' == 'net20' ">
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.XML" />
</ItemGroup>
<ItemGroup>
<Compile Include="AutocompleteItem.cs" />
<Compile Include="AutocompleteMenu.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Bookmarks.cs" />
<Compile Include="Char.cs" />
<Compile Include="DocumentMap.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="EncodingDetector.cs" />
<Compile Include="ExportToHTML.cs" />
<Compile Include="ExportToRTF.cs" />
<Compile Include="GoToForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="GoToForm.Designer.cs">
<DependentUpon>GoToForm.cs</DependentUpon>
</Compile>
<Compile Include="Hints.cs" />
<Compile Include="HotkeysEditorForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="HotkeysEditorForm.Designer.cs">
<DependentUpon>HotkeysEditorForm.cs</DependentUpon>
</Compile>
<Compile Include="LineNumberFormatting.cs" />
<Compile Include="LinesAccessor.cs" />
<Compile Include="MacrosManager.cs" />
<Compile Include="PlatformType.cs" />
<Compile Include="Hotkeys.cs" />
<Compile Include="Ruler.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Ruler.Designer.cs">
<DependentUpon>Ruler.cs</DependentUpon>
</Compile>
<Compile Include="SyntaxDescriptor.cs" />
<Compile Include="SyntaxHighlighter.cs" />
<Compile Include="ReplaceForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ReplaceForm.Designer.cs">
<DependentUpon>ReplaceForm.cs</DependentUpon>
</Compile>
<Compile Include="FastColoredTextBox.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="CommandManager.cs" />
<Compile Include="Commands.cs" />
<Compile Include="FindForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FindForm.Designer.cs">
<DependentUpon>FindForm.cs</DependentUpon>
</Compile>
<Compile Include="LimitedStack.cs" />
<Compile Include="Line.cs" />
<Compile Include="Place.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Range.cs" />
<Compile Include="Style.cs" />
<Compile Include="TextSource.cs" />
<Compile Include="TypeDescriptor.cs" />
<Compile Include="FileTextSource.cs" />
<Compile Include="UnfocusablePanel.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="VisualMarker.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="FastColoredTextBox.resx">
<DependentUpon>FastColoredTextBox.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FindForm.resx">
<DependentUpon>FindForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="GoToForm.resx">
<DependentUpon>GoToForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="HotkeysEditorForm.resx">
<DependentUpon>HotkeysEditorForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ReplaceForm.resx">
<DependentUpon>ReplaceForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="FCTB_key.snk" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->

</Project>
21 changes: 0 additions & 21 deletions FastColoredTextBox/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FastColoredTextBox")]
[assembly: AssemblyDescription("Fast сolored textbox control")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Pavel Torgashov")]
[assembly: AssemblyProduct("FastColoredTextBox")]
[assembly: AssemblyCopyright("© Pavel Torgashov, 2011-2016, pavel_torgashov@ukr.net.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -21,17 +14,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("95be11b3-45bc-4512-be26-a860a78bd1f1")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.16.26.0")]
[assembly: AssemblyFileVersion("2.16.26.0")]