Share via


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
Public method 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.
Public method 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
Public property 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.
Public property 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.
Public property 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
Public method 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.
Public method 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.
Protected method 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.
Public methodStatic member 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.
Public methodStatic member 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.
Public method 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).)
Protected method Finalize (Inherited from Object.)
Public method 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().)
Protected methodStatic member 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.
Public method GetType (Inherited from Object.)
Protected methodStatic member 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.
Protected methodStatic member 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.
Protected methodStatic member 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.
Protected methodStatic member 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.
Protected methodStatic member 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.
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.
Public method 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().)
Protected method 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.

See Also

Reference

System.Web.Razor.Editor Namespace