SpanEditHandler Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Provides methods for handling the span edits.
Inheritance Hierarchy
System.Object
System.Web.Razor.Editor.SpanEditHandler
System.Web.Razor.Editor.ImplicitExpressionEditHandler
System.Web.Razor.Editor.SingleLineMarkupEditHandler
System.Web.Razor.Parser.SyntaxTree.AutoCompleteEditHandler
Namespace: System.Web.Razor.Editor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Class SpanEditHandler
'Usage
Dim instance As SpanEditHandler
public class SpanEditHandler
public ref class SpanEditHandler
type SpanEditHandler = class end
public class SpanEditHandler
The SpanEditHandler type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SpanEditHandler(Func<String, IEnumerable<ISymbol>>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SpanEditHandler class. | |
SpanEditHandler(Func<String, IEnumerable<ISymbol>>, AcceptedCharacters) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SpanEditHandler class. |
Top
Properties
Name | Description | |
---|---|---|
AcceptedCharacters | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets a value that specifies the accepted characters. | |
EditorHints | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the editor hints. | |
Tokenizer | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the method used to parse string into tokens. |
Top
Methods
Name | Description | |
---|---|---|
ApplyChange(Span, TextChange) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Applies the text change to the span. | |
ApplyChange(Span, TextChange, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Applies the text change to the span. | |
CanAcceptChange | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the span can accept the specified change. | |
CreateDefault() | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a new default span edit handler. | |
CreateDefault(Func<String, IEnumerable<ISymbol>>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a new default span edit handler. | |
Equals | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether this instance is equal to a specified object. (Overrides Object.Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the hash code for this instance. (Overrides Object.GetHashCode().) | |
GetOldText | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the old text from the span content. | |
GetType | (Inherited from Object.) | |
IsAtEndOfFirstLine | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified change is at the end of first line of the span content. | |
IsAtEndOfSpan | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified change is at the end of the span. | |
IsEndDeletion | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified change is at the end the span content and for deletion. | |
IsEndInsertion | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified change is at the end the span content and for insertion. | |
IsEndReplace | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified change is at the end the span content and for replacement. | |
MemberwiseClone | (Inherited from Object.) | |
OwnsChange | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the span owns the specified change. | |
ToString | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the string representation of the span edit handler. (Overrides Object.ToString().) | |
UpdateSpan | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Updates the span using the normalized change. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.