Skip to content

Commit 46be857

Browse files
committed
remove the unused debugging stuff
1 parent fbfa1cf commit 46be857

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

app/src/processing/app/ui/Editor.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -262,18 +262,8 @@ public void paintComponent(Graphics g) {
262262
textarea = createTextArea();
263263
textarea.setRightClickPopup(new TextAreaPopup());
264264
textarea.setHorizontalOffset(JEditTextArea.leftHandGutter);
265-
/*
266-
//System.out.println(textarea.getPreferredSize());
267-
final int editorHeight = 200;
268-
//Preferences.getInteger("editor.window.height.default") - 340; //240;
269-
final int editorWidth =
270-
Preferences.getInteger("editor.window.width.default") - 70;
271-
// textarea.setPreferredSize(new Dimension(textarea.getPreferredSize().width,
272-
// Toolkit.zoom(textareaHeight)));
273-
textarea.setPreferredSize(Toolkit.zoom(editorWidth, editorHeight));
274-
*/
275265

276-
{ // Hack: add Numpad Slash as an alternative shortcut for Comment/Uncomment
266+
{ // Hack: add Numpad Slash as alternative shortcut for Comment/Uncomment
277267
int modifiers = Toolkit.awtToolkit.getMenuShortcutKeyMask();
278268
KeyStroke keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_DIVIDE, modifiers);
279269
final String ACTION_KEY = "COMMENT_UNCOMMENT_ALT";

0 commit comments

Comments
 (0)