Squiggly wrong word red line position not fix to center of text

Hi,
when use sguiggly spell checker in richtextEditor's richtext area which have a fix size and set in canvas and set spell checker on this then i get red line position on end of text and when i write and enter so scroll is enable and text height is enable so for each increate text size the redline position is decrease like one more pixel from text of line so like this after some time the red line position is bottom of text.
I don't know how can i will solve this problem  , i need some direction or view how can i maintain red line position of center of text.

Hi,
Thanks for reply
My code is given below in that richtexteditor is dynamic added in canvas as per condition.
Please tell me when next update of squiggly will release.
                // CODE OF RICHTEXT BOX WHEN ADDED DYNAMIC AS PER PREVIOUS CONDITION
                var richtext:RichTextEditor = new RichTextEditor();
                MgrCommon.instance.setSpellChecker(richtext); // set spell checker
                richtext.fontFamilyArray = MgrFont.instance.fontList; // set font list
                richtext.setStyle("fontFamily", "Arial");
                richtext.setStyle("fontSize", 14);
                Application.application.canvas_richtext.addChild(richtext); // add richtext to canvas
                richtext.textArea.verticalScrollPolicy = ScrollPolicy.OFF;               
                richtext.textArea.htmlText = item.voText.body; // set htmltext from value object.
                var richTextField:TextField = richtext.textArea.mx_internal::getTextField();
                richTextField.embedFonts = true;              
                richtext.name = "richtexteditor";
                richtext.data = new Object();
                richtext.data['item'] = item;
                richtext.textArea.verticalScrollPolicy = "off";
                richtext.textArea.horizontalScrollPolicy = "off";
                createStyleCombo(richtext); // FOR SET COMBO STYLE
                var richtool:* = richtext.toolbar;
                richtext.showToolTips = true;
                richtext.textArea.addEventListener(ScrollEvent.SCROLL, setTextHeight); // set dynamic increase height when scroll position > 0                         
                try
                    richtext.toolbar.width = 500;
                    richtext.linkTextInput.percentWidth = 100;
                    richtext.linkTextInput.addEventListener(FocusEvent.FOCUS_IN , focusInHandler);                   
                    richtext.fontFamilyCombo.width = 157;
                    Application.application.area_text.addChild(richtool);
                }catch(e:*){    }
                setRichTextStyle(richtext, item); // set richtext height and width
                richtext.textArea.setFocus();
                setTimeout(setRichTextFont, 100, richtext); // set richtext font combo
                // CODE OF MANAGER WHICH USED FOR SPELL CHECKER
                public function setSpellChecker(textFiled:*,isAddListner:Boolean = false):void
                    if(textFiled is RichTextEditor || isAddListner == true)
                        textFiled.addEventListener(FlexEvent.CREATION_COMPLETE,creationComplate,false,0,true);
                     else
                         SpellUI.enableSpelling(textFiled , 'en_US');               
                private function creationComplate(event:FlexEvent):void
                    if(event.currentTarget != null)
                          var curObj:UIComponent = event.currentTarget as UIComponent;
                          if(curObj)
                              curObj.addEventListener(Event.REMOVED_FROM_STAGE , removeFromStageHandler,false,0,true)
                              SpellUI.enableSpelling(curObj , 'en_US');
             private function removeFromStageHandler(event:Event):void
                 if(event.currentTarget!= null)
                     var curObj:UIComponent = event.currentTarget as UIComponent;
                     if(curObj)
                         curObj.removeEventListener(FlexEvent.CREATION_COMPLETE,creationComplate);
                         curObj.removeEventListener(Event.REMOVED_FROM_STAGE , removeFromStageHandler);
                         SpellUI.disableSpelling(curObj);   
                curObj = null;
                System.gc();   
Thanks,
Mohit.

