Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit b6f31ca

Browse files
committed
Expose the underlying undomanager to fit Arduino IDE needs
1 parent ee82e3a commit b6f31ca

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Note that Maven- and signing-related properties are in <maven-home>/gradle.properties
22
javaVersion=1.6
3-
version=2.6.1
3+
version=2.6.1.1+arduino

src/main/java/org/fife/ui/rtextarea/RTextArea.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,13 @@ private void writeObject(ObjectOutputStream s) throws IOException {
16751675

16761676
}
16771677

1678+
public RUndoManager getUndoManager() {
1679+
return undoManager;
1680+
}
1681+
1682+
public void setUndoManager(RUndoManager undoManager) {
1683+
this.undoManager = undoManager;
1684+
}
16781685

16791686
/**
16801687
* Modified from <code>MutableCaretEvent</code> in

0 commit comments

Comments
 (0)