Browse Source

Snippet Compiler sample now compiles.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3778 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 17 years ago
parent
commit
0a31a6ee30
  1. 5
      samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/MainViewContent.cs
  2. 9
      samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/Workbench.cs
  3. 5
      samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchLayout.cs
  4. 8
      samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchWindow.cs

5
samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/MainViewContent.cs

@ -215,6 +215,11 @@ namespace ICSharpCode.SharpSnippetCompiler.Core @@ -215,6 +215,11 @@ namespace ICSharpCode.SharpSnippetCompiler.Core
{
}
public IDocument GetDocumentForFile(OpenedFile file)
{
return null;
}
public void JumpTo(int line, int column)
{
textEditor.ActiveTextAreaControl.JumpTo(line, column);

9
samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/Workbench.cs

@ -48,6 +48,10 @@ namespace ICSharpCode.SharpSnippetCompiler.Core @@ -48,6 +48,10 @@ namespace ICSharpCode.SharpSnippetCompiler.Core
get { return views; }
}
public ICollection<IViewContent> PrimaryViewContents {
get { return views.AsReadOnly(); }
}
public IList<IWorkbenchWindow> WorkbenchWindowCollection {
get {
throw new NotImplementedException();
@ -95,6 +99,11 @@ namespace ICSharpCode.SharpSnippetCompiler.Core @@ -95,6 +99,11 @@ namespace ICSharpCode.SharpSnippetCompiler.Core
throw new NotImplementedException();
}
public void ShowView(IViewContent content, bool switchToOpenedView)
{
throw new NotImplementedException();
}
public void UnloadPad(PadDescriptor content)
{
throw new NotImplementedException();

5
samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchLayout.cs

@ -108,6 +108,11 @@ namespace ICSharpCode.SharpSnippetCompiler @@ -108,6 +108,11 @@ namespace ICSharpCode.SharpSnippetCompiler
throw new NotImplementedException();
}
public IWorkbenchWindow ShowView(IViewContent content, bool switchToOpenedView)
{
throw new NotImplementedException();
}
public void LoadConfiguration()
{
Console.WriteLine("WorkbenchLayout.LoadConfiguration not implemented");

8
samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchWindow.cs

@ -64,12 +64,8 @@ namespace ICSharpCode.SharpSnippetCompiler @@ -64,12 +64,8 @@ namespace ICSharpCode.SharpSnippetCompiler
}
public IViewContent ActiveViewContent {
get {
throw new NotImplementedException();
}
set {
throw new NotImplementedException();
}
get { return null; }
set { }
}
public Icon Icon {

Loading…
Cancel
Save