Skip navigation
theRealEllurido
Currently Being Moderated

cut and paste error

Nov 16, 2011 1:04 PM

Tags: #error #textflow #paste #cut #tlf #squiggly

In our project (using AdobeSpellingUITLF.swc version .6) we have an editable textFlow.

If If the user has text in the textflow that contains underlined characters, and the user cuts and pastes text x amout of times (pasting before the underline), it generates an error.

The error is:

 

RangeError: Error #2006: The supplied index is out of bounds.

at flash.text.engine::TextLine/getAtomBidiLevel()

at flashx.textLayout.compose::TextFlowLine/adjustEndElementForBidi()

at flashx.textLayout.compose::TextFlowLine/makeSelectionBlocks()

at flashx.textLayout.compose::TextFlowLine/http://ns.adobe.com/textLayout/internal/2008::calculateSelectionBounds()

at flashx.textLayout.elements::FlowLeafElement/http://ns.adobe.com/textLayout/internal/2008::getSpanBoundsOnLine()

at flashx.textLayout.elements::FlowLeafElement/http://ns.adobe.com/textLayout/internal/2008::updateAdornments()

at flashx.textLayout.compose::TextFlowLine/http://ns.adobe.com/textLayout/internal/2008::createAdornments()

at flashx.textLayout.compose::TextFlowLine/http://ns.adobe.com/textLayout/internal/2008::recreateTextLine()

at flashx.textLayout.compose::TextFlowLine/getTextLineInternal()

at flashx.textLayout.compose::TextFlowLine/getTextLine()

at flashx.textLayout.compose::TextFlowLine/getBounds()

at com.adobe.linguistics.spelling.ui::TLFHighlighter/drawSquigglyLineAtI ndex()

at com.adobe.linguistics.spelling.ui::TLFHighlighter/drawSquigglyLineFor Range()

at com.adobe.linguistics.spelling.ui::TLFHighlighter/squiggleWord()

at com.adobe.linguistics.spelling.ui::TLFHighlighter/drawSquiggleAt()

at com.adobe.linguistics.spelling::SpellUIForTLF/spellCheckRangeTLF()

at com.adobe.linguistics.spelling::SpellUIForTLF/doSpellingJob()

at com.adobe.linguistics.spelling::SpellUIForTLF/spellCheckScreen()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at flashx.textLayout.elements::TextFlow/dispatchEvent()

at flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()

at flashx.textLayout.compose::StandardFlowComposer/internalCompose()

at flashx.textLayout.compose::StandardFlowComposer/updateToController()

at flashx.textLayout.compose::StandardFlowComposer/updateAllControllers( )

at flashx.textLayout.edit::EditManager/updateAllControllers()

at flashx.textLayout.edit::EditManager/handleUpdate()

at flashx.textLayout.edit::EditManager/finalizeDo()

at flashx.textLayout.edit::EditManager/doOperation()

at flashx.textLayout.edit::EditManager/pasteTextScrap()

at flashx.textLayout.edit::EditManager/editHandler()

at flashx.textLayout.container::ContainerController/editHandler()

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points