Bug 117925 [Intro] Misleading exception message in WelcomeEditor.init()
... it says it expects an IFileEditorInput, but it actually checks for WelcomeEditorInput. Suggested patch appended.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/WelcomeEditor.java
selectionRange.length);
                            text.setCursor(null);
                        }
                    }
                    return;
                }
                 
                
                
                if (event.keyCode == SWT.PAGE_DOWN) {
                    focusOn(nextText(text), 0);
                    return;
                }
                 
                
                
                if (event.keyCode == SWT.PAGE_UP) {
                    focusOn(previousText(text), 0);
                    return;
                }
            }
        });
        styledText.addFocusListener(new FocusAdapter() {
            public void focusLost(FocusEvent e) {
                
                lastNavigatedText = (StyledText) e.widget;
            }
            public void focusGained(FocusEvent e) {
                currentText = (StyledText) e.widget;