Removed skid marks; implement FindTextRuns again

git-svn-id: svn://10.0.0.236/trunk@12479 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-10-09 23:46:02 +00:00
parent 9d02ddd3e3
commit 055d1a3d2f
22 changed files with 184 additions and 432 deletions

View File

@@ -145,10 +145,7 @@ public:
PRInt32& aOffset);
// nsIHTMLReflow
#if 0
NS_IMETHOD FindTextRuns(nsLineLayout& aLineLayout,
nsIReflowCommand* aReflowCommand);
#endif
NS_IMETHOD FindTextRuns(nsLineLayout& aLineLayout);
NS_IMETHOD Reflow(nsIPresContext& aPresContext,
nsHTMLReflowMetrics& aMetrics,
const nsHTMLReflowState& aReflowState,
@@ -1192,17 +1189,14 @@ TextFrame::PaintAsciiText(nsIPresContext& aPresContext,
NS_RELEASE(doc);
}
#if 0
NS_IMETHODIMP
TextFrame::FindTextRuns(nsLineLayout& aLineLayout,
nsIReflowCommand* aReflowCommand)
TextFrame::FindTextRuns(nsLineLayout& aLineLayout)
{
if (nsnull == mPrevInFlow) {
aLineLayout.AddText(this);
}
return NS_OK;
}
#endif
//---------------------------------------------------
// Uses a binary search for find where the cursor falls in the line of text