Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2577

Problems in code completion when GroovyEditor is a part of MultiPageEditor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.1
    • 1.5.5
    • None
    • None

    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.

      Attachments

        1. MultiPageClassCast.patch
          1 kB
          Grzegorz Bialek

        Activity

          People

            thorque Thorsten Kamann
            gbialek Grzegorz Bialek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: