Browse Source

Document CompletionWindow.StartOffset and EndOffset.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4031 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 17 years ago
parent
commit
34ed9d7591
  1. 2
      src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/CodeCompletion/CompletionWindow.cs
  2. 2
      src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/CodeCompletion/ICompletionData.cs

2
src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/CodeCompletion/CompletionWindow.cs

@ -89,6 +89,7 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion @@ -89,6 +89,7 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion
/// <summary>
/// Gets/Sets the start offset of the edited text portion.
/// This text portion is used to determine the text used to select an entry in the completion list by typing.
/// </summary>
public int StartOffset {
get { return startOffset; }
@ -97,6 +98,7 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion @@ -97,6 +98,7 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion
/// <summary>
/// Gets/Sets the end offset of the edited text portion.
/// This text portion is used to determine the text used to select an entry in the completion list by typing.
/// </summary>
public int EndOffset {
get { return endOffset; }

2
src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/CodeCompletion/ICompletionData.cs

@ -42,7 +42,7 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion @@ -42,7 +42,7 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion
/// </summary>
/// <param name="textArea">The text area on which completion is performed.</param>
/// <param name="completionSegment">The text segment that was used by the completion window if
/// the user types.</param>
/// the user types (segment between CompletionWindow.StartOffset and CompletionWindow.EndOffset).</param>
/// <param name="insertionRequestEventArgs">The EventArgs used for the insertion request.
/// These can be TextCompositionEventArgs, KeyEventArgs, MouseEventArgs, depending on how
/// the insertion was triggered.</param>

Loading…
Cancel
Save