Link creation while typing

Hi,
I am using TLF TextFlow as rich text editor. The editor is capable of detecting the hyperlink & convert it into actionable link. Iam trying with adding event: CompositionCompleteEvent.COMPOSITION_COMPLETE exporting text then using regular expression reform the html text and finally importing again. But I think that seems to be very costly in terms of performance.
Can anybody help me out if I am going wrong?
One more doubt: Is there any way to assign new text in TextLayoutFormat?
Thanks in advance.
Gaurav

I am not quite sure what you are asking, so I hope this answers your question. The standard way to add a hyperlink in a TextFlow is to use the EditManager in the TextFlow's interactionManager. It has a method, applyLink, that takes the current selection and makes it into a hyperlink.This is *much* more efficient than exporting, editing the html or xml, and reimporting.
Likewise, if you want to insert new text, and assign formatting properties to the new text, then you can use the interactionManager. It has a method, insertText, that inserts the text. To apply the formatting properties, you can either do that as a second call to the EditManager's applyFormat, or you can suppy a SelectionState when you call insertText that contains the properties you would like applied in the SelectionState's pointFormat property.
Hope this helps,
- robin

Similar Messages

  • TB freezes while typing in email address

    While typing the address in the to: box, thunderbird freezes.
    I am on Ubuntu 14-04, thunderbird 31.5.0. The behavior happens periodically and also in safemode. It seems to be when i pause typing and it tries to look up the address in my address book.
    It looks like the same issue as https://support.mozilla.org/en-US/questions/1013192, but that question is closed.

    I looked at the question you referenced. Do you have a large address book as 'tektite' did (over 5000)? I can give you a link to the daily version for Ubuntu if you would like to try it. (I run on Ubuntu 14.04 also).

  • Iphone 3GS stalls while typing. Possible virus?

    Greetings
    For the past 6 months or so my Iphone 3gs seems to get stuck while typing on any application. For example, the last letter typed will stay high lighted for 2 seconds or so then drop into place. Also delays while trying to access internet while on wifi network. It takes much longer to do anything.
    I believe it all began once I clicked a link from a spammer on the twitter app.
    Is there a quick fix? Do I have a virus?
    Please help
    Thank you

    Is there a quick fix? Do I have a virus?
    Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    As already said, unless you're JB, you have nothing to worry about regarding a virus.

  • Databse link creation from 9i to 10g

    hii all
    i just want to create databse link as below"create databse link linkname connect to remoteuserid identified by remote password using "........"
    thats where iam getting confused what should we place if my tnsnames looks like "orcl.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip address)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    well after puting db name as using in statement i am getin error when i execute any table in remote db.
    1.tns -nolistener
    2.ORA-12545-Connect failed becos target host or object does not exit
    above r some of errors i get while iam trying to create databse link
    please put on some thoughts on this kindly..
    thanks

    copy, paste and post here for db link creation and the error returned. you can replace the username/password/host with dummy ones.
    Sean

  • Q10 double letters while typing

    Good day,
    I presently have a Q10, had it for a little over a year, I was given this by my company in Australia, I presently work in Indonesia but live in Canada. While typing the keyboard has a tendancy to double up on letters, I have noted via the forums that this is a common problem. Now I cannot take the phone back to Australia, not sure I want to turn it in here in Indonesia (I am very far from a large center) but I do live in Canada. If I take this phone to Telus or someone like that will they hounor it and have it repaired, again this is a common problem so obviously a design problem.
    What the heck should I do to get this sorted.
    Thank you for your time
    Dave

    Northsky wrote:
    I am having the same problem with my Q10... it is only a little over a year old as well.  It is an issue that just started maybe a few months ago.  I thought it was something I was doing, but it continues.    I tried looking in the settings to see if t there was something to to adjust the keypad touch settings, but I cannot find it.   I gave up erasing an retyping words with double letters.....  It is driving me crazy!!!!!  
    I am also having an issue with my phone phone restarting if I drop it down on the table (no not dropping it down hard).  I have a hard case on the phone. So it is protected and I don't abuse my phone.  
    I like Blackberry, but I am definitely getting frustrated with this whole thing.  
    I was hoping this latest software upgrade (Feb 2015)  would resolve the problem but it didn't. 
    Hello,
    Given your two symptoms, I would deduce something physical is the problem...a hardware fault, defect, something broken inside, etc. However, hardware problems are of course impossible to truly diagnose at an internet distance...only in person evaluation by a qualified BB hardware technician can provide you with a true diagnosis (and hopefully also a remedy).
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • After upgrade to iOS8 on my iPhone5, I do not see smart keyboard options while typing message or email text

    after upgrade to iOS8 on my iPhone5, I do not see smart keyboard options while typing message or email text

    Go to Settings>General>Keyboards>Predictive Text>ON. If it is on, you can toggle it off and then back on. The other method is to check in the typing area of the Messages app and it could be minimized. You would see a small line in the center just below the typing area. You would just need to put your finger on that small line and swipe upwards. But either should bring it back.

  • I have a problem while typing in my MacBook pro. it is showing different characters when i type. for example: qw`e§r]t[y=   this is how when we type "qwerty|" can anyone help me pls?

    I have a problem while typing in my MacBook pro. it is showing different characters when i type. for example: qw`e§r]t[y=   this is how when we type "qwerty|" can anyone help me pls?

    You could just try changing your Input Sources under System Preferences>Language & Text:
    But I kind of doubt that's going to work. It may be a hardware problem or a system problem. If you take it into Apple they might be able to determine which and might advise a reinstallation of System software. I would take it to an Apple Store or an AASP but, first, make sure that you have a backup just in case they suggest a clean install of the system.
    Good luck,
    Clinton

  • How do I hide the keyboard while typing an email?

    On the iPad you can hide the keyboard anytime while typing.  I cannot see a way to hide the keyboard when typing a mail message. I saw a post saying you close, save, go to your saved messaes and open the message again - too time consuming.  There is a fix on the jailbroken site, but I dont want to jailbreak the phone.  There must be a way to hide the keyboard in a mail messge.  In a text message you can.  Any help would be appreciated.

    Edit
    I CAN, but not fully for a preview, as the text box goes up completely after 80 odd characters on the iPhone.
    So, now i cannot see a previous message for reference.
    Apple needs to incorporate a  'hide keyboard' button

  • Automatic po creation while doing GR?

    Dear Gurus,
    I have completed all the relevant settings for automatic po creation while doing GR.But in MIGO, in vendor tab(header), i m not able to see the vendor field.How ill i proceed so that i can able to complete GR and get the PO.
    I am choosing "A01 Goods Receipt" and "R01 Purch Order" and "Mvt type : 101"

    Hi,
    Pl. check the following once again:
    1) In Vendor master record -- purchasing view -- check the automatic PO option
    2) In material master record -- Purchasing view -- check the automatic PO option , maintain a Purchaing Group
    3) Now goto IMG --> Materials Management --> Inventory Management and Physical Inventory --> Goods Receipt --> Create Purchase Order Automatically --> Check the automatic PO option against 101 MVT
    4) Goto MIGO --> Settings --> Default values --> In the NON ORDERED ITEMS AT GOODS RECEIPT FOR PURCHASE ORDER tab , in material field give MVT 101 --> click on adopt
    5)You have to maintain a Standard Purchasing Org.
    Goto IMG -->Enterprise Structure >Assignment>Materials Management->Assign standard purchasing organization to plant
    6)Create a PIR for that standard P.ord , Pgroup maintained in MMR ( make sure that you have only created one PIR for that material , Vendor , Plant , Porg , Pgroup combination)
    7) Now create the GR following the exact steps what you do generally when you create a GR without PO
    At the time of GR, maintain Vendor code in Partner tab
    Regards,
    Vikas
    Edited by: Vikas Mayekar on Aug 13, 2009 10:27 AM

  • Apple Mail syncing while typing, multiple updates on BB for same message.

    First of all, thanks for looking and helping. Second, it's probably my fault as I am a tweaker often to my detriment. So, with disclaimers out of the way, here's what is happening:
    I have a MacBook Pro and my mail is IMAP from my GMail account. When I respond to an email on the Apple, using Apple Mail, WHILE I AM TYPING, the BB retrieves a NEW email with the latest installment of the email!!! Here's an example that just happened:
    Open email, start replying... "Paul, I wanted to explain"
    BB announces new mail with that sentence
    I continue typing... "why I like pasta"
    BB announces new email with "Paul, I wanted to explain why I like pasta"
    Etc., etc., etc.
    So, my work around it to go to gmail.com and write the email within that program as opposed to using Apple Mail on laptop.
    My BB is Tour 9630 with 4.7.1   and the Gmail app is 2.0.7, if it matters.
    The Apple is running OS X 10.6.2 and Apple Mail is 4.2
    Oh, Bluetooth is not turned on on either device.
    Let me know if you need any further info. Thanks again for looking!
    Peace.
    Solved!
    Go to Solution.

    I have the same problem.
     Just bought the MAC book Pro and while typing on Apple mail everything is syncing on my Blackberry,...This will go on until I finish the mail..Depending on the length of the mail, I can heave more than 15 copies of the same mail that is redundant and constantly updating. Frustrating. I did unchecked the box under preferences, mail box behavior but nothing happened. Has anyone figured out what is the solution?
    Thanks

  • Problem in DB Link creation of Oracle Wraehouse Builder 3i - Updated question

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository
    asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle )
    as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE
    ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :prashant
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    Cwm Error Message: Failed in the WBAPIFactory.createDBLink()
    Cwm Error: SQL Exception
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils
    Method Name: createDBLink(String, String, String, String)
    Method Name: -1
    Repository Error Message: java.sql.SQLException: ORA-02082: a loopback database link must have a connection qualifier
    ==================
    ==================
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected] or this OTN Network
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Problem in DB Link creation ( Oracle warehouse builder 3i  )

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle ) as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :scott
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    ORA-02085 Database link %s connects to %s
    *Cause:   a database link connected to a database with a different name.
    The connection is rejected.
    *Action:   create a database link with the same name as the database it
    connects to, or set global_names=false.
    Please change it to false by doing :
    first option:
    Log in the database with DBA privilege and use the command:
    alter system set GLOBAL_NAMES = false
    second option:
    Change the GLOBAL_NAMES to false in database system parameter file, init.ora
    ==================
    Options tried:
    ==================
    1. I tried to change GLOBAL_NAMES = false but still not able to create the DB LINK.
    2. As per suggestion of one the friend
    "A file named "Logon.Properties" under the directory $OWB_HOME/wbapp
    in this file please set the property
    OWBSingleUserLockUsage = false"
    I tried the same but it is still not working.
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected]
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Keyboard lag while typing

    I was wondering if anyone else experienced a lag in the on screen keyboard while typing in certain apps? I have an app that lets me text my friends but as I try to type I can type out a whole sentence or two before the words on appear on screen. Does anyone know why this happens or how I might fix it? In advance thank you for any and all help

    I've had this happen a time or two on my iPad. Usually quitting the app and restarting it solves the problem.
    Go to the Home screen and double click the Home button. That will reveal the row of recently used apps at the bottom of the screen. Tap and hold on the app in question until it jiggles and displays a minus sign. Tap the minus sign to actually quit the app. Then tap anywhere on the screen above that bottom row to return the screen to normal. Then restart the app and see if it works normally.

  • How Do I Hide Mouse Pointer While Typing In Firefox

    Only in firefox, and only recently am I having problems typing anything through firefox, as the slightest touch of my laptops touch pad causes the mouse pointer to jump along with my typing cursor. This is causing major issues as I conduct all y business emails through firefox. If this cant be helped I will have to start using Internet Explorer Again. EVERY other program I use auto hides the mouse while typing, Except FF....
    == This happened ==
    Every time Firefox opened
    == Not sure, but I believe a week or so ago

    I have had the same problem despite having Hide Pointer When Typing checked in Mouse Properties. Damn annoying. I thought I finally found a solution with a free utility called "Park Cursor Aside" at http://www.makeuseof.com/dir/parkcursoraside-hide-mouse-cursor-when-typing/.
    Works great in Chrome and everywhere else EXCEPT Firefox. How about it Mozilla, are you are giving me another reason to switch over to Chrome? Please fix this. Thank you.

  • Satellite P300: cursor jumps to different positions while typing

    Hi All,
    i have a Satellite P300,
    I am having trouble when i type.
    When i am typing using the keyboard, the first couple of words are ok, but then the words start typing in the wrong place, eg back further into the middle of the sentence i am typing.
    Anybody please help? thanks

    Hi dude
    I had a similar issue.
    While typing the cursor jumped to different positions and I was not able to finish one sentence.
    I though there could be something wrong with the keyboard but finally I have notices that I have touched the touchpad surface accidentally while typing ?.
    I have disabled the touchpad using the Fn+F9 and the issues has gone
    So maybe its the same reason for you

Maybe you are looking for

  • Portal error

    Hi Folks I am having an issue with the newly installed SRM  7.0 Ehp 1 system. All software units including usage type EP have been installed. Once logged in many of the SRM portall links like Supplier Services, Material Monitoring, Contract Monitorin

  • WYSIWYG HTML editor extension or replacement

    Hi everybody, We have a client that needs additional functionality in the WYSIWYG HTML editor in Oracle9iAS Release 2. Specifically the client needs to add pictures to an article/text in a simple browse and insert kinda way. It would be desirable to

  • Badi's, user exits, function modules and reports

    Hi all, Can anybody tell me the exact diff among Badi's, user exits, function modules and reports? I mean what are their functions? thanks

  • No deactivate option in CS3!

    I am trying to move my CS3 installation to a different computer, but there is no Deactivate option in the help menus. It is not that it is grayed out, it just isn't there at all. I have a volume license (under a state contract), but I should still be

  • Printing Problem - the process "mdns" stopped unexpectedly with status 1

    I have been trying to get my Epson Stylus rX620 to print wirelessly for a while. It actually worked once and printed two separate documents. Then however it decided not to work any longer and it seems that nothing I do changes it. The same error mess