Text selection problem in linked containers

Hi,
I get a strange behavior on the selection of text in a textFlow with several linked containers (from the latest SVN version it seems).
The problem occurs on the following case: http://lafabrick.com/labz/tlfTest/ (source code enabled)
If I select some text in container D to A (or vice versa): display of text selection is correct.
The problems are:
- If I select some text in the containers B or C, and that I move the selection to the right or left: the container is moving ...
- If I select some text in the containers B or C, and that I move the selection to the up or down: the display of the selection is not normal (I have a "blinking selection")
TLF version : 502 (715519)
Regards
fabien

Hi Richard,
Would you like to said that this fixe is not present on the SVN (/trunk) ?
In this case it's of course a bad news for me: my app can't takes all benefits of TLF for now (and for MAX...).
But a good news for all ! It means that TLF is perhaps soon to release !
Thanks a lot.
Fabien

Similar Messages

  • Text selection problems in Pages on iPad

    I use Pages on an iPad, and have recently been having problems with text selection. If I press the screen on a word, that word goes blue but I can't extend the blue area beyond the single word. Usually the document freezes. Sometimes I can unfreeze it by continuing to press, but I still can't select the area required. Select all works fine. I have tried the same operation in Documents 2, and initially I had the same problem, but then it started working as usual. Has anyone else had the same problem? Advice would be much appreciated.
    Bob Sax

    You probably have floating objects with text wrap on and are hammering away at returns, spaces and tabs to position text. The mix of objects and text are tucking in and around each other in somewhat unpredictable ways.
    Cut the objects and paste them into the text to make them Inline and you might be able to position things more predictably.
    Peter

  • JeditorPane text selection problem due to line feeds and carriage returns

    Hi folks,
    I have a jEditorPane (text/plain) that contains a document in which the user has highlighted some text. I want to pull the selected text from the pane, do some processing on it, and then put the altered text back in the same position.
    First I get the starting and ending position of the highlighted text
    int mySelStart = myJEditorPane.getSelectionStart();
    int mySelEnd = myJEditorPane.getSelectionEnd();Then I get all the text from the pane and (in theory) strip out the portion the user highlighted
    String myPaneText = myJEditorPane.getText();
    String mySelectedText = myPaneText.substring(mySelStart,mySelEnd);But the text string in mySelectedText never matches what the user originally highlighted. The starting and ending positions are off by the number of carriage returns that proceed the highlighted text in the document. It appears that while in the jEditorPane Java treats the carriage return as one characters, but once the info is in the myPaneText field Java treats the carriage return as two characters.
    Has anyone encountered this before? Am I doing something wrong? To fix the problem I'm looping through the entire document to find out how many carriage returns proceed the highlighted text, but there has to be an easier way.
    Thanks

    It appears that while in the jEditorPane Java treats the carriage return as one
    characters, but once the info is in the myPaneText field Java treats the carriage
    return as two characters.Correct on a Windows platform. Check out my posting here for a one line solution:
    http://forum.java.sun.com/thread.jspa?forumID=31&messageID=1464594

  • JTable Cell text selection Problem.

    I am using Tab key while navigating with the Cells.While focus reaches into a cell,the cell is selected but not the cell content.So I use BACKSPACE to delete each word of the cell.I want to Select a cell content(i.e. Text) when I am move Tab keys to select cells.Please help me..........,u may send a mail at [email protected]

    Do u need this feature to the whole table or else for the perticular cell in the table?
    Are you using your own renderer or editor to the perticular cell ?,
    this issue is related to Renderer and Editor, so if i know your requirement , then only it is easy to implement.

  • UDA Based member selection - problem with LINK command

    Hi,
    I have written a script to retrieve the data from Essbase based on a particular value.
    But, when i want to specify a particular member and use the LINK command, am not succeeding.
    e.g.
    I am able to get the data when i write
    <LINK(
    <UDA(product, "pizza")
    AND
    <LEV(product, 2))
    but unable to get the data, if i write
    <LINK(
    <UDA(product, "pizza")
    AND
    <LEV(product, 0)
    AND
    <IDESCENDANTS (Product, "Pizza Cheese"))
    where pizza is the UDA value and Pizza Cheese is a member of the dimension Product.
    Frooty

    The first thing you need to do is make sure all your 'invalid' drop down rows are sorted to the bottom.  This can be accomplished by adding "RowHeight() D" as the first sort criteria in your drop down DataWindow.  When your code fires to set the detail height make sure a Sort() is executed at the end. After that you should only need code in the ItemChanged event which checks the value.  If it is not good then reject it (RETURN 1) and the original will be set back.
    The reason for all of this is so you won't have to worry about if the user was scrolling up or down in the drop down.  All you care about is they got to a value that is not valid and you reject it.  If you hide rows in between other valid rows then your logic would have to know what the user did (ie. Up Arrow, Down Arrow).  You would then need to skip those values until they got to a valid one otherwise they could not scroll to the next item in the visible list.
    Hope this helps,
    Chris Craft

  • How to retrieve the text associated with a link annotation

    Hello
    In Acrobat, I created a link using the Select tool. I selected the text which I wanted to create a link.
    After with a C++ plug-in, I want to retrieve the text associated with a link annotation. Which is the function which makes it possible to find the text?
    Regards
    David G

    ok thanks for ur reply now my question regarding about ur first three message..
    U told using quad we finding their rectangle dimensions and then compare that with link annatation title. So then we retrieve link annataion right..
    Ya i already done like u told.. But i have one problem so plz solve dis..
    Problem--- see my code below
    for(int nWordCounter = 0; nWordCounter < nWordCount; nWordCounter++ )
    pdNWord = PDWordFinderGetNthWord(pdWordFinder, nWordCounter );
    PDWordGetNthQuad(pdNWord, nWordCounter, &quad);
    blh = ASFixedRoundToInt32(quad.bl.h);
    blv = ASFixedRoundToInt32(quad.bl.v);
    brh = ASFixedRoundToInt32(quad.br.h);
    brv = ASFixedRoundToInt32(quad.br.v);
    tlh = ASFixedRoundToInt32(quad.tl.h);
    tlv = ASFixedRoundToInt32(quad.tl.v);
    trh = ASFixedRoundToInt32(quad.tr.h);
    trv = ASFixedRoundToInt32(quad.tr.v);
    char *a = (char*)Asmalloc(20);
    sprintf(a, "%d %d %d %d %d %d %d %d", blh, blv, brh, brv, tlh, tlv, trh, trv);
    In dis code, the quad values of blh, blv, brh, brv, tlh, tlv, trh and trv are same for all words(pdNWord). so pls help me for dis proble..
    thanks in advance
    Raghu N

  • Text box problem or question

    I'm having the text field problem. I have two text boxes (inside my .fla file) one i can add more text without the box expanding and can  then select the text and croll down to view the missing text and the other one just gets longer the more text I add. I'm trying to duplicate the text box that does not expand the more text I add to it.
    All the settings in the properties are the same on both and I've tried it in MX and CS3 and the both have the same properties in both.
    I'm stumped can anyone help.
    I'm attaching the file.
    Thanks!

    If you right click the textfield on the stage you can select the "scrollable" option for it.  Another option to duplicate the textfield is to copy/paste it.

  • Question on the known solution to the "Three pixel text jog" problem

    Hello,
    I'm "browser-checking" my website using Dreamweaver CS4 tool for that. I've got in various places the "three pixel text jog" IE problem. I followed the link to solution proposed by DW. It says I should add an IE conditional statement in the <head> part, so that I can define the CSS zoom property for that particular element. Hence, something like that:
    <!--[if IE]>
    <style type="text/css">
    #Content p { zoom: 1; } /* three pixel text jog IE bug */
    </style>
    <![endif]--> 
    (assuming the problem occurs for a <p> inside my #Content div.)
    My question is: can I replace this by
    <!--[if IE]>
    <style type="text/css">
    #Content * { zoom: 1; } /* three pixel text jog IE bug */
    </style>
    <![endif]--> 
    For another browser problem (prevent the browsers from using some of their own default settings), it was advised to reset the margin, padding and border properties using:
       border: 0;
       margin: 0;
       padding: 0;
    (although in my case I had to later remove border: 0; because it would prevent default buttons of forms to be displayed as buttons.)
    Does this * really mean "anything"? Is it valid as used above for fixing the three pixel text jog problem? If not, do I really have to define this zoom property for any single HTML element for which it occurs? (It currently occurs for some headers, <div>, "<div> <div>" sequence, some <p>.)
    Any comment welcome...
    Emilie
    P.S.: I tried it and DW doesn't flag that problem any more, but I'm unsure how much I can trust it.

    The behavior is unexpected. The file paths are
    correct?

  • "resolving alias to" message using aliases on 10.6.8 plus slow text-selection behavior

    Recently after no particular change to my Mac Pro3,2 running 10.6.8 other than some routine software updates, whenever I open an alias on my desktop to standard folders or files, a message shows up "Resolving alias to" whatever the alias name and there's a 2-3 second delay before the folder/file opens. I've found discussion of this issue in some archived discussions but never found a comfirmed solution described, so I'm raising this again. As in others' encounter with this behavior, the slow opening of aliases happens (1) only in my own user account, not in a guest account I set up for test purposes [I have no other user accounts than these], and (2) only happens the FIRST time I open an alias. Subsequent uses of the alias work normally.
    Another strange but possibly related behavior that began at the same time as this alias delay is harder to describe but involves a problem when selecting text using mouse clicks or even highlighting with the mouse for editing. For example, to edit the name of a file or folder on my desktop, I would normally click on the file/folder name, pause a moment and click again: this puts me in edit mode with the current file/folder name highlighted/selected. Now when I attempt this procedure, the second time I click immediately opens the file/folder, as though I had double-clicked rather than clicked+paused+clicked. The only way I can select the name of the file/folder to edit it is to click+long pause (like 3 seconds)+click. Then the text is selected as desired. It's as though the clicks are being recognized (by whatever in the OS recognizes clicks) as much faster than actually made.  There is a similar problem in any program I use that permits text editing, whether Word (Office 2011 for Mac), TextEdit, etc. I have to consciously slow down my cursor/click behavior when selecting text. If not, my actions are misinterpreted as double clicks. This text selection behavior also disappears when using a "Guest" user account, only appearing in my own user account. I Using a different mouse has no effect.
    Steps taken so far. I've Repaired Disk Permissions and Verified Disk using Disk Utility, have Safe Booted, and have turned off all login items in my user account,and recently installed the 10.6.8 supplemental update, all to no avail. Any suggestions or has anyone had and solved this/these problems?

    I think my problem has been that in Sytem Preferences>Mouse, my "Double-Click Speed" was set to the SLOWEST setting. After some experimentation, I now have the that setting two notches from the "Fast" end of the scale. In case it's important, the "Primary mouse button" in my Preferences is set to "Left".
    This not only solves the text selection issues described, but also seems to eliminate the strange "resolving alias to" problem.
    [For the curious, I have a Logitech Performance MX wireless mouse which can be configured with "Logitech Control Center". But the LCC software doesn't control double-click speed; this setting can only be made in the Mouse System Preference pane.]

  • Text Selection Hangs Since iOS 5.1.1 Update

    I have an iPhone 4 32GB on the AT&T network.
    Updated it to iOS 5.1.1 about two weeks ago.
    Since the update multiple applications (Apple and 3rd Party) have been showing this behavior:
    1) Click in a text entry or text area form field,
    2) Begin typing text,
    3) Touch anywhere in the field to bring up the monicle selection caret,
    4) The monical selection caret is shown and I can move the monical/caret around the screen,
    5) Un-touch the screen,
    6) ERROR - The monicle and the selection caret don't respond to user touch input and the app/OS hang for anywhere from 5 to 15 seconds,
    7) The standard "Select | Select All | ..." context pop-up window is shown, after that the app/system are responsive again. 
    Regarding the ERROR at step 6) above: Clicking Home does nothing, turning on/off with top-button does nothing, force shutdown responds only after the monicle/caret selector un-hangs.
    Once this has happened in a given text field/text area, it doesn't happen again on a subsequent text selection touch event... UNLESS I sleep the device, wake the device on the same app/field and try to select again... then it hangs again.
    To note, while it's hanging the loading-spinner is displayed in the title bar next to the AT&T 3G/Wifi Antenna icons, suggesting something in the background is doing a network search that's locking then entire foreground process.
    I've attempted to:
    1) hard reset the device,
    2) restore from a backup of 5.1 (doesn't have the aforementioned problem) and reinstall the 5.1.1 update (has the problem)
    3) swear at it and curse Steve Job's mock-turtleneck for allowing such a peice of **** bug to exist (even if it's not his fault ex post homine)
    Any further help would be great... I may end up downgrading to 5.1 just to not have to deal with this perpetual headache.
    Thanks,
    Etienne

    I'm having the same issue.  Phone started to degrade after update to 5.1.1  I have restarted, reset and restored from backup. I haven't tried to restore as new, as I'm not sure what the impact will be in my need to reset my corporate exchange e-mail, etc. 
    I see from many posts on other boards this is not isolated and is impacting many users. I'm using verizon as a the cell carrier. 
    My phone is warm and eating battery at a rate of 10% per half an hour in standby mode. No new apps or anything else of that nature.
    Tinus Barnard wrote:
    Will they fix this?

  • We bought an iphone 4s for our daughter. We transfered it to straight talk. She can make calls and text no problem. She can use the WiFi but is unable to use the internet or mms. How do we update the APN?

    We bought an iphone 4s for our daughter. We transfered it to straight talk. She can make calls and text no problem. She can use the WiFi but is unable to use the internet or mms. How do we update the APN?

    To clarify for anyone who is still having any problems doing this.
    1. Unlock your phone with the carrier ( I know the process will work if it is jail broken but I am assuming you dont want to void the warranty on your phone) NOTE: even if you purchased the phone outright at Wal-Mart it is still locked to ATT so you will have to unlock the phone.  If it's already unlocked skip to step 2.  This works and will work even if you update the phone. 
    1a Here is the link to unlock a ATT iphone. Simply follow the instructions https://www.att.com/deviceunlock/client/en_US/
    2. Get a T- mobile SIM. Even if you don't want the service, if you feign interest, they will send you one for free or 99cents. If you need it now you can get one at a T-mobile store too.
    3. Once you have both your Straight talk SIM and your T-mobile SIM follow these instructions:http://www.youtube.com/watch?v=mFFf5uqk18M
    4. If you have any remaining questions look at all the responses posted previously on this thread or check out the Howard Forums Wiki: http://wiki.howardforums.com/index.php/Straight_Talk_iPhone
    Everything should work flawlessly at this point.  If not let me know and I'm happy to help when I can.  I hope this makes doing this very easy for everyone in the future. God Bless -J

  • Preview's PDF text select ignores columns and misses word spaces

    I have a number of scanned pdf newspaper articles that I was attempting to copy the text from. Preview appears to register the existence of columns, as there is a pale blue background between the columns.
    However when I use the text select tool, it completely ignores the column - and just selects across all columns. And when I paste the text into my text editor, it's missing all the spaces between the words, and the font size is always huge.
    Conversely, Adobe reader in XP has no problem selecting by column, and the pasted text is also an exact replication of the original content. I don't know why Preview performs so badly in this regard? Anyone else experience any issues with pdf text select?

    Anyone else experience any issues with pdf text select?
    Yes, and not just recently.
    There is a reason Preview is named, well, preview. It is not an authoring environment and PDFs are not meant to serve in that context either...unless maybe you understand all of inherent the font traps, tricks & tips and how to tune your scanning/OCR software to keep rework to a minimum.
    Scanning PDFs is always tricky, and without the occasional heavy metal to bring to the task, it just seems to be that more problematic.
    Keep trying, but I'd really suggest to look to other tools at this time.

  • Problem in Link size changes in theme editor of NWDS

    Hello All,
    We have created a theme in theme editor and the link size has to be matched with the given specifications.
    When trying to change the link size using Link Property - Standard Font Size to xsmall or any value such as 0.8 em, it is applied to all the other texts but not the links. Links are always in a slightly bigger font size.
    Please note that the links which are under consideration are within a table.
    The links outside the table are coming properly.
    Please help us find a solution for this.
    Thanks & Regards,
    Radhika

    Hi Radhika,
    There is two properties in Global Style Sheets area
    1. Base Font size.--> it is under common
    2. standard Font size.---> it is under Text in GSS
    if you change the Base Font size to X Small / XX Small the link size will be reduced but it will reduce the other UI element font
    size as well to overcome this( increase the other UI elements size) problem you have to increase the Standard Font size upto
    the requied font size is came to other UI elements.
    Thanks & Regards,
    Bhargava.

  • Which event dispatched after text selection done on spark text area in Apple iPad using Adobe Flex 4

    I need to know which event triggered after text selection done in Apple iPad. This way i have done in desktop air app code (mouse events)
    protected function txtEditor_mouseUpHandler(event:MouseEvent):void
                if(txtEditor.selectionAnchorPosition != txtEditor.selectionActivePosition){
                    showNoteToolBar(event);
                    txtEditor.focusEnabled = true;
                    txtEditor.setFocus();
    But in Apple iPad how to achieve through "Touch Event" ? And also i need how to hide all context menu on Spaek TextArea?. Why Touch.End event is not fired after place cursor on text area ?
    Please help me !

    Ok, so I finally got it working but this is not ideal at all. Adobe really needs to give us some direction on how to properly deal with font embedding and TLF now that the release build breaks all functionality with loading runtime fonts and TLF.
    Problem:
    I am embedding collections of fonts (faces) into single family classes. Each individual face is registered with Font.registerFont(). I need to do this because I have to have mixed fonts within text flows - at least according to Alex H's recent blog post.
    Fonts do not display in TLF without doing the following:
    1. GlobalSettings.resolveFontLookupFunction = null;
    2. editor.textFlow.flowComposer.swfContext = ISWFContext(this.getFontContext("AnyFamilyNameFromAnyFontEmbedded", false, false, FontLookup.EMBEDDED_CFF));
    3. Instead of #2, use editor.textFlow.invalidateAllFormats();
    Either #2 or #3 need to be performed. If I have a spark richEditableText control in MXML with defined familes from the loaded fonts. I even tried placing the control into a separate state so it wasn't created until after the fonts were loaded... I still needed to invalidate the formats or set the context.
    The "AnyFamilyNameFromAnyFontEmbedded" does not need to be all of the embedded family names. It only needs to be one of them. Once one is used, all embedded fonts work. Also, I have to use the internal namespace to even get access to getFontContext, another oddity that, in my humble opinion, should never be necessary to create mixed style TLF content.
    My questions are then:
    1. Why am I required to use ISWFContext if I am using Font.registerFont()?
    2. Why is GlobalSettings.resolveFontLookupFunction = null; also required for this to work?
    3. What is the recommended workflow to embed fonts from multiple SWF files into the release build and have it work without having to jump through all these hoops?

  • Wrong orientation of text selection cursor

    I've OCR'ed a PDF document with page orienation "portrait" using Acrobat Pro XI with setting "exact image".
    Unfortunately the text selection cursor has the wrong orientation, its orientation is "horizontal" but should be "vertical" as the text is written from left to right (German) in the document.
    Any ideas how to change the cursor orientation?
    Thanks.

    I have got the same problem. Text ocr-ed with with setting "exact image", too - don't know if that matters. The problem might be indepedent from that.
    The proble mist a real pain. It heavily disturbes text selection an marking.
    Unfortunately I don't have a solution.

Maybe you are looking for