Lines 42-48
Link Here
|
42 |
* made subject to such option by the copyright holder. |
42 |
* made subject to such option by the copyright holder. |
43 |
*/ |
43 |
*/ |
44 |
|
44 |
|
45 |
package org.netbeans.modules.editor.lib; |
45 |
package org.netbeans.api.editor; |
46 |
|
46 |
|
47 |
import java.beans.PropertyChangeListener; |
47 |
import java.beans.PropertyChangeListener; |
48 |
import java.beans.PropertyChangeSupport; |
48 |
import java.beans.PropertyChangeSupport; |
Lines 60-65
Link Here
|
60 |
import javax.swing.text.BadLocationException; |
60 |
import javax.swing.text.BadLocationException; |
61 |
import javax.swing.text.JTextComponent; |
61 |
import javax.swing.text.JTextComponent; |
62 |
import javax.swing.text.Position; |
62 |
import javax.swing.text.Position; |
|
|
63 |
import org.netbeans.modules.editor.lib2.URLMapper; |
64 |
import org.netbeans.modules.editor.lib2.WeakPositions; |
63 |
|
65 |
|
64 |
/** |
66 |
/** |
65 |
* 0 1 2 3 4 waypoints.size() |
67 |
* 0 1 2 3 4 waypoints.size() |
Lines 74-80
Link Here
|
74 |
* navigateBack() == W3, moves pointer one position left |
76 |
* navigateBack() == W3, moves pointer one position left |
75 |
* navigateForward() == W4, moves pointer one position right |
77 |
* navigateForward() == W4, moves pointer one position right |
76 |
* |
78 |
* |
77 |
* |
79 |
* @since 1.74 |
78 |
* @author Vita Stejskal |
80 |
* @author Vita Stejskal |
79 |
*/ |
81 |
*/ |
80 |
public final class NavigationHistory { |
82 |
public final class NavigationHistory { |
Lines 290-299
Link Here
|
290 |
|
292 |
|
291 |
return waypoint; |
293 |
return waypoint; |
292 |
} |
294 |
} |
293 |
|
295 |
|
|
|
296 |
/* |
297 |
* @since 1.74 |
298 |
*/ |
294 |
public static final class Waypoint { |
299 |
public static final class Waypoint { |
295 |
|
300 |
|
296 |
private NavigationHistory navigationHistory; |
301 |
private final NavigationHistory navigationHistory; |
297 |
private Reference<JTextComponent> compRef; |
302 |
private Reference<JTextComponent> compRef; |
298 |
private Position pos; |
303 |
private Position pos; |
299 |
private URL url; |
304 |
private URL url; |