예제 #1
0
        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);
        }
예제 #2
0
        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();
        }
예제 #3
0
 public void SetTextToInputBox()
 {
     InputModel.InputCore.SetText(InputSetting.Create(SelectedText));
 }