Table of Contents

Class EditHyperText

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

Represents properties and methods to operate with hypertext within Edit control's content.

public class EditHyperText : IEditHyperText, IHyperText
Inheritance
EditHyperText
Implements

Constructors

EditHyperText()

Initializes a new instance of the HyperTextEx class with default settings.

EditHyperText(ISyntaxEdit)

Initializes a new instance of the HyperTextEx class with a specified owner.

Properties

HighlightHyperText

Gets or sets a value indicating whether hypertext urls in the text should be highlighted.

ShowHints

Gets or sets value indicating whether default hint for hypertext section needs displaying when user moves mouse over the hypertext.

UrlColor

Gets or sets a value that represents color of highlighted urls.

UrlStyle

Gets or sets font style of highlighted urls.

UrlTable

Represents hash table containing hyper-text characters.

Methods

Assign(IEditHyperText)

Copies the contents from another IEditHyperText object.

IsHyperText(string)

Indicates whether given text is hypertext.

IsUrlAtPoint(int, int)

Indicates whether text at specified position is hypertext.

IsUrlAtPoint(int, int, out string)

Indicates whether text at specified position is hypertext.

IsUrlAtPoint(int, int, out string, bool)

Indicates whether text at specified position contains a hyperlink.

IsUrlAtTextPoint(int, int, out string)

Indicates whether text at specified position is hypertext.

IsUrlAtTextPoint(int, int, out string, bool)
OnShowHintsChanged()
OnUrlColorChanged()
OnUrlStyleChanged()
ResetHighlightHyperText()

Resets HighlightHyperText to the default value.

ResetShowHints()

Resets the ShowHints to the default value.

ResetUrlColor()

Resets the UrlColor to the default value.

ResetUrlStyle()

Resets the UrlStyle to the default value.

ShouldSerializeUrlColor()

Indicates whether the UrlColor property should be persisted.

ShouldSerializeUrlStyle()

Indicates whether the UrlStyle property should be persisted.

UrlJump(string)

Tries to launch default browser to process specified url.

Events

HyperText

Occurs when a control needs checking whether some string represents hypertext.

JumpToUrl

Occurs when user attempts to jump to url by clicking on it in the Edit control.