From ba073c0f69b1d42cdba5388541ec085d72202f31 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Tue, 25 Aug 1998 22:48:27 +0000 Subject: [PATCH] Removed attempt to optimize editor layout by not relaying out entire line. Must find another solution --- lib/layout/edtbuf.cpp | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/lib/layout/edtbuf.cpp b/lib/layout/edtbuf.cpp index 87def3cfe9ce..ef6d4f74856d 100644 --- a/lib/layout/edtbuf.cpp +++ b/lib/layout/edtbuf.cpp @@ -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; }