Removed attempt to optimize editor layout by not relaying out entire line. Must find another solution

git-svn-id: svn://10.0.0.236/trunk@8477 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com 1998-08-25 22:48:27 +00:00
parent 8ffebb5d83
commit c5ea8ac346

View File

@ -2160,22 +2160,9 @@ void CEditBuffer::Reflow( CEditElement* pStartElement,
//
// Position the tag cursor at this position
//
// **** TESTING NEW REFLOW WITHIN TABLE CELL
//pLoStartLine = FirstElementOnLine( pLayoutElement, &iLineNum );
//pEdStart = pLoStartLine->lo_any.edit_element;
//iOffset = pLoStartLine->lo_any.edit_offset;
if( bInTableCell )
{
// Trust the given element if inside a cell
pEdStart = pStartElement;
iOffset = iEditOffset;
}
else
{
pEdStart = pLoStartLine->lo_any.edit_element;
iOffset = pLoStartLine->lo_any.edit_offset;
}
pLoStartLine = FirstElementOnLine( pLayoutElement, &iLineNum );
pEdStart = pLoStartLine->lo_any.edit_element;
iOffset = pLoStartLine->lo_any.edit_offset;
}