//新着取得時のリストスクロールをするか。trueならスクロールしない
ListLockMenuItem.Checked = _cfgCommon.ListLock;
this.LockListFileMenuItem.Checked = _cfgCommon.ListLock;
- //文末ステータス
- SettingDialog.Status = _cfgLocal.StatusText;
//未読管理。trueなら未読管理する
SettingDialog.UnreadManage = _cfgCommon.UnreadManage;
//サウンド再生(タブ別設定より優先)
SettingDialog.FontInputFont = _fntInputFont;
SettingDialog.NameBalloon = _cfgCommon.NameBalloon;
- SettingDialog.PostCtrlEnter = _cfgCommon.PostCtrlEnter;
- SettingDialog.PostShiftEnter = _cfgCommon.PostShiftEnter;
SettingDialog.CountApi = _cfgCommon.CountApi;
SettingDialog.CountApiReply = _cfgCommon.CountApiReply;
SettingDialog.BrowserPath = _cfgLocal.BrowserPath;
SettingDialog.PostAndGet = _cfgCommon.PostAndGet;
- SettingDialog.UseRecommendStatus = _cfgLocal.UseRecommendStatus;
SettingDialog.DispUsername = _cfgCommon.DispUsername;
SettingDialog.CloseToExit = _cfgCommon.CloseToExit;
SettingDialog.MinimizeToTray = _cfgCommon.MinimizeToTray;
//SettingDialog.UrlConvertAuto = _cfgCommon.UrlConvertAuto;
SettingDialog.DefaultTimeOut = _cfgCommon.DefaultTimeOut;
- SettingDialog.RetweetNoConfirm = _cfgCommon.RetweetNoConfirm;
SettingDialog.PlaySound = _cfgCommon.PlaySound;
SettingDialog.LimitBalloon = _cfgCommon.LimitBalloon;
SettingDialog.EventNotifyEnabled = _cfgCommon.EventNotifyEnabled;
SettingDialog.BitlyUser = _cfgCommon.BilyUser;
SettingDialog.BitlyPwd = _cfgCommon.BitlyPwd;
SettingDialog.Language = _cfgCommon.Language;
- SettingDialog.UseAtIdSupplement = _cfgCommon.UseAtIdSupplement;
- SettingDialog.UseHashSupplement = _cfgCommon.UseHashSupplement;
SettingDialog.PreviewEnable = _cfgCommon.PreviewEnable;
SettingDialog.StatusAreaAtBottom = _cfgCommon.StatusAreaAtBottom;
AtIdSupl = new AtIdSupplement(SettingAtIdList.Load().AtIdList, "@");
bool isCutOff = false;
bool isRemoveFooter = MyCommon.IsKeyDown(Keys.Shift);
- if (StatusText.Multiline && !SettingDialog.PostCtrlEnter)
+ if (StatusText.Multiline && !this._cfgCommon.PostCtrlEnter)
{
//複数行でEnter投稿の場合、Ctrlも押されていたらフッタ付加しない
isRemoveFooter = MyCommon.IsKeyDown(Keys.Control);
}
- if (SettingDialog.PostShiftEnter)
+ if (this._cfgCommon.PostShiftEnter)
{
isRemoveFooter = MyCommon.IsKeyDown(Keys.Control);
}
}
if (!isRemoveFooter)
{
- if (SettingDialog.UseRecommendStatus)
+ if (this._cfgLocal.UseRecommendStatus)
// 推奨ステータスを使用する
footer += SettingDialog.RecommendStatusText;
else
// テキストボックスに入力されている文字列を使用する
- footer += " " + SettingDialog.Status.Trim();
+ footer += " " + this._cfgLocal.StatusText.Trim();
}
}
args.status.status = header + StatusText.Text + footer;
{
if (e.KeyChar == '@')
{
- if (!SettingDialog.UseAtIdSupplement) return;
+ if (!this._cfgCommon.UseAtIdSupplement) return;
//@マーク
int cnt = AtIdSupl.ItemCount;
ShowSuplDialog(StatusText, AtIdSupl);
}
else if (e.KeyChar == '#')
{
- if (!SettingDialog.UseHashSupplement) return;
+ if (!this._cfgCommon.UseHashSupplement) return;
ShowSuplDialog(StatusText, HashSupl);
e.Handled = true;
}
int pLen = 140 - statusText.Length;
if (this.NotifyIcon1 == null || !this.NotifyIcon1.Visible) return pLen;
- if ((isAuto && !MyCommon.IsKeyDown(Keys.Control) && SettingDialog.PostShiftEnter) ||
- (isAuto && !MyCommon.IsKeyDown(Keys.Shift) && !SettingDialog.PostShiftEnter) ||
+ if ((isAuto && !MyCommon.IsKeyDown(Keys.Control) && this._cfgCommon.PostShiftEnter) ||
+ (isAuto && !MyCommon.IsKeyDown(Keys.Shift) && !this._cfgCommon.PostShiftEnter) ||
(!isAuto && isAddFooter))
{
- if (SettingDialog.UseRecommendStatus)
+ if (this._cfgLocal.UseRecommendStatus)
pLen -= SettingDialog.RecommendStatusText.Length;
- else if (SettingDialog.Status.Length > 0)
- pLen -= SettingDialog.Status.Length + 1;
+ else if (this._cfgLocal.StatusText.Length > 0)
+ pLen -= this._cfgLocal.StatusText.Length + 1;
}
if (!string.IsNullOrEmpty(HashMgr.UseHash))
{
private void SaveConfigsAtId()
{
- if (_ignoreConfigSave || !SettingDialog.UseAtIdSupplement && AtIdSupl == null) return;
+ if (_ignoreConfigSave || !this._cfgCommon.UseAtIdSupplement && AtIdSupl == null) return;
_modifySettingAtId = false;
SettingAtIdList cfgAtId = new SettingAtIdList(AtIdSupl.GetItemList());
_cfgCommon.PlaySound = SettingDialog.PlaySound;
_cfgCommon.NameBalloon = SettingDialog.NameBalloon;
- _cfgCommon.PostCtrlEnter = SettingDialog.PostCtrlEnter;
- _cfgCommon.PostShiftEnter = SettingDialog.PostShiftEnter;
_cfgCommon.CountApi = SettingDialog.CountApi;
_cfgCommon.CountApiReply = SettingDialog.CountApiReply;
_cfgCommon.DispUsername = SettingDialog.DispUsername;
_cfgCommon.AlwaysTop = SettingDialog.AlwaysTop;
_cfgCommon.UrlConvertAuto = SettingDialog.UrlConvertAuto;
_cfgCommon.DefaultTimeOut = SettingDialog.DefaultTimeOut;
- _cfgCommon.RetweetNoConfirm = SettingDialog.RetweetNoConfirm;
_cfgCommon.LimitBalloon = SettingDialog.LimitBalloon;
_cfgCommon.EventNotifyEnabled = SettingDialog.EventNotifyEnabled;
_cfgCommon.EventNotifyFlag = SettingDialog.EventNotifyFlag;
_cfgCommon.ReadOldPosts = SettingDialog.ReadOldPosts;
_cfgCommon.BilyUser = SettingDialog.BitlyUser;
_cfgCommon.BitlyPwd = SettingDialog.BitlyPwd;
- _cfgCommon.UseAtIdSupplement = SettingDialog.UseAtIdSupplement;
- _cfgCommon.UseHashSupplement = SettingDialog.UseHashSupplement;
_cfgCommon.PreviewEnable = SettingDialog.PreviewEnable;
_cfgCommon.StatusAreaAtBottom = SettingDialog.StatusAreaAtBottom;
_cfgCommon.Language = SettingDialog.Language;
_cfgLocal.PreviewDistance = _mySpDis3;
_cfgLocal.StatusMultiline = StatusText.Multiline;
_cfgLocal.StatusTextHeight = _mySpDis2;
- _cfgLocal.StatusText = SettingDialog.Status;
_cfgLocal.FontUnread = _fntUnread;
_cfgLocal.ColorUnread = _clUnread;
_cfgLocal.FontInputFont = _fntInputFont;
_cfgLocal.BrowserPath = SettingDialog.BrowserPath;
- _cfgLocal.UseRecommendStatus = SettingDialog.UseRecommendStatus;
_cfgLocal.ProxyType = SettingDialog.SelectedProxyType;
_cfgLocal.ProxyAddress = SettingDialog.ProxyAddress;
_cfgLocal.ProxyPort = SettingDialog.ProxyPort;
bool _NewLine = false;
bool _Post = false;
- if (SettingDialog.PostCtrlEnter) //Ctrl+Enter投稿時
+ if (this._cfgCommon.PostCtrlEnter) //Ctrl+Enter投稿時
{
if (StatusText.Multiline)
{
}
}
- else if (SettingDialog.PostShiftEnter) //SHift+Enter投稿時
+ else if (this._cfgCommon.PostShiftEnter) //SHift+Enter投稿時
{
if (StatusText.Multiline)
{
// 本当にリプライ先指定すべきかどうかの判定
m = Regex.Matches(StatusText, "(^|[ -/:-@[-^`{-~])(?<id>@[a-zA-Z0-9_]+)");
- if (SettingDialog.UseAtIdSupplement)
+ if (this._cfgCommon.UseAtIdSupplement)
{
int bCnt = AtIdSupl.ItemCount;
foreach (Match mid in m)
_DoFavRetweetFlags = false;
return;
}
- if (!SettingDialog.RetweetNoConfirm)
+ if (!this._cfgCommon.RetweetNoConfirm)
{
string Questiontext = Properties.Resources.RetweetQuestion1;
if (_DoFavRetweetFlags) Questiontext = Properties.Resources.FavoritesRetweetQuestionText2;