Updated readability of the code.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / gui / textEditorComponent / TextEditComponent.java
index 44b19aa..0cd379c 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Sixth 3D engine. Author: Svjatoslav Agejenko. 
+ * Sixth 3D engine. Author: Svjatoslav Agejenko.
  * This project is released under Creative Commons Zero (CC0) license.
  */
 package eu.svjatoslav.sixth.e3d.gui.textEditorComponent;
@@ -495,7 +495,6 @@ public class TextEditComponent extends GuiComponent implements ClipboardOwner {
         if (keyCode == KeyboardHelper.PGUP) {
             cursorLocation.row -= textCanvas.getSize().row;
             repaintPage = true;
-            return;
         }
 
     }