- venkman only -
prepare for "group/ungroup" UI in the file list git-svn-id: svn://10.0.0.236/trunk@102479 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
af90d76aa3
commit
62a5fb2141
@ -86,6 +86,7 @@ function initOutliners()
|
||||
outliner.outlinerBoxObject.view = console.sourceView;
|
||||
|
||||
console.scriptsView.childData.setSortColumn("baseLineNumber");
|
||||
console.scriptsView.groupFiles = true;
|
||||
console.scriptsView.atomUnknown = atomsvc.getAtom("ft-unk");
|
||||
console.scriptsView.atomHTML = atomsvc.getAtom("ft-html");
|
||||
console.scriptsView.atomJS = atomsvc.getAtom("ft-js");
|
||||
@ -354,11 +355,14 @@ SourceRecord.prototype.isLoaded = false;
|
||||
SourceRecord.prototype.sortCompare =
|
||||
function sr_compare (a, b)
|
||||
{
|
||||
if (a.group < b.group)
|
||||
return -1;
|
||||
if (console.scriptsView.groupFiles)
|
||||
{
|
||||
if (a.group < b.group)
|
||||
return -1;
|
||||
|
||||
if (a.group > b.group)
|
||||
return 1;
|
||||
if (a.group > b.group)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (a.displayName < b.displayName)
|
||||
return -1;
|
||||
|
||||
@ -86,6 +86,7 @@ function initOutliners()
|
||||
outliner.outlinerBoxObject.view = console.sourceView;
|
||||
|
||||
console.scriptsView.childData.setSortColumn("baseLineNumber");
|
||||
console.scriptsView.groupFiles = true;
|
||||
console.scriptsView.atomUnknown = atomsvc.getAtom("ft-unk");
|
||||
console.scriptsView.atomHTML = atomsvc.getAtom("ft-html");
|
||||
console.scriptsView.atomJS = atomsvc.getAtom("ft-js");
|
||||
@ -354,11 +355,14 @@ SourceRecord.prototype.isLoaded = false;
|
||||
SourceRecord.prototype.sortCompare =
|
||||
function sr_compare (a, b)
|
||||
{
|
||||
if (a.group < b.group)
|
||||
return -1;
|
||||
if (console.scriptsView.groupFiles)
|
||||
{
|
||||
if (a.group < b.group)
|
||||
return -1;
|
||||
|
||||
if (a.group > b.group)
|
||||
return 1;
|
||||
if (a.group > b.group)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (a.displayName < b.displayName)
|
||||
return -1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user