Skip to content

Commit e7cc637

Browse files
Merge pull request #734 from creativeArtie/master
Fixed the links pointing to the demo source pages
2 parents 26bf5c2 + 0613a3a commit e7cc637

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ It has three parameter types:
8181

8282
Functional programming via lambdas specify how to apply styles, how to create a `Node` for a given segment, and how to operate on a given segment (e.g., getting its length, combining it with another segment, etc.).
8383

84-
`GenericStyledArea` is used in the [Rich-text demo](#rich-text-editor) below.
84+
`GenericStyledArea` is used in the [Rich-text demo](richtextfx-demos/README.md#rich-text-editor).
8585

8686
See the wiki for a basic pattern that one must follow to implement custom objects correctly.
8787

@@ -123,7 +123,7 @@ This renders the text in the range `[from, to)` in red.
123123

124124
#### CodeArea
125125

126-
`CodeArea` is a variant of `StyleClassedTextArea` that uses a fixed width font by default, making it a convenient base for source code editors. `CodeArea` is used in the [Java Keywords demo](#automatic-highlighting-of-java-keywords) below.
126+
`CodeArea` is a variant of `StyleClassedTextArea` that uses a fixed width font by default, making it a convenient base for source code editors. `CodeArea` is used in the [Java Keywords demo](richtextfx-demos/README.md#automatic-highlighting-of-java-keywords).
127127

128128
Requirements
129129
------------

richtextfx-demos/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ Note: This page does not show all the demos in the package. Follow the instructi
3030

3131
### Rich-text editor
3232

33-
Source Code: [RichText.java](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/richtext/RichText.java)
33+
Source Code: [RichTextDemo.java](src/main/java/org/fxmisc/richtext/demo/richtext/RichTextDemo.java)
3434

3535
![Screenshot of the RichText demo](./screenshots/RichTextDemo.jpg)
3636

3737
### Automatic highlighting of Java keywords
3838

3939
Source Code:
4040

41-
[JavaKeywords.java](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/JavaKeywords.java)
41+
[JavaKeywordsDemo.java](src/main/java/org/fxmisc/richtext/demo/JavaKeywordsDemo.java)
4242

43-
[JavaKeywordsAsync.java](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/JavaKeywordsAsync.java)
43+
[JavaKeywordsAsyncDemo.java](src/main/java/org/fxmisc/richtext/demo/JavaKeywordsAsyncDemo.java)
4444

4545
The former computes highlighting on the JavaFX application thread, while the latter computes highlighting on a background thread.
4646

@@ -50,20 +50,20 @@ The former computes highlighting on the JavaFX application thread, while the lat
5050

5151
Similar to the [Java Keywords](#automatic-highlighting-of-java-keywords) demo above, this demo highlights XML syntax. Courtesy of @cemartins.
5252

53-
Source Code: [XMLEditor.java](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/XMLEditorDemo.java)
53+
Source Code: [XMLEditorDemo.java](src/main/java/org/fxmisc/richtext/demo/XMLEditorDemo.java)
5454

5555
![Screenshot of the XML Editor demo](./screenshots/XMLEditorDemo.jpg)
5656

5757
### Multiple Carets and Selections
5858

59-
Source Code: [MultiCaretAndSelectionDemo.java](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/MultiCaretAndSelectionDemo.java)
59+
Source Code: [MultiCaretAndSelectionDemo.java](src/main/java/org/fxmisc/richtext/demo/MultiCaretAndSelectionDemo.java)
6060

6161
![Screenshot of the Multiple Carets and Selections demo](./screenshots/MultiCaretAndSelectionDemo.jpg)
6262

6363
### Custom tooltips
6464

6565
When the mouse pauses over the text area, you can get index of the character under the mouse. This allows you to implement, for example, custom tooltips whose content depends on the text under the mouse.
6666

67-
Source Code: [TooltipDemo.java](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/TooltipDemo.java)
67+
Source Code: [TooltipDemo.java](src/main/java/org/fxmisc/richtext/demo/TooltipDemo.java)
6868

6969
![Screenshot of the Tooltip demo](./screenshots/TooltipDemo.jpg)

0 commit comments

Comments
 (0)