Skip to content
Snippets Groups Projects
Commit 22519583 authored by Eike Ziller's avatar Eike Ziller
Browse files

TextEditors: Avoid changing document after construction.


Also when duplicating editors, we don't want to change the document
after construction. Actually at some places (e.g. CppEditorSupport
creation) we don't handle document changes correctly, and we are only
lucky that things still (more or less?) work. Get rid of
BaseTextEditorWidget::duplicateFrom and use copy-constructor style instead.

Change-Id: I7f688b7fcc51d1bb5e222bb333f0d28479b597a6
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 9ce8bcd1
No related branches found
No related tags found
No related merge requests found
Showing
with 152 additions and 78 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment