private void HandleMatchSelected(object sender, MatchSelectedArgs args)
        {
            string name = args.Model.GetValue (args.Iter, TextColumn) as string;
            //Log.DebugFormat ("match selected..{0}", name);

            int pos = entry.Position;
            string updated_text = completion_logic.ReplaceKey (entry.Text, name, ref pos);

            completing = true;
            entry.Text = updated_text;
            entry.Position = pos;
            completing = false;

            args.RetVal = true;
            //Log.Debug ("done w/ match selected");
        }
 void Completion_MatchSelected(object o, MatchSelectedArgs args)
 {
     House = args.Model.GetValue (args.Iter, 0).ToString ();
     args.RetVal = true;
 }
 void Completion_MatchSelected(object o, MatchSelectedArgs args)
 {
     city = args.Model.GetValue (args.Iter, (int)columns.City).ToString ();
     cityDistrict = args.Model.GetValue (args.Iter, (int)columns.District).ToString ();
     locality = (LocalityType)args.Model.GetValue (args.Iter, (int)columns.Locality);
     UpdateText ();
     osmId = (long)args.Model.GetValue (args.Iter, (int)columns.OsmId);
     OnCitySelected ();
     args.RetVal = true;
 }
 void Completion_MatchSelected(object o, MatchSelectedArgs args)
 {
     Street = args.Model.GetValue (args.Iter, (int)columns.Street).ToString ();
     StreetDistrict = args.Model.GetValue (args.Iter, (int)columns.District).ToString ();
     ExistOnOSM = true;
     args.RetVal = true;
 }
        private void HandleMatchSelected(object sender, MatchSelectedArgs args)
        {
            // Delete what the user had entered in case their casing wasn't the same
            entry.DeleteText (entry.Position - transformed_key.Length, entry.Position);

            string name = args.Model.GetValue (args.Iter, TextColumn) as string;
            //Console.WriteLine ("match selected..{0}", name);
            int pos = entry.Position;

            completing = true;
            entry.InsertText (name, ref pos);
            completing = false;

            entry.Position += name.Length;

            args.RetVal = true;
            //Console.WriteLine ("done w/ match selected");
        }