libraries/tbs/plugins/tbs_plugin_opentbs.php
function switchToNormal() {
		// Save info
		$src = $this->GetSrc();
		$this->Txt = &$this->rel_Txt;
		$x = false;
		$this->rel_Txt = &$x;
		$this->Txt = substr_replace($this->Txt, $src, $this->rel_PosBeg, $this->rel_Len);
		$this->_ApplyDiffToAll(+$this->rel_PosBeg);
		$this->rel_PosBeg = false;
		$this->rel_Len = false;
	}
function switchToNormal() {
		// Save info
		$src = $this->GetSrc();
		$this->Txt = &$this->rel_Txt;
		$x = false;
		$this->rel_Txt = &$x;
		$this->Txt = substr_replace($this->Txt, $src, $this->rel_PosBeg, $this->rel_Len);
		$this->_ApplyDiffToAll(+$this->rel_PosBeg);
		$this->rel_PosBeg = false;
		$this->rel_Len = false;
	}
function switchToNormal ( ) { // Save info $ src = $ this -> GetSrc ( ) ; $ this -> Txt = & $ this -> rel_Txt ; $ x = false ; $ this -> rel_Txt = & $ x ; $ this -> Txt = substr_replace ( $ this -> Txt , $ src , $ this -> rel_PosBeg , $ this -> rel_Len ) ; $ this -> _ApplyDiffToAll ( + $ this -> rel_PosBeg ) ; $ this -> rel_PosBeg = false ; $ this -> rel_Len = false ; }
To use after switchToRelative(): save modificatin to the normal contents and update positions.
To use after switchToRelative () : save modificatin to the normal contents and update positions .