original_string: function split_text($offset)
      {
          if ($offset == 0) {
              return null;
          }
  
          $split = $this->_frame->get_node()->splitText($offset);
  
          $deco = $this->copy($split);
  
          $p = $this->get_parent();
          $p->insert_child_after($deco, $this, false);
  
          if ($p instanceof Inline) {
              $p->split($deco);
          }
  
          return $deco;
      }
code: function split_text($offset)
      {
          if ($offset == 0) {
              return null;
          }
  
          $split = $this->_frame->get_node()->splitText($offset);
  
          $deco = $this->copy($split);
  
          $p = $this->get_parent();
          $p->insert_child_after($deco, $this, false);
  
          if ($p instanceof Inline) {
              $p->split($deco);
          }
  
          return $deco;
      }
code_tokens: function split_text ( $ offset ) { if ( $ offset == 0 ) { return null ; } $ split = $ this -> _frame -> get_node ( ) -> splitText ( $ offset ) ; $ deco = $ this -> copy ( $ split ) ; $ p = $ this -> get_parent ( ) ; $ p -> insert_child_after ( $ deco , $ this , false ) ; if ( $ p instanceof Inline ) { $ p -> split ( $ deco ) ; } return $ deco ; }
docstring: split the text in this frame at the offset specified.  The remaining
  text is added a sibling frame following this one and is returned.
  
  @param $offset
  @return Frame|null
docstring_tokens: split the text in this frame at the offset specified . The remaining text is added a sibling frame following this one and is returned .