[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: How to navigate from StyledText to IEditorPart ?
|
You may get more response if you ask this on the eclipse.platform newsgroup.
"Loïc Quéran" <loic.queran@xxxxxxxxx> wrote in message
news:g2bffa$km1$1@xxxxxxxxxxxxxxxxxxxx
> Hi,
>
> When a drop is performed on a text editor, the target is a StyledText.
> The behaviour of the drop could depend on the editor which contains the
> StyledText. For example, the drop on a JavaEditor would be performed in
> a different manner from the drop on a CDT editor.
>
> By the content, I could have an algorithm to try to find the appropriate
> editor, but I think there should be an easier way.
>
> I have looked at ProjectionDocument and related classes, but nothin
> strikes me as evident.
>
> Any idea ?