public void QuotePermalink() { if (IsDirectMessage) { // disable on direct messages return; } var setting = InputSetting.Create(this.Model.GetSuitableReplyAccount(), " " + this.Status.Permalink); setting.CursorPosition = CursorPosition.Begin; InputModel.InputCore.SetText(setting); }
public void ReplySelecteds() { var users = SelectedStatuses .Select(s => "@" + s.User.ScreenName) .Distinct() .JoinString(" "); var accs = CurrentAccounts.Select(id => Setting.Accounts.Get(id)) .Where(a => a != null) .ToArray(); InputModel.InputCore.SetText(InputSetting.Create(accs, users + " ")); DeselectAll(); }
public void SetTextToInputBox() { InputModel.InputCore.SetText(InputSetting.Create(SelectedText)); }