Skip to content

Commit

Permalink
Revert "reload document after setting source"
Browse files Browse the repository at this point in the history
This reverts commit 6117a5b.
  • Loading branch information
ix0rai committed Jan 25, 2024
1 parent 6117a5b commit 1c39091
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,6 @@ public void setSource(DecompiledClassSource source) {
this.source = source;
this.editor.getHighlighter().removeAllHighlights();
this.editor.setText(source.toString());
// todo maybe?
this.editor.setContentType("text/enigma-sources");

this.setHighlightedTokens(source.getHighlightedTokens());
if (this.source != null) {
Expand Down

0 comments on commit 1c39091

Please sign in to comment.