Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3929 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
12 changed files with 108 additions and 7 deletions
@ -0,0 +1,37 @@
@@ -0,0 +1,37 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <author name="Daniel Grunwald"/>
|
||||
// <version>$Revision: 3925 $</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.SharpDevelop |
||||
{ |
||||
/// <summary>
|
||||
/// Container class for the parameters available to the Complete function.
|
||||
/// </summary>
|
||||
public class CompletionContext |
||||
{ |
||||
/// <summary>
|
||||
/// Gets/Sets the editor in which completion is performed.
|
||||
/// </summary>
|
||||
public ITextEditor Editor { get; set; } |
||||
|
||||
/// <summary>
|
||||
/// Gets/Sets the start offset of the completion range.
|
||||
/// </summary>
|
||||
public int StartOffset { get; set; } |
||||
|
||||
/// <summary>
|
||||
/// Gets/Sets the end offset of the completion range.
|
||||
/// </summary>
|
||||
public int EndOffset { get; set; } |
||||
|
||||
/// <summary>
|
||||
/// Gets the length between EndOffset and StartOffset.
|
||||
/// </summary>
|
||||
public int Length { get { return EndOffset - StartOffset; } } |
||||
} |
||||
} |
Loading…
Reference in new issue