diff --git a/samples/AvalonEdit.Sample/App.xaml.cs b/samples/AvalonEdit.Sample/App.xaml.cs index 7b6750393d..36c332b798 100644 --- a/samples/AvalonEdit.Sample/App.xaml.cs +++ b/samples/AvalonEdit.Sample/App.xaml.cs @@ -1,4 +1,22 @@ -using System; +// Copyright (c) 2009 Daniel Grunwald +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of this +// software and associated documentation files (the "Software"), to deal in the Software +// without restriction, including without limitation the rights to use, copy, modify, merge, +// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons +// to whom the Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies or +// substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + +using System; using System.Windows; using System.Data; using System.Xml; diff --git a/samples/AvalonEdit.Sample/AvalonEdit/dependencies.png b/samples/AvalonEdit.Sample/AvalonEdit/dependencies.png new file mode 100644 index 0000000000..6655f805eb Binary files /dev/null and b/samples/AvalonEdit.Sample/AvalonEdit/dependencies.png differ diff --git a/samples/AvalonEdit.Sample/AvalonEdit/screenshot.png b/samples/AvalonEdit.Sample/AvalonEdit/screenshot.png new file mode 100644 index 0000000000..524f91fd88 Binary files /dev/null and b/samples/AvalonEdit.Sample/AvalonEdit/screenshot.png differ diff --git a/samples/AvalonEdit.Sample/MyCompletionData.cs b/samples/AvalonEdit.Sample/MyCompletionData.cs index faee432f28..8295e25c33 100644 --- a/samples/AvalonEdit.Sample/MyCompletionData.cs +++ b/samples/AvalonEdit.Sample/MyCompletionData.cs @@ -1,9 +1,20 @@ -// -// -// -// -// $Revision$ -// +// Copyright (c) 2009 Daniel Grunwald +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of this +// software and associated documentation files (the "Software"), to deal in the Software +// without restriction, including without limitation the rights to use, copy, modify, merge, +// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons +// to whom the Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies or +// substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. using System; using ICSharpCode.AvalonEdit.CodeCompletion; diff --git a/samples/AvalonEdit.Sample/article.html b/samples/AvalonEdit.Sample/article.html index 9123b19311..b54700419f 100644 --- a/samples/AvalonEdit.Sample/article.html +++ b/samples/AvalonEdit.Sample/article.html @@ -44,11 +44,14 @@ CODE { COLOR: #990000; FONT-FAMILY: "Courier New", Courier, mono; } +

The latest version of AvalonEdit can be found as part of the SharpDevelop project. +For details on AvalonEdit, please see www.avalonedit.net.

-

Sample Image - maximum width is 600 pixels

+

Sample Image

@@ -99,8 +102,8 @@ ASP.NET, Boo, Coco/R grammars, C++, C#, HTML, Java, JavaScript, Patch files, PHP

Architecture

-TODO: overview of the namespaces, insert graph from NDepend - +Namespace Dependency Graph +

As you can see in this dependency graph, AvalonEdit consists of a few sub-namespaces that have cleanly separated jobs. Most of the namespaces have a kind of 'main' class.