Similar Messages

  • The dreaded battery with red line (battery not detected)

    I've tried everything I can find to fix this problem...  a little while ago, I was writing a text message when my 8900 decided to reboot.  When it came back, all that was on the screen (and all I've seen since) is the battery with a red line through it.  I've done battery pulls, charded for more than a day using both USB and directly into a wall... I tried to wipe and reinstall but have been unable to complete the procedure (symbol reappears part way through)....  anyone out there have anything else I can try?  Here is a bit more about the attempt to wipe and reinstall the OS:
    Downloaded and ran JL_Cmder, was unsuccesful, it wouldn't connect to the phone.  Ran AppLoader from command prompt, finally able to get it to connect to the phone by unpluging from the usb, removing and replacing the battery and plugging back in immediately as the red light came on.  Got through removal of applications and instal oif JVM and system files, on the step where it waits for the device to initialize, it stops and the battery/line comes back on the screen....
    any further thoughts/advice are greatly apprecaited.
    Thanks
    Chris

    Mine is doing the exact same thing...We are not the only users who have run into this SAME problem. I have searched everywhere for a solution. I've tried JL, BBsak, DM, and crackmem. Nothing works...can't seem to connect
    Berries are good for you!

  • Skimming not working, the red line will not follow my mouse anymore, why?

    When I try to skim my video to choose what I want to use in my project, it won't skim anymore. The red skim line will not move with my cursor. Did I somehow turn it off? How can I get it to work again? Thanks

    Hi Dani, After speaking with a sales representative I have been advised that there are no available ports at my address. I was mostly sure this would be the situation, and this only adds to the frustration of our family. Just because we live in an area considered 'rural' we are treated with terrible access to any kind of fixed line internet connection at all. Is there any way for our family to recieve any kind of compensation for the fact that we cannot be supplied with the same quality and quantity of internet that most other people within a 50km radius of our house, can get? I do not understand why we have to deal with the comparatively tiny data amounts of the mobile broadband modems, and cannot even get a matched data quantity, seeing as we pay much more than the regular household to achieve not even a quarter of the data provided by one of the smallest residential ADSL bundles. I understand that these modems are intended for mobile use and this is why they are priced up, but the modems never leave our address which I'm sure some Telstra employee with access to IP tracking programs can clarify, they are soley for our home internet, and our family is grealty inconvinienced by the lack of ports to our area.  Is there any way that we can request a port increase for our exchange, or any similar avenue to even slightly shorten the time our family has to wait for internet so that they can keep up with colleagues and peers in terms of schooling and work? As our location is not on NBN's 3 year plan, which gives us at least 3 more years until we can access high       data-limit broadband services, and by then who knows how much more technologically integrated our society will become. Any information as to who we can talk with to try and achieve any kind of comparitvely capable internet services would be greatly appreciated, as would any information about the status of increasing port availability.

  • Right Side Red Line will not appear for full browser width.

    I had my top navigational bar set up to fill in a 100% browser width. Now, only the left side red line will appear and the right side will not work.
    http://waketestbykerry.businesscatalyst.com/index.html
    Any ideas on how to fix this?

    Ah, I understand now. Menus will stretch to 100% browser width in terms of any background applied to the top level Menu widget, but the actual items will not be stretched or fitted at the moment. I'd recommend adding that to our ideas section so that others can vote on it. It would also help if you clarify what you'd expect. Would you want the menu items to grow, or the space between them? And what would you expect if one of the menu items became too long for the container? Should the text wrap, or should it not be able to get smaller than that?

  • 10.1.3.1 - Wrong syntax red flag does not appear for undefined variables

    I installed 10.1.3.1 and I noticed something strange.
    In 10.1.3.0 a very nice feature was the indication, with a red flag, of wrong instructions.
    Now, when a variable is not defined, the red flag doesn't appear and I see the error only at compile time.
    Did I miss something during conversion ?
    Is it a bug ?
    Tks
    Tullio

    I was getting this problem, and diagnosed and fixed the issue in my case. This was after checking the audit preferences and finding they were correct.
    The problem was that I had migrated from an installation of 10.1.3.0 that had developed the problem described in Jdev plugins cause StackOverflow exception on startup of 10.1.3 .
    JDev 10.1.3.1 doesn't display the exception on startup, but it seems still to mess up the way it reads your preferences--quite significantly. That seems to have worked for me.
    If others have this problem and migrated under similar circumstances, try the solution suggested on that thread (removing just the <Item> tags that mention scm, not all of them, which causes even worse problems).

  • Strange Red Line

    There's strange red line appearing on right side of canvas in the browser. The red line is not visible on the standalone quicktime player.
    Here is the example: http://www.tordiaimages.com/uploads/redline.png

    Your terminology is very confusing, because "canvas" and "browser" mean one thing to FCP users and another to non FCP users.
    You're saying the red line only appears when you play your exported video in Firefox. If that's true, it's quite clear where the problem lies. Just explain this to your client.

  • Motion path red line missing?

    Hey.
    I've been using Motion 1.0.1 for about a year now and everything has been going great. Today I had my first problem. When I opened up motion and added the motion path behavior to one of my objects, the red line did not appear. I have played around with all sorts of view setting, window options, and looked though "Motion Help" as well. Nothing I have seen has worked. I just can't figure out how to get the red line to appear again so that I can edit it and continue with my project.
    Thanks for any help!
    -----prismi

    Ok. I've managed to be able to find the red line. It only appears if these conditions are fulfilled:
    1) I have done command slash to show the overlays
    2) When I control-click on the object to which I am adding the motion path I select "transform"
    3) My pointer tool must be the topmost transform/select tool (shift s)
    With all these the red line appears, but I can not edit it in any way. If I change any setting the line disappears.
    -----prismi

  • Adobe Captivate 5.5 Red Line on Timeline

    I have a red line on some of the slides in my Timeline going from left to right but not as long as the entire slide's timeline.
    What does that mean?

    @Varun, Sorry Varun to correct your answer but Video Demo did not exist yet in Captivate 5.5.
    @dggambal That red line meant in 5.5 and previous versions that in a automatic capture Captivate had to switch over to Full Motion Recording because of moving actions like dragging, scrolling that cannot be captured on static slides.
    But I'm puzzled because you tell that the red line is not going till the end of the timeline. Normally FMR-slides are separate slides. Could you post a screenshot of that timeline? Did you perhaps change the slide duration? Can you play that slide to see what happens after the red line?
    One tip: change the settings for FMR in Preferences, Recording from 16 to 32-bit, to have better quality that will be more like the static slides.
    Lilybiri

  • Red Lines Across the screen?!

    I did a search but didn't find anything similar to what I'm experiencing. I watch DVDs and movies on my iBook and noticed lately that the screen will have a reddish hue. I can adjust the screen and it will go away, but I've noticed it's happening more and more, and also getting harder to adjust the screen where the red lines are not showing up. I'm trying to figure out if it is a connection cable or the LCD. I can still get a clear picture with the LCD, but if I move it just a little, they come back.

    You can follow the directions here:
    http://www.keepandshare.com/doc/view.php?id=1132604&da=y
    (You will need to download the PDF.)
    Choose the links for the number of "Things to do first" from iFixit's website here:
    http://www.ifixit.com/Guide/Device/iBookG312%22

  • Why can't I see the red line indicating that i typed a word wrongly

    i already check the box that says check my spelling as i type but the red line indicating a wrong word doesnt show up.

    I see you have the English-GB version of Firefox, that one does not include a dictionary. You can install the British English dictionary from https://addons.mozilla.org/firefox/addon/british-english-dictionary or if you want another version of English, from https://addons.mozilla.org/firefox/language-tools

  • How can I add a red line below all those words, which are not technically correct? And how can I do Pages to do it automatically?

    So, how can I add the red line below all those words, which are not technically correct.
    I have tried everything, but nothing works. Red line should come there automatically, but I can't find nothing from settings to do this. Can you guys help me?

    There isn't any finnish spellcheck in Pages
    Inspector palette = Asetukset
    I am trying to find out where to get a finnish dictionary that can work in Pages. I am not sure but try this
    http://www.jkwchui.com/2010/03/spellchecking-latex-in-macosx/

  • My Iphone 4s was not dropped and when I went to use it the screen was completely covered in blue and red lines I can not see anything is there something that I can do to fix it?

    The screen is blue striped and when you try to reset it goes to blue and red.  Can not see anything HELP

    Bring the phone to Apple for evaluation.  Sonds like a hardware issue.

  • My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    I'm afraid you'll have to get the phone serviced, dropping the phone must have damaged additional parts inside the phone.
    But Apple will not service the phone anymore, opening the phone and replacing the battery should only be done by authorized personal, not by users.
    You'll have to look for a 3rd party repair shop and see if they can fix this, sorry.

  • When opened, my image appears black with a few red lines at the top, yet the thumbnail looks as it should be. How do I fix this?

    I have been working on an illustration in Photoshop for a few months now. When I tried to open it yesterday it came up as a single layered black image with a few red lines at the top. I have no idea what this is. I have not even used red in my artwork. However, no matter how many times open this file, the thumbnail still looks like my artwork, as it should be. How do I fix this? Will I be able to get my artwork back? Please help! Thank you in advance.

    Make sure you has the latest Windows Device driver for your display adapted from its manufacturer's web site installed on your system. Perhaps you updated the device driver with a Microsoft Windows Update.   Microsoft update does not always install the correct update needed fpr Phoroshop.
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • My iPhone 5 screen is black and will not come back on. The phone still works when paired with my vehicles Bluetooth what's wrong with it, and can I fix it?

    My iPhone 5 screen is black and will not come back on. The phone still works when paired with my vehicles Bluetooth what's wrong with it, and can I fix it?

    I have a similar problem.  I restored my iPhone 5 to the latest available OS.  After completing the process the phone never restarted.  The phone was fully charged when I restored it but now refuses to charge past the red battery icon.  I have been able to get the phone in UFD mode several times and have been able to load the new OS on the phone.  The Apple logo does come on and the software fully loads.  iTunes tells me the phone will restart but never does.  I left it to charge all night but it never appeared to load the battery.  This morning I went to the Grand Central Terminal apple store for help.  A woman at the store plugged the phone in but it never charged.  She absolutely refused to believe that I got my phone in UFD mode and loaded any software on.  I don't think it is a battery issue.  The only solution I was given was to buy a new phone.  Repairing it was out of the question.  At this point the phone is completely useless.  Thanks in advance for the help.

Maybe you are looking for