Skip to content

Commit

Permalink
Update RSTA and remove workaround for hyperlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Sep 26, 2022
1 parent 54eb839 commit ba12901
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>us.deathmarine</groupId>
<artifactId>luyten</artifactId>
<version>0.8.1</version>
<version>0.8.2</version>

<properties>
<!-- Project settings -->
Expand All @@ -17,7 +17,7 @@
<applejavaext.version>1.4</applejavaext.version>
<picocli.version>4.6.3</picocli.version>
<procyon.version>0.6.0</procyon.version>
<rsyntaxtextarea.version>3.2.0</rsyntaxtextarea.version>
<rsyntaxtextarea.version>3.3.0</rsyntaxtextarea.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/us/deathmarine/luyten/MainMenuBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ private void buildHelpMenu(JMenu helpMenu) {
link.setCursor(new Cursor(Cursor.HAND_CURSOR));
link.addMouseListener(new LinkListener(rsyntax, link));
pane.add(link);
pane.add(new JLabel("Version: 3.2.0"));
pane.add(new JLabel("Version: 3.3.0"));
pane.add(new JLabel("(c) 2022 Robert Futrell"));

String picocli = "https://github.com/remkop/picocli";
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/us/deathmarine/luyten/OpenFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ public OpenFile(String name, String path, Theme theme, final MainWindow mainWind

textArea.setHyperlinksEnabled(true);
textArea.setLinkScanningMask(Keymap.ctrlDownModifier());
textArea.addHyperlinkListener(e -> {
// Empty Hyperlink listener as a workaround
});

textArea.setLinkGenerator((textArea, offs) -> {
final String uniqueStr = getUniqueStrForOffset(offs);
Expand Down

0 comments on commit ba12901

Please sign in to comment.