Skip to content

Commit

Permalink
Removed commented out code for raised issues #181 #182
Browse files Browse the repository at this point in the history
  • Loading branch information
barnettwilliam committed Feb 22, 2024
1 parent 05eaf66 commit f1ae72c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
12 changes: 0 additions & 12 deletions platform/src/ConsolePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,18 +225,6 @@ class ConsolePanel extends Panel {
editor.hoverLink.on("open", function (e) {
var location = e.value;
if (editor.getValue().indexOf(location) > -1) {

/* TODO Fix link highlighting original epsilon playground behaviour
by supporting the platforms flexible panel layout.
var matches = location.match(locationRegexp);
var Range = ace.require("ace/range").Range;
var panel = programPanel;
panel.getEditor().selection.setRange(new Range(
parseInt(matches[3]) - 1, parseInt(matches[4]),
parseInt(matches[5]) - 1, parseInt(matches[6])));
*/
}
});
}
Expand Down
9 changes: 0 additions & 9 deletions platform/src/Playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,6 @@ function initializePanels() {
}
});

/* TODO Fix run program shortcut key original epsilon playground behaviour.
$(window).keydown(function(event) {
if ((event.metaKey && event.keyCode == 83) || (event.ctrlKey && event.keyCode == 83)) {
runProgram();
event.preventDefault();
}
});
*/

Metro.init();

activityManager.openActiveActivitiesSubMenu();
Expand Down

0 comments on commit f1ae72c

Please sign in to comment.