code: private void insert(String binding) {
  		currentInput.insert(cursorPos, binding);
  		cursorPos += binding.length();
  
  		// reset view
  		resetMainPart();
  	}
docs: --------------------------------------------------------------------------------------------