Community
Participate
Working Groups
drag'n'drop of text in a Texteditor if used in a MultiEditor does not work.
Sorry this is way too generic as there are millions of ways to write a text editor inside a multi-page editor.
DnD works like a charm in the source pages of mutli-page editors in the SDK (e.g. PDE).
Perhaps there is a misunderstanding. I am talking about org.eclipse.ui.part.MultiEditor (not MultiPageEditorPart) With "drag'n'drop of text" I mean the new feature from 3.3 (I think) where a text can be dragged from one position to another inside the same Editor. If a AbstractTextEditor is used inside a MultiEditor this drag'n'drop does not work (inside the same AbstractTextEditor, not to another one which is also displayed in the MultiEditor) If it is still too generic, than sorry for this bug which isn't one.
Mmh. Unfortunately there's not a single usage of this in the whole SDK. Can you attach a test case/plug-in?
An example can be found at bug 42641. Can this bug depend on bug 76953?
>Can this bug depend on bug 76953? Needs to be investigated.
There's a major bug with MultiEditor here: the inner editor's createPartControl is called twice: once by EditorManager.openMultiEditor(...) and then later by org.eclipse.ui.part.MultiEditor.createInnerPartControl(...) which is doomed to fail. No idea whether this got broken after 3.1 or whether this ever worked.
There are actually quite a few bugs regarding MultiEditor: https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=MultiEditor&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= and most of them probably come from what I described in comment 7.
(In reply to comment #7) > There's a major bug with MultiEditor here: the inner editor's createPartControl > is called twice: once by EditorManager.openMultiEditor(...) and then later by > org.eclipse.ui.part.MultiEditor.createInnerPartControl(...) which is doomed to > fail. Much of the embedded functionality never worked quite right, but this particular problem was probably introduced with the fix for Bug 96129. PW
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.