public void EmitTextChanged(Atk.TextChangedDetail detail, int position, int length, string curText) { if (curText == null) { curText = Text; } GLib.Timeout.Add(0, new GLib.TimeoutHandler(delegate { cachedText = curText.Substring(position, length); cachedTextStart = position; cachedTextEnd = position + length; GLib.Signal.Emit(resource, "text_changed::" + detail.ToString().ToLower(), position, length); cachedText = null; return(false); })); }
public void EmitTextChanged(Atk.TextChangedDetail detail, int position, int length) { EmitTextChanged(detail, position, length, null); }