Created
November 29, 2008 20:16
-
-
Save migueldeicaza/30301 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LineEditor { | |
public delegate string [] AutoCompleteHandler (string text, int pos); | |
/// <summary> | |
/// Invoked when the user requests auto-completion using the tab character | |
/// </summary> | |
/// <remarks> | |
/// The result is null for no values found, an array with a single | |
/// string, in that case the string should be the text to be inserted | |
/// for example if the word at pos is "T", the result for a completion | |
/// of "ToString" should be "oString", not "ToString". | |
/// | |
/// When there are multiple results, the result should be the full | |
/// text | |
/// </remarks> | |
public AutoCompleteHandler AutoCompleteEvent; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment