[ 
https://issues.apache.org/jira/browse/FLEX-33409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746802#comment-13746802
 ] 

Maurice Mullens commented on FLEX-33409:
----------------------------------------

Hi Alex,
Ok... indeed if you press enter 19 or more times, all goes well... but if you 
then press backspace a couple of times, the error (#1009) returns.
Also when you put the cursor behind the -> and press enter and then a couple of 
backspaces you get the following error:








RangeError: Error #2006: The supplied index is out of bounds.
        at flash.text.engine::TextLine/getAtomBidiLevel()
I have added some extra soft hyphens in the text to test it, since my own 
project contains multiple (and dynamic) soft hyhpens.
But anyway.. problem is not resolved yet.
Isn't there a way for me to solve this myself? I have dealt with some tricky 
bugs in the past and managed to fix them as well. This bug is a dealbraker for 
my project, so i need this resolved urgently. Or do you prefer solving this 
yourself?
BRMaurice
                                          

                
> TLF crashes when hypens are shown in a multi span textFlow
> ----------------------------------------------------------
>
>                 Key: FLEX-33409
>                 URL: https://issues.apache.org/jira/browse/FLEX-33409
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>         Environment: TLF editing
>            Reporter: Woodwing Developer
>            Assignee: Alex Harui
>            Priority: Blocker
>              Labels: TLF, crash, editing, hyphen, span, textflow
>         Attachments: BaseCompose.as, ComposeState.as, FLEX33409.patch, 
> FlowLeafElement.as, Test.fxp, textLayout.swc
>
>
> When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF 
> crashes when typing.
> Import the underlying text flow xml. Resize the text area until the hyphen is 
> visible. Then start typing AFTER the hypened word, also pressing the enter 
> key. TLF crashes.
> Sample textFLow (if the soft hyphen is not show, insert a new one in the 
> appropriate word):
>   <TextFlow color="#000000" fontSize="12" lineHeight="14" paddingBottom="0" 
> paddingLeft="10" paddingRight="10" paddingTop="0" 
> whiteSpaceCollapse="preserve" version="2.0.0" 
> xmlns="http://ns.adobe.com/textLayout/2008";>
>     <p>
>       <span backgroundColor="#ffffff" textDecoration="underline">First 
> Span</span>
>       <span backgroundColor="#ffffff" textDecoration="none"> Second span. 
> This text has a hypen in the next long word LongWord­WithAHyphen. Make sure 
> the hypen is shown! Then start typing and pressing enter till TLF crashes 
> (should happen fast enough)</span>
>   </p>
>   </TextFlow>
> It seems that the textLine is damaged but the text engine fails to recompose 
> the line properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to