Method: TkTextMark.id2obj
- Defined in:
- ext/lib/tk/textmark.rb
.id2obj(text, id) ⇒ Object
22 23 24 25 26 27 28 29 30 31 |
# File 'ext/lib/tk/textmark.rb', line 22 def TkTextMark.id2obj(text, id) tpath = text.path TMarkID_TBL.mutex.synchronize{ if TMarkID_TBL[tpath] TMarkID_TBL[tpath][id]? TMarkID_TBL[tpath][id]: id else id end } end |