Interface ITextMarker
Represents a text marker.
Namespace: ICSharpCode.SharpDevelop.Editor
Assembly: SqlDotNet.Debugger.dll
Syntax
public interface ITextMarker
Properties
| Improve this Doc View SourceBackgroundColor
Gets/Sets the background color.
Declaration
Color? BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.Media.Color> |
EndOffset
Gets the end offset of the marked text region.
Declaration
int EndOffset { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
FontStyle
Gets/Sets the font style.
Declaration
FontStyle? FontStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.FontStyle> |
FontWeight
Gets/Sets the font weight.
Declaration
FontWeight? FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.FontWeight> |
ForegroundColor
Gets/Sets the foreground color.
Declaration
Color? ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.Media.Color> |
IsDeleted
Gets whether the text marker was deleted.
Declaration
bool IsDeleted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Length
Gets the length of the marked region.
Declaration
int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MarkerColor
Gets/Sets the color of the marker.
Declaration
Color MarkerColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Color |
MarkerTypes
Gets/Sets the type of the marker. Use TextMarkerType.None for normal markers.
Declaration
TextMarkerTypes MarkerTypes { get; set; }
Property Value
Type | Description |
---|---|
TextMarkerTypes |
StartOffset
Gets the start offset of the marked text region.
Declaration
int StartOffset { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Tag
Gets/Sets an object with additional data for this text marker.
Declaration
object Tag { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
ToolTip
Gets/Sets an object that will be displayed as tooltip in the text editor.
Declaration
object ToolTip { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Remarks
Not supported in this sample!
Methods
| Improve this Doc View SourceDelete()
Deletes the text marker.
Declaration
void Delete()
Events
| Improve this Doc View SourceDeleted
Event that occurs when the text marker is deleted.
Declaration
event EventHandler Deleted
Event Type
Type | Description |
---|---|
System.EventHandler |