Skip to content

Commit 4af0ff1

Browse files
committed
Fix Markdown formatting issues in HotLabel docs
1 parent 2f5f137 commit 4af0ff1

21 files changed

+79
-79
lines changed

HotLabel/2/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The _Hot Label Component_ is supplied in a single unit, _PJHotLabel_.
1313
_PJHotLabel_ contains the following classes and other types. They are:
1414

1515
| Type | Description |
16-
| -------- | --------- |
16+
|------|-------------|
1717
| _[TPJHotLabel](./API/TPJHotLabel.md)_ | The Hot Label Component itself. |
1818
| _[EPJURLError](./API/EPJURLError.md)_ | A custom exception that is raised by _[TPJHotLabel](./API/TPJHotLabel.md)_ when URL related errors are encountered. |
1919
| _TPJHLHintStyle_ | An enumeration of hint styles used by the _[HintStyle](./API/TPJHotLabel-HintStyle.md)_ property. See the property's documentation for details. |

HotLabel/2/API/EPJURLError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# EPJURLError #
1+
# EPJURLError
22

33
**Project:** [Hot Label Component](../API.md).
44

55
**Unit:** _PJHotLabel_.
66

77
Exceptions of this class are used to report URL related errors by _[TPJHotLabel](../API/TPJHotLabel.md)_. The exceptions are raised either when URLs fail validation or when default browsers or mail clients can't be started.
88

9-
_EPJURLError_ inherits directly from _Exception_ and adds no new methods, properties or events.
9+
_EPJURLError_ inherits directly from _Exception_ and adds no new methods, properties or events.

HotLabel/2/API/TPJHotLabel-Caption.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Caption property #
1+
# Caption property
22

33
**Project:** [Hot Label Component](../API.md).
44

@@ -10,7 +10,7 @@
1010
property Caption: TCaption;
1111
```
1212

13-
## Description ##
13+
## Description
1414

1515
This property specifies a text string that that may be displayed in the label.
1616

@@ -22,4 +22,4 @@ If the _[ValidateURL](../API/TPJHotLabel-ValidateURL.md)_ and _[CaptionIsURL](..
2222

2323
_Caption_'s behaviour with regard to accelerator characters and the ampersand (`&`) is identical to that of _TLabel_. See Delphi help for further information.
2424

25-
The default value of the _Caption_ property is the default URL `http://localhost/`.
25+
The default value of the _Caption_ property is the default URL `http://localhost/`.

HotLabel/2/API/TPJHotLabel-CaptionIsURL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CaptionIsURL property #
1+
# CaptionIsURL property
22

33
**Project:** [Hot Label Component](../API.md).
44

@@ -10,12 +10,12 @@
1010
property CaptionIsURL: Boolean;
1111
```
1212

13-
## Description ##
13+
## Description
1414

1515
The _CaptionIsURL_ property is used to determine whether the _[Caption](../API/TPJHotLabel-Caption.md)_ property displays the URL assigned to the _[URL](../API/TPJHotLabel-URL.md)_ property or whether it can display descriptive text.
1616

1717
Set _CaptionIsURL_ to `True` to link the _[Caption](../API/TPJHotLabel-Caption.md)_ property to the _[URL](../API/TPJHotLabel-URL.md)_ property - so that assigning one property also assigns the other. This makes it easy to display a URL in the label without assigning two properties with the same value.
1818

1919
Setting _CaptionIsURL_ to `False` enables any text to be assigned to the _[Caption](../API/TPJHotLabel-Caption.md)_ property. This permits descriptive text to be displayed in the label that accesses the separately stored URL when the label is clicked. **Tip:** to give the user visual feedback of the actual URL when the mouse hovers over the label set the _[HintStyle](../API/TPJHotLabel-HintStyle.md)_ property to `hsURL`.
2020

21-
The default value of _CaptionIsURL_ is `True`.
21+
The default value of _CaptionIsURL_ is `True`.

HotLabel/2/API/TPJHotLabel-Cursor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Cursor property #
1+
# Cursor property
22

33
**Project:** [Hot Label Component](../API.md).
44

@@ -10,7 +10,7 @@
1010
property Cursor: TCursor;
1111
```
1212

13-
## Description ##
13+
## Description
1414

1515
_Cursor_ specifies the image used to represent the mouse pointer when it passes into the region covered by the control.
1616

@@ -20,4 +20,4 @@ The value of _Cursor_ is the index of the cursor in the list of cursors maintain
2020

2121
The _Cursor_ property of _[TPJHotLabel](../API/TPJHotLabel.md)_ differs from the inherited property in that its default cursor is `crHandPoint` rather than `crDefault`.
2222

23-
**Note:** Earlier versions of the component used a custom cursor named `crHand`. For backward compatibility this constant is defined in the _PJHotLabel_ unit to have the same value as `crHandPoint`.
23+
**Note:** Earlier versions of the component used a custom cursor named `crHand`. For backward compatibility this constant is defined in the _PJHotLabel_ unit to have the same value as `crHandPoint`.

HotLabel/2/API/TPJHotLabel-Font.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Font property #
1+
# Font property
22

33
**Project:** [Hot Label Component](../API.md).
44

@@ -10,7 +10,7 @@
1010
property Font: TFont;
1111
```
1212

13-
## Description ##
13+
## Description
1414

1515
_Font_ controls the attributes font used to display the label when it is not highlighted.
1616

@@ -22,4 +22,4 @@ The default value of _[TPJHotLabel](../API/TPJHotLabel.md)_'s _Font_ property is
2222

2323
Since the default font attributes are likely to be different to those of the inherited _Font_ property the _[ParentFont](../API/TPJHotLabel-ParentFont.md)_ property defaults to `False` rather than `True` in the ancestor property. This means that any change to the parent control's font will not be echoed in this component.
2424

25-
Note that _Font_ is always used as the component's display font at design time.
25+
Note that _Font_ is always used as the component's display font at design time.

HotLabel/2/API/TPJHotLabel-HighlightFont.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HighlightFont property #
1+
# HighlightFont property
22

33
**Project:** [Hot Label Component](../API.md).
44

@@ -10,12 +10,12 @@
1010
property HighlightFont: TFont;
1111
```
1212

13-
## Description ##
13+
## Description
1414

1515
This property controls the appearance of the label when the mouse passes over it.
1616

1717
A _[TPJHotLabel](../API/TPJHotLabel.md)_ can highlight its text when the mouse passes over the control. The font that is used to highlight the text is determined by the _HighlightFont_ property. The property defaults to the same font as the _[Font](../API/TPJHotLabel-Font.md)_ property but with the colour changed to `clRed`.
1818

1919
Note that the highlighting only takes place when the _[HighlightURL](../API/TPJHotLabel-HighlightURL.md)_ property is `True`.
2020

21-
It is recommended that only the colour and certain styles of the font are altered and the font size and name remain unchanged so that the label does not grow and shrink when the cursor passes over it. See the [highlighting example](../Examples/Example1.md) for details of two suitable designs.
21+
It is recommended that only the colour and certain styles of the font are altered and the font size and name remain unchanged so that the label does not grow and shrink when the cursor passes over it. See the [highlighting example](../Examples/Example1.md) for details of two suitable designs.

HotLabel/2/API/TPJHotLabel-HighlightURL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HighlightURL property #
1+
# HighlightURL property
22

33
**Project:** [Hot Label Component](../API.md).
44

@@ -10,10 +10,10 @@
1010
property HighlightURL: Boolean;
1111
```
1212

13-
## Description ##
13+
## Description
1414

1515
_HighlightURL_ determines whether the label's text is highlighted when the mouse passes of the control.
1616

1717
When this property is `True` the label's text is highlighted using the font defined by the _[HighlightFont](TPJHotLabelHighlightFont.md)_ property. When _HighlightURL_ is `False` the text is not highlighted and the _[HighlightFont](TPJHotLabelHighlightFont.md)_ property is ignored.
1818

19-
This property is provided to maintain backward compatibility with previous versions of the component that did not support text highlighting. The default value of the property is `False` so that by default the control does not highlight its text.
19+
This property is provided to maintain backward compatibility with previous versions of the component that did not support text highlighting. The default value of the property is `False` so that by default the control does not highlight its text.

HotLabel/2/API/TPJHotLabel-Hint.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Hint property #
1+
# Hint property
22

33
**Project:** [Hot Label Component](../API.md).
44

@@ -10,8 +10,8 @@
1010
property Hint: string;
1111
```
1212

13-
## Description ##
13+
## Description
1414

1515
_Hint_ contains a text string that can appear when the user moves the mouse over the control.
1616

17-
With one exception, the _Hint_ property of _[TPJHotLabel](../API/TPJHotLabel.md)_ operates in the same way as the inherited property. The exception is that the _[HintStyle](../API/TPJHotLabel-HintStyle.md)_ property can change the source of the hint's text. The hint text can be taken from the _[URL](../API/TPJHotLabel-URL.md)_ property or a custom value can be supplied by handling the _[OnCustomHint](../API/TPJHotLabel-OnCustomHint.md)_ event. If the _[URL](../API/TPJHotLabel-URL.md)_ property value is used _Hint_ is ignored. If custom hints are used, the value of the _Hint_ property is supplied to the event handler for modification.
17+
With one exception, the _Hint_ property of _[TPJHotLabel](../API/TPJHotLabel.md)_ operates in the same way as the inherited property. The exception is that the _[HintStyle](../API/TPJHotLabel-HintStyle.md)_ property can change the source of the hint's text. The hint text can be taken from the _[URL](../API/TPJHotLabel-URL.md)_ property or a custom value can be supplied by handling the _[OnCustomHint](../API/TPJHotLabel-OnCustomHint.md)_ event. If the _[URL](../API/TPJHotLabel-URL.md)_ property value is used _Hint_ is ignored. If custom hints are used, the value of the _Hint_ property is supplied to the event handler for modification.

HotLabel/2/API/TPJHotLabel-HintStyle.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HintStyle property #
1+
# HintStyle property
22

33
**Project:** [Hot Label Component](../API.md).
44

@@ -13,16 +13,16 @@ type
1313
property HintStyle: TPJHLHintStyle;
1414
```
1515

16-
## Description ##
16+
## Description
1717

1818
The _HintStyle_ property determines how the text displayed in the component's pop-up hint is derived. There are three possible sources of the hint text:
1919

20-
| **Style** | **Notes** |
21-
|:----------|:----------|
20+
| Style | Notes |
21+
|:------|:------|
2222
| `hsNormal` | The pop-up hint displays as normal - i.e. the hint's text is taken from the _[Hint](../API/TPJHotLabel-Hint.md)_ property. |
2323
| `hsURL` | The pop-up hint displays the _[URL](../API/TPJHotLabel-URL.md)_ property value. The _[Hint](../API/TPJHotLabel-Hint.md)_ property is ignored. |
2424
| `hsCustom` | The user can specify a custom hint by handling the _[OnCustomHint](../API/TPJHotLabel-OnCustomHint.md)_ event. See the _[OnCustomHint](../API/TPJHotLabel-OnCustomHint.md)_ topic for details of how the hint is set in the event handler. If the _[OnCustomHint](../API/TPJHotLabel-OnCustomHint.md)_ event is not handled then the hint's text comes from the _[Hint](../API/TPJHotLabel-Hint.md)_ property as normal. |
2525

2626
Note that no pop-up hint will display unless hints are enabled. This is done by ensuring the inherited _ShowHint_ property is `True`.
2727

28-
The default value of _HintStyle_ is `hsNormal`.
28+
The default value of _HintStyle_ is `hsNormal`.

0 commit comments

Comments
 (0)