webengine/osswebengine/WebCore/dom/CharacterData.cpp
changeset 1 7c90e6132015
parent 0 dd21522fd290
equal deleted inserted replaced
0:dd21522fd290 1:7c90e6132015
   154     str->remove(offset,count);
   154     str->remove(offset,count);
   155     
   155     
   156     if ((!renderer() || !rendererIsNeeded(renderer()->style())) && attached()) {
   156     if ((!renderer() || !rendererIsNeeded(renderer()->style())) && attached()) {
   157         detach();
   157         detach();
   158         attach();
   158         attach();
   159     } else if (renderer())
   159     } else if (renderer()){
   160         static_cast<RenderText*>(renderer())->setTextWithOffset(str, offset, count);
   160     	static_cast<RenderText*>(renderer())->setTextWithOffset(str, offset, count, false, true);
       
   161     }
   161 
   162 
   162     dispatchModifiedEvent(oldStr);
   163     dispatchModifiedEvent(oldStr);
   163     oldStr->deref();
   164     oldStr->deref();
   164 
   165 
   165     // update the markers for spell checking and grammar checking
   166     // update the markers for spell checking and grammar checking