code: @Override
  	public boolean onButtonPress(MouseButton button)
  	{
  		if (button != MouseButton.LEFT)
  			return super.onButtonRelease(button);
  		if (GuiScreen.isShiftKeyDown())
  		{
  			if (!selectingText)
  			{
  				selectingText = true;
  				selectionCursor.from(cursor);
  			}
  		}
  		else
  			selectingText = false;
  
  		cursor.fromMouse();
  
  		return true;
  	}
docs: #region Input