Method: TkTextMark#next

Defined in:
lib/tk/textmark.rb

#next(index = nil) ⇒ Object


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

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