Skip to main content
March 23, 2009
Answered

exception on mouse down on container

  • March 23, 2009
  • 1 reply
  • 550 views
RangeError: Error #2006: The supplied index is out of bounds.
at flash.text.engine::TextBlock/findPreviousWordBoundary()
at flashx.textLayout.elements::ParagraphElement/findPreviousWordBoundary()
at SpellChecker/onTFSelectionChanged()[/Users/kietdoung/Desktop/source/writer/src/SpellChecker.as:117]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flashx.textLayout.elements::TextFlow/dispatchEvent()
at flashx.textLayout.edit::SelectionManager/selectionChanged()
at flashx.textLayout.edit::SelectionManager/setSelection()
at flashx.textLayout.edit::SelectionManager/setNewSelectionPoint()
at flashx.textLayout.edit::SelectionManager/mouseDownHandler()
This topic has been closed for replies.
Correct answer robin_briggs
We have another bug reported that looks very similar to this. I think this problem may happen when the text is not composed up to date. We will look into it. Thanks for the report!

1 reply

robin_briggsCorrect answer
Adobe Employee
March 24, 2009
We have another bug reported that looks very similar to this. I think this problem may happen when the text is not composed up to date. We will look into it. Thanks for the report!
March 24, 2009
I see this bug off and on. For me, it's been another case where it's intermittent and I have not been able to reproduce regularly enough to provide any help for reproducing. I seem to see this sometimes after deleting a bunch of text from a container and then click in the area of the text that was deleted. Also, sometimes I get errors from the TextLine objects when they are clicked on, saying something along the lines of that TextLine being invalid and not able to be used for atom lookup.