Merge pull request #344 from Infocatcher/patch-7
Convert source from Shift-JIS to UTF-8
This commit is contained in:
commit
99f76b267c
@ -2750,9 +2750,9 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
this.getTreePref('insertNewChildAt') == this.kINSERT_FISRT &&
|
this.getTreePref('insertNewChildAt') == this.kINSERT_FISRT &&
|
||||||
(this.multipleCount <= 0 || this._addedCountInThisLoop <= 0)
|
(this.multipleCount <= 0 || this._addedCountInThisLoop <= 0)
|
||||||
) {
|
) {
|
||||||
/* 複数の子タブを一気に開く場合、最初に開いたタブだけを
|
/* 複数の子タブを一気に開く場合、最初に開いたタブだけを
|
||||||
子タブの最初の位置に挿入し、続くタブは「最初の開いたタブ」と
|
子タブの最初の位置に挿入し、続くタブは「最初の開いたタブ」と
|
||||||
「元々最初の子だったタブ」との間に挿入していく */
|
「元々最初の子だったタブ」との間に挿入していく */
|
||||||
newIndex = parent._tPos + 1;
|
newIndex = parent._tPos + 1;
|
||||||
if (refTab = this.getFirstChildTab(parent))
|
if (refTab = this.getFirstChildTab(parent))
|
||||||
this.insertBefore = refTab.getAttribute(this.kID);
|
this.insertBefore = refTab.getAttribute(this.kID);
|
||||||
|
@ -338,16 +338,16 @@ catch(e) {
|
|||||||
case sv.kDROP_BEFORE:
|
case sv.kDROP_BEFORE:
|
||||||
if (DEBUG) dump(' position = before the tab\n');
|
if (DEBUG) dump(' position = before the tab\n');
|
||||||
/*
|
/*
|
||||||
[TARGET ] <EFBFBD>ªdetach from parent, and move
|
[TARGET ] ↑detach from parent, and move
|
||||||
|
|
||||||
[ ]
|
[ ]
|
||||||
[TARGET ] <EFBFBD>ªattach to the parent of the target, and move
|
[TARGET ] ↑attach to the parent of the target, and move
|
||||||
|
|
||||||
[ ]
|
[ ]
|
||||||
[TARGET ] <EFBFBD>ªattach to the parent of the target, and move
|
[TARGET ] ↑attach to the parent of the target, and move
|
||||||
|
|
||||||
[ ]
|
[ ]
|
||||||
[TARGET] <EFBFBD>ªattach to the parent of the target (previous tab), and move
|
[TARGET] ↑attach to the parent of the target (previous tab), and move
|
||||||
*/
|
*/
|
||||||
var prevTab = sv.getPreviousVisibleTab(tab);
|
var prevTab = sv.getPreviousVisibleTab(tab);
|
||||||
if (!prevTab) {
|
if (!prevTab) {
|
||||||
@ -374,15 +374,15 @@ catch(e) {
|
|||||||
case sv.kDROP_AFTER:
|
case sv.kDROP_AFTER:
|
||||||
if (DEBUG) dump(' position = after the tab\n');
|
if (DEBUG) dump(' position = after the tab\n');
|
||||||
/*
|
/*
|
||||||
[TARGET ] <EFBFBD>«if the target has a parent, attach to it and and move
|
[TARGET ] ↓if the target has a parent, attach to it and and move
|
||||||
|
|
||||||
[TARGET] <EFBFBD>«attach to the parent of the target, and move
|
[TARGET] ↓attach to the parent of the target, and move
|
||||||
[ ]
|
[ ]
|
||||||
|
|
||||||
[TARGET ] <EFBFBD>«attach to the parent of the target, and move
|
[TARGET ] ↓attach to the parent of the target, and move
|
||||||
[ ]
|
[ ]
|
||||||
|
|
||||||
[TARGET ] <EFBFBD>«attach to the target, and move
|
[TARGET ] ↓attach to the target, and move
|
||||||
[ ]
|
[ ]
|
||||||
*/
|
*/
|
||||||
var nextTab = sv.getNextVisibleTab(tab);
|
var nextTab = sv.getNextVisibleTab(tab);
|
||||||
@ -397,7 +397,7 @@ catch(e) {
|
|||||||
info.action = sv.kACTION_MOVE | (info.parent ? sv.kACTION_ATTACH : sv.kACTION_PART );
|
info.action = sv.kACTION_MOVE | (info.parent ? sv.kACTION_ATTACH : sv.kACTION_PART );
|
||||||
info.insertBefore = nextTab;
|
info.insertBefore = nextTab;
|
||||||
/*
|
/*
|
||||||
[TARGET ] <EFBFBD>«attach dragged tab to the parent of the target as its next sibling
|
[TARGET ] ↓attach dragged tab to the parent of the target as its next sibling
|
||||||
[DRAGGED]
|
[DRAGGED]
|
||||||
*/
|
*/
|
||||||
if (aSourceTab == nextTab) {
|
if (aSourceTab == nextTab) {
|
||||||
|
@ -1169,7 +1169,7 @@ TreeStyleTabWindow.prototype = {
|
|||||||
this._handleNewTabCommand(aTab || b.selectedTab, this.getTreePref('autoAttach.duplicateTabCommand'));
|
this._handleNewTabCommand(aTab || b.selectedTab, this.getTreePref('autoAttach.duplicateTabCommand'));
|
||||||
},
|
},
|
||||||
|
|
||||||
/* Tree Style Tabの初期化が行われる前に復元されたセッションについてツリー構造を復元 */
|
/* Tree Style Tabの初期化が行われる前に復元されたセッションについてツリー構造を復元 */
|
||||||
|
|
||||||
onTabRestored : function TSTWindow_onTabRestored(aEvent)
|
onTabRestored : function TSTWindow_onTabRestored(aEvent)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user