Method: TkTextMark#next

Defined in:
ext/lib/tk/textmark.rb

#next(index = nil) ⇒ Object



124
125
126
127
128
129
130
# File 'ext/lib/tk/textmark.rb', line 124

def next(index = nil)
  if index
    @t.tagid2obj(_fromUTF8(tk_call_without_enc(@t.path, 'mark', 'next', _get_eval_enc_str(index))))
  else
    @t.tagid2obj(_fromUTF8(tk_call_without_enc(@t.path, 'mark', 'next', @id)))
  end
end