You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ge...@apache.org on 2021/03/06 21:42:10 UTC

[netbeans-website] branch master updated: Removing links obscuring the code

This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f8d101  Removing links obscuring the code
3f8d101 is described below

commit 3f8d10179005a4319c31566987104b7b0a81dc90
Author: Geertjan Wielenga <ge...@apache.org>
AuthorDate: Sat Mar 6 22:42:04 2021 +0100

    Removing links obscuring the code
---
 .../src/content/tutorials/nbm-hyperlink.asciidoc           | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/netbeans.apache.org/src/content/tutorials/nbm-hyperlink.asciidoc b/netbeans.apache.org/src/content/tutorials/nbm-hyperlink.asciidoc
index 5f48c80..1a5cfa4 100644
--- a/netbeans.apache.org/src/content/tutorials/nbm-hyperlink.asciidoc
+++ b/netbeans.apache.org/src/content/tutorials/nbm-hyperlink.asciidoc
@@ -42,14 +42,6 @@ Though the focus of this tutorial is on hyperlinking in an HTML file, the princi
 NOTE:  This document is applicable to NetBeans IDE 8.0 and NetBeans Platform 8.0. If you are using an earlier version, see  link:74/nbm-hyperlink.html[the previous version of this document].
 
 
-
-
-
-
-
-For troubleshooting purposes, you are welcome to download the  link:http://web.archive.org/web/20170409072842/http://java.net/projects/nb-api-samples/show/versions/8.0/tutorials/MySpecialHyperlink[completed tutorial source code].
-
-
 == Getting Started
 
 In this section, we use a wizard to create a module project. We declare dependencies on modules that provide the NetBeans API classes needed by our hyperlink module.
@@ -138,7 +130,7 @@ private int targetEnd;
 
 === isHyperlinkPoint(Document doc, int offset)
 
- `` link:https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-editor-lib/org/netbeans/lib/editor/hyperlink/spi/HyperlinkProvider.html#isHyperlinkPoint(javax.swing.text.Document,%20int)[isHyperlinkPoint(Document doc, int offset)]``  determines whether there should be a hyperlink at the given offset within the given document.
+ ``isHyperlinkPoint(Document doc, int offset)``  determines whether there should be a hyperlink at the given offset within the given document.
 
 
 [source,java]
@@ -174,7 +166,7 @@ public boolean verifyState(Document doc, int offset) {
 
 === getHyperlinkSpan(Document doc, int offset)
 
- `` link:https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-editor-lib/org/netbeans/lib/editor/hyperlink/spi/HyperlinkProvider.html#getHyperlinkSpan(javax.swing.text.Document,%20int)[getHyperlinkSpan(Document doc, int offset)]``  determines the length of the hyperlink.
+ ``getHyperlinkSpan(Document doc, int offset)``  determines the length of the hyperlink.
 
 
 [source,java]
@@ -193,7 +185,7 @@ public int[] getHyperlinkSpan(Document document, int offset) {
 
 === performClickAction(Document doc, int offset)
 
- `` link:https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-editor-lib/org/netbeans/lib/editor/hyperlink/spi/HyperlinkProvider.html#performClickAction(javax.swing.text.Document,%20int)[performClickAction(Document doc, int offset)]``  determines what happens when the hyperlink is clicked. In general, a document should open, the cursor should move to a certain place in a document, or both. Here a simple message is displayed with the identified special content:
+ ``performClickAction(Document doc, int offset)``  determines what happens when the hyperlink is clicked. In general, a document should open, the cursor should move to a certain place in a document, or both. Here a simple message is displayed with the identified special content:
 
 
 [source,java]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists