~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/BackendBindings/WixBinding/Test/Utils/MockTextEditorOptions.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 
3
 
 
4
using System;
 
5
using ICSharpCode.SharpDevelop.Editor;
 
6
 
 
7
namespace WixBinding.Tests.Utils
 
8
{
 
9
        public class MockTextEditorOptions : ITextEditorOptions
 
10
        {
 
11
                string indentationString = "\t";
 
12
                int indentationSize = 4;
 
13
                bool convertTabsToSpaces;
 
14
                
 
15
                public MockTextEditorOptions()
 
16
                {
 
17
                }
 
18
                
 
19
                public string IndentationString {
 
20
                        get { return indentationString; }
 
21
                        set { indentationString = value; }
 
22
                }
 
23
                
 
24
                public bool AutoInsertBlockEnd {
 
25
                        get {
 
26
                                throw new NotImplementedException();
 
27
                        }
 
28
                }
 
29
                
 
30
                public bool ConvertTabsToSpaces {
 
31
                        get { return convertTabsToSpaces; }
 
32
                        set { convertTabsToSpaces = value; }
 
33
                }
 
34
                
 
35
                public int IndentationSize {
 
36
                        get { return indentationSize; }
 
37
                        set { indentationSize = value; }
 
38
                }
 
39
                
 
40
                public int VerticalRulerColumn {
 
41
                        get {
 
42
                                throw new NotImplementedException();
 
43
                        }
 
44
                }
 
45
                
 
46
                public bool UnderlineErrors {
 
47
                        get {
 
48
                                throw new NotImplementedException();
 
49
                        }
 
50
                }
 
51
                
 
52
                public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged { add { } remove { } }
 
53
                
 
54
                public string FontFamily {
 
55
                        get {
 
56
                                throw new NotImplementedException();
 
57
                        }
 
58
                }
 
59
        }
 
60
}