equal
deleted
inserted
replaced
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 |