Open GoogleCodeExporter opened 9 years ago
The Flex framework got borked after this and the only thing I could do is close
the project view (which is why it's white on the right side :P)
Original comment by mlunar
on 28 Aug 2010 at 11:47
Attachments:
Similar situation, different error:
RangeError: Error #2006: The supplied index is out of bounds.
at flash.text.engine::TextLine/getAtomBounds()
at com.moonshineproject.text::ColorManager/calculateWidth()[ide\src\com\moonshineproject\text\ColorManager.as:209]
at com.moonshineproject.text::TextEditor/scrollViewIfNeeded()[ide\src\com\moonshineproject\text\TextEditor.as:382]
at com.moonshineproject.text::TextEditor/invalidateSelection()[ide\src\com\moonshineproject\text\TextEditor.as:374]
at com.moonshineproject.text::SelectionManager/handleMouseDown()[ide\src\com\moonshineproject\text\SelectionManager.as:117]
I suspect it has something to do with large amounts of text being spammed into
the console output?
Original comment by mlunar
on 29 Aug 2010 at 12:48
Original comment by mlunar
on 29 Aug 2010 at 12:58
Console output should prolly be done in something else, there is no real reason
to use our texteditor for it.
If we switched to, say, TLF stuff instead we'd get plenty of stuff for free
(like word-wrapping).
Original comment by petterson.erik@gmail.com
on 11 Sep 2010 at 4:41
There are actually pretty valid reasons to use our TextEditor as opposed to a
standard TLF field, the console usually shows a small subset of printed lines,
and our TextEditor is most efficient at that, only rendering the lines which
are necessary on screen.
Original comment by t.br...@gmail.com
on 12 Dec 2010 at 12:53
If I were to guess, I'd say the error probably comes from the resize causing
some method to run before the rendering code (which is lazy) has a chance to
update the renderers, while the console is being spammed with content,
resulting in a race of sorts.
Original comment by t.br...@gmail.com
on 12 Dec 2010 at 12:55
Original issue reported on code.google.com by
mlunar
on 28 Aug 2010 at 11:43