Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/rars/venus/EditPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ public EditPane(VenusUI appFrame) {
}
// sourceCode is responsible for its own scrolling
this.add(this.sourceCode.getOuterComponent(), BorderLayout.CENTER);

// Allow the editor to be shrunk down to a very small height
this.setMinimumSize(new Dimension(0, 0));

// If source code is modified, will set flag to trigger/request file save.
sourceCode.getDocument().addDocumentListener(
Expand Down Expand Up @@ -635,4 +638,4 @@ private Font getLineNumberFont(Font sourceFont) {
}


}
}