Community
Participate
Working Groups
This code will fail: var options = { parent: "divParent", model: new mTextModel.TextModel(initialText), stylesheet: stylesheets, tabSize: 4 }; view = new mTextView.TextView(options); view.setSelection(0,1); textView.js:3356 Uncaught TypeError: Cannot read property 'lineIndex' of undefined this happens because updatePage() which initialized some of the text view internals is not being called as part of the constructor.
Let's fix this for RC2.
http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?id=f1f3a14a93eb945e9b28be1b6063ec933e8d4353 fixed