Code example for SpannedString

0
		 
		updatePosition(); 
	} 
	 
	public void clearText() { 
		this.text = new SpannedString("");		
	}	 
	 
	public void clearStoredPosition() { 
		//No-op		 
	} 
	 
	public void reset() { 
		this.storedPosition = 0;
		this.text = new SpannedString("");
	} 
	 
	public void updatePosition() {	 
		 
		if ( this.text.length() == 0 ) {
			return;