groovy

Problems in code completion when GroovyEditor is a part of MultiPageEditor

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5.1
  • Fix Version/s: 1.5.5
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

In class EditorPartFacade, inside method getTextEditor(), variable 'editor' is cast to ITextEditor. This conclude with ClassCastException when you try to integrate groovy editor as page in multi-page editor. If you try to 'adapt' to this interface instead of 'cast', multi-page editor will be able to provide correct page.

Simple patch with that idea is attached.

Activity

Hide
Thorsten Kamann added a comment -

Patch is applied and works for me.

Please try it out if it works like you expected. If yes you can close this issue.
Thanks!

Show
Thorsten Kamann added a comment - Patch is applied and works for me. Please try it out if it works like you expected. If yes you can close this issue. Thanks!
Hide
Paul King added a comment -

close off release 1.5.4

Show
Paul King added a comment - close off release 1.5.4

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: