You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
912 B
42 lines
912 B
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) |
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt) |
|
|
|
using System; |
|
using ICSharpCode.NRefactory; |
|
using ICSharpCode.SharpDevelop.Editor; |
|
|
|
namespace ICSharpCode.Scripting.Tests.Utils |
|
{ |
|
public class FakeCaret : ITextEditorCaret |
|
{ |
|
public event EventHandler PositionChanged; |
|
|
|
protected virtual void OnPositionChanged(EventArgs e) |
|
{ |
|
if (PositionChanged != null) { |
|
PositionChanged(this, e); |
|
} |
|
} |
|
|
|
public int Offset { get; set; } |
|
public int Line { get; set; } |
|
|
|
public int Column { |
|
get { |
|
throw new NotImplementedException(); |
|
} |
|
set { |
|
throw new NotImplementedException(); |
|
} |
|
} |
|
|
|
public Location Position { |
|
get { |
|
throw new NotImplementedException(); |
|
} |
|
set { |
|
throw new NotImplementedException(); |
|
} |
|
} |
|
} |
|
}
|
|
|