How can i change the colour of key words in long text fast ?

Hi,
I have long text (for example script) which should be displayed in TextArea (or something similar) with colored keywords.
I tried with TextRange
new TextRange (myTextArea, true, start_Index, stop_index)
and with
RichEditableText 
var highlightFormat:TextLayoutFormat = new TextLayoutFormat();
highlightFormat.color = 0xFF0000;
for each (var currentKeyword:String in keyWords) {
myRichEditableText.setFormatOfRange(highlightFormat, indexOfKeyword, indexOfKeyword + currentKeyword.length);
Either ways are too slow, 30 sec....
The indexes of words which should be colored are computed below a second but creating an object for every keyword is too expensive .
Any Idea what should i do ?

There are a couple of things you can do. Check out the PS Touch tutorial, "Replace colors," as one example.
You can optionally use the other selection tools in lieu of the Magic Wand selection tool.
Also, you can use the Paint Tool's effects options in conjunction with any of the selection tools. Many common effects and adjustments (like "Color Balance" in the PS Touch tutorial) are available by tapping the Mode option and choosing, "Effect," rather than, "Paint."

Similar Messages

  • How can I change the colour of an iCal calender on the iPhone?

    I have two iCal calendars on my iPhone that sync to google. It works fine with push but both of hem has the same colour. That makes it hard to see the diference.
    How can I change the colour?
    I am syncing to outlook so I don't have iCal on the statonary.

    I looked into this before, and at the moment there is little you can do to customize the inputrender tag, short of subclassing it and adding the functionality you require

  • When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Question
    When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Is FF downloading the file as a .txt file? If so, go to "Folder Options" in the windows control panel. Click on the "File Types" tab. Scroll down until you reach the TXT file extension. Look to see what that extension opens with (lower part of panel). It probably shows notepad. Click on the <Change> button. Scroll down until you find "Microsoft Word." Select it and click the <OK> button. That should show the TXT extension is now associated with Microsoft Word. Click the <Close> button at the bottom of the panel.
    If FF is downloading the file as any other type, use the same process as above except look for the corresponding extension instead. If the extension is not listed click on the <New> button and create an association using the extension in the file name and then associate it with MS Word.
    davewdan

  • How can i change the language in Microsoft word

    hi
    can you please tell me how can i change the language in Microsoft word ?

    You might want to also search/ask in the forums devoted entirely to that product:
    http://answers.microsoft.com/en-us/mac/forum/macword

  • How can I change the colour of the chart in the new Keynote?

    In the last version I simply choose the color (for example metallic and choose the one I want for each bar). In the new version I can choose only the category of the colour but how can I manage the colour of a specific bar or pice of pie?
    thanks for your help

    I find the solution! Just click on the section you want to change color, go to style and click the colour you want.

  • How can we change the colour of the text message?, How can we change the colour of the text message?

    How can we change the color of the text message and the bar code?

    Text message where?
    In response, I do not know of any setting that allows one to change the things you indicated.
    Barry

  • How can i change the colour of the keys on my mac? is it possible to get them changed?

    i was looking at a macbook i was today and it's keys on the keyboard were in a rainbow formation, with different colours. Is there a way to bring mine in to change the colours of the keys? or did i have to order it like that?

    Ask the person who owned the computer or do a Google & Bing search. 

  • How Can I change the colour in title bar of Window in Form 9i

    Hello
    All,
    I want to change the colour of title bar in window ?
    how can I ?
    From
    Chriag Patel

    Chirag,
    this is not in a scope of control for Forms and instead determined by the look and feel.
    Frank

  • How can I change the colour of the tools?

    I want to change the colour of the blue box next to the word diabc. The blue field is a tool with you can change the text. I know how to change one field at a time but I want to change the standard settigns, so that I don't have to change it field for field. I can't find it anywhere. I have found some information about changing the tool bars, but you can't change this tool I use. Only others.
    Who can help me? I have Adobe Acrobat 9 pro extended. I use the Dutch version, so some things may have a different name.
    I have included some pictures.
    If you have any questions, just ask. 

    Thanks for your help so far.
    I hope you can see it now. It's a bit difficult to make a picture from my print screen, because I don't have the right programs at my computer at work.
    The menu is in Dutch. But I don't have so many options as you have. If I go to 'eigenschappen' (in English properties) I get this menu. In this menu you can change the colour, but Adobe doesnt' remember this, so you have to change it every time. And that's quite a lot of work if you want to do this. Because I have to review a document of 40 pages.

  • How can I change the colour of an adf:inputrender tag

    Hello,
    I have an jsp page with an input render tag
    <adf:inputrender model="bindings.OutDateTime" />
    Using a choose tag <c:choose> I want to change the colour of the tag if it is a mandatory field
    The test condition is simple
    <c:when test="${bindings['OutDateTime'].mandatory}">
    however I cannot see anyway of changing the colour of the <adf:inputrender> tag since it does not accept a style or styleclass attribute.
    Can someone please help me.

    I looked into this before, and at the moment there is little you can do to customize the inputrender tag, short of subclassing it and adding the functionality you require

  • How can I change the colour for standard captions?

    Hi,
    I work with Captivate 6. I want to change the background colour for the standard captions (hint/failure) etc. When I go the style manager, I can select a Bitmap with the colour I'd like to use, but Captivate doesn't display the colour. The caption is now displayed transparent?!?
    Hope someone can help me, thanks!
    Best regards

    If you want to change the default caption style in a new project (and in that project alone), create the new project and change the default caption style or clone the default caption style and set it as default. Already created captions can be forced to take on the new default style, using the Properties panel.
    If you want to change the default styles for several future projects, use the Object Style Manager before opening or creating a new project.
    Lilybiri

  • How can I change the colour of the web IDM screen from blue

    We run 2 instances of IDM - one for production systems and one for all other dev/test/uat systems. Both run on separate databases and web servers.
    Is there a way I can change the blue background in the web interface to another colour so I can easily see whether I am using the production or development IDM session ? Yes, I know I can change the icon or check the URL but screen colours are such  quick and easy way to identify the session.
    regards

    Hi Phil,
    Are you using SAP IDM 7.0 or 7.1...

  • How can I change the colour of the cursor in a spry menu?

    Hi there,
    I am trying to change the cursor on my horizontal drop down menu as it doesn't go with the rest of my design.
    I need the cursor to be #544107 on off state and then #835e1c on hover state. Is this possible? I've tried various things but nothing has worked for me.
    My CSS is below:
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        width: auto;
        font-family: "Times New Roman", Times, serif;
        font-weight: normal;
        text-decoration: none;
        border: 1px solid #faeed7;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        width: 7em;
        float: left;
        font-family: "Times New Roman", Times, serif;
        font-weight: normal;
        text-decoration: none;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        width: 8.2em;
        position: absolute;
        left: -1000em;
        background-color: #faeed7;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
        font-family: "Times New Roman", Times, serif;
        text-decoration: none;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 8.2em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #faeed7;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        background-color: #edbf61;
        padding: 0.5em 0.75em;
        color: #544107;
        text-decoration: none;
        font-family: "Times New Roman", Times, serif;
        font-weight: normal;
        border-top-color: #faeed7;
        border-right-color: #faeed7;
        border-bottom-color: #faeed7;
        border-left-color: #faeed7;
        border-color: #faeed7;
        border-top-width: 1px;
        border-right-width: 1px;
        border-bottom-width: 1px;
        border-width: 1px;
    Thank you for any help.
    M

    Hi M,
    in addition, you only can use programs "outside" of your DW. I suggest to "Google" for them, as I did and found for example this:
    http://www.cursors-4u.com/ and while examining this website my cursor changed immediately.Hans-G.

  • How can I change the colours for read/unread emails on a Samsung S6?

    The only difference between the colours for read and unread emails on a Samsung S6 is a very pale grey versus white background.  Is it possible to change these colours, or font colours, so that the difference between the read and unread emails is more obvious?

    Hm, I belive it has nothing to do with phone, most likely it's the email application that handles settings. You need to fire your email application and check the settings. Unfortunately at least in GMail app there is no way to change the theme, you might want to look for other email clients that offer customisable themes or simply more themes to select from.  Appologies that I don't have any recommndations to make 

  • How can i change the colours on ios7,  they make me feel physically ill. :(

    Does anyone know if this is possible?
    I suppose it's good in a way - i can only look at my phone for a minute before it makes me feel queasy.
    Seriously, who on earth decided fluorecent acid green was a great idea?
    It's so harsh on the eyes!
    fingers crossed there's an easy fix - or my next upgrade won't be to an apple

    The closest you can come to changeing the icon colors in iOS 7 is the Invert Colors setting.
    I am not sure you will find it to be any better but you can try it here:
    Settings > General > Accessibility > Invert Colors
    This will also effect your photos too. You can set it to a triple-click of the Home button for quick on/off.
    Settings > General > Accessibility > Accessibility Shortcut > Invert Colors

Maybe you are looking for

  • ITunes 10.4 crash KERN_INVALID_ADDRESS

    Right after I`ve upgraded to OS X Lion and updated iTunes to the 10.4 - I have a permanent error on iTunes startup. It begans to do something (determining gapless pleyback info and some other) and crashes. Every time! It seems to be crashing right in

  • Alpha channel in initial video

    whether i am using premier or final cut, exactly how would i encode and save an alpha channel (to use in flash) in my video before i import the video into the flash video encoder. what setting(s) do i use in these programs? i am shooting the video wi

  • FTP Server  vs  SAP XI

    Hi Friends, We are having FTP server for integrations. We are planning to replace existing FTP process with SAP XI. I am needed to know what are the cost benefits of using SAP XI. Please reply on this. Thanks in advance. Raju

  • Language Monitors and Bi-directional Printing: What functionality is lost when disabling? What else uses them?

    Server OS: Windows 2008 R2 Standard Function: Primary Domain Controller and Print Server Clients: All are running Windows 7 Pro 64-Bit SP1 We're considering disabling the HP Universal Print Driver Language Monitor and in-turn Bi-directional Printing

  • Display color profiles causing gamma shift in video playback

    I recently got a new monitor - Dell U2713H - to use with my macbook pro. If I use anything other than the default color profiles the gamma will shift after about 7 seconds during video playback to something much cooler and dimmer. it stays that way u