Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp

git-svn-id: svn://10.0.0.236/trunk@63660 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com
2000-03-21 23:58:02 +00:00
parent 47b788417e
commit 4c4c8e8cf0
6 changed files with 14673 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -58,7 +58,7 @@ CPPSRCS = \
nsPrintContext.cpp \
nsPrintPreviewContext.cpp \
nsRange.cpp \
nsRangeList.cpp \
nsSelection.cpp \
nsSpaceManager.cpp \
nsStyleChangeList.cpp \
nsStyleCoord.cpp \

View File

@@ -58,7 +58,7 @@ CPPSRCS = \
nsStyleSet.cpp \
nsTextFragment.cpp \
nsXIFConverter.cpp \
nsRangeList.cpp \
nsSelection.cpp \
nsLayoutAtoms.cpp \
nsLayoutDebugger.cpp \
nsLayoutUtils.cpp \
@@ -104,7 +104,7 @@ CPP_OBJS= \
.\$(OBJDIR)\nsStyleSet.obj \
.\$(OBJDIR)\nsTextFragment.obj \
.\$(OBJDIR)\nsXIFConverter.obj \
.\$(OBJDIR)\nsRangeList.obj \
.\$(OBJDIR)\nsSelection.obj \
.\$(OBJDIR)\nsLayoutAtoms.obj \
.\$(OBJDIR)\nsLayoutDebugger.obj \
.\$(OBJDIR)\nsLayoutUtils.obj \

File diff suppressed because it is too large Load Diff

View File

@@ -90,7 +90,7 @@ static NS_DEFINE_CID(kTextEncoderCID, NS_TEXT_ENCODER_CID);
static NS_DEFINE_CID(kXBLServiceCID, NS_XBLSERVICE_CID);
extern nsresult NS_NewRangeList(nsIFrameSelection** aResult);
extern nsresult NS_NewSelection(nsIFrameSelection** aResult);
extern nsresult NS_NewRange(nsIDOMRange** aResult);
extern nsresult NS_NewContentIterator(nsIContentIterator** aResult);
extern nsresult NS_NewContentSubtreeIterator(nsIContentIterator** aResult);
@@ -207,9 +207,9 @@ nsLayoutFactory::CreateInstance(nsISupports *aOuter,
}
#endif
else if (mClassID.Equals(kFrameSelectionCID)) {
res = NS_NewRangeList((nsIFrameSelection**)&inst);
res = NS_NewSelection((nsIFrameSelection**)&inst);
if (NS_FAILED(res)) {
LOG_NEW_FAILURE("NS_NewRangeList", res);
LOG_NEW_FAILURE("NS_NewSelection", res);
return res;
}
}

File diff suppressed because it is too large Load Diff