code: public void deleteFromCursor(int amount)
  	{
  		if (!selectingText)
  		{
  			selectingText = true;
  			selectionCursor.from(cursor);
  			selectionCursor.jumpBy(amount);
  		}
  		deleteSelectedText();
  	}
docs: Deletes the specified <b>amount</b> of characters. Negative numbers will delete characters left of the cursor.<br>
  If text is already selected, delete that text instead.
  
  @param amount the amount of characters to delete