Cancel on ApplyFormatOperation does not not on empty paragraph

Steps to repro:

1. place the cursor in an empty paragraph

2. the value using an ApplyFormatOperation paragraphStartIndent

3. Cancel

You will notice that the operation not to defeat.

Here is a video of it.  I used the Ctrl + Z to undo. http://screencast.com/t/YzE0ZTc5OTMt

Seems to be the issue with this code that is executed in ParaEdit when the cancellation

public static setParagraphStyleChange(flowRoot:TextFlow,begChange:int,_endChange:int,_coreStyles:Object):void

{

var beginPara:int = begChange;

while (beginPara < endChange)

     {

var para: ParagraphElement = flowRoot.findLeaf (beginPara) .getParagraph ();

para.setCoreStylesInternal (coreStyles);

beginPara = para.getAbsoluteStart () + para.textLength;

     }

}

It seems that perhaps it should be beginPara < = endChange in the case of an empty paragraph.

Thank you

Thanks for the report. I'll write a bug.

Tags: Adobe Open Source

Similar Questions

  • Bug: Trash does not display 'empty' icon when the Recycle Bin is emptied.

    Bug: Trash does not display 'empty' icon when the Recycle Bin is emptied. This only happens when you use customized for the trash icons. The Recycle Bin appears correctly when office is updated.

    It would be nice if someone could answer this question, as it is 8 months old.

    Click Start, type regedit.exe, and then press ENTER.

    Reach:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\ {645FF040-5081-101B-9F08-00AA002F954E}

    Export the branch above into a REG file.

    Exit Regedit.exe

    Open the REG file with Notepad, copy the content and include it with your answer.

    Ramesh Srinivasan . The Winhelponline Blog
    Microsoft MVP, Windows desktop experience

  • When I cancel printing, it does not cancel. Starts printing the same document.

    When I cancel printing, it does not cancel.  Starts printing the same document, what should I do?

    Original title: * E-mail address is removed from the privacy *

    From Internet Explorer

    Once the data was transferred to the printer, it can usually be stopped.  Some printers are different and allow you to cancel, even if she has already begun to put ink on paper.  Others only allow you to cancel during the data send always on the wire.

    So, it's normal.

  • Cannot cancel CC, CAT does not, Twitter also no response

    OK, last week I tried to cancel my subscription so that it would not renew. Manage my account and clicking on cancel just brings me to a message to contact Adobe. When I go through these steps, I arrive at the only option available to discuss. For a week, cat link should still work.

    Now, my auto-renew kicks. I didn't want that to happen because last year I haven't used PS enough if it is worth, I just upgrade to the stand-alone version of LR (non - CC).

    How am I suppose to now cancel my monthly recurring subscription? I also want a refund on the $9.99 because I was charged due to the fact that I could not cancel through your system and your support is inadmissible.

    Help!

    Kuldeep, unfortunately, you have not really read my post, maybe you just read the subject line?

    I finally heard through Twitter, and the problem is solved. But you give me a link, a link that I have visited many times, does not help. Better to read my post, see what happens, then answer.

    The link you gave me is something I tried for a week now. I followed the steps there dozens of times in the last week... but every time I try to contact customer by CAT, cat is never available, even though it says it's 24 hours a day, 7 days a week.

    Someone through Twitter have finally responded to me and they cancelled my account... but NOT by means of the procedure from the link you gave me because that none of these steps work.

  • Cancel the shortcut does not not on CC

    I have a fully updated version of CC running on the Mountain Lion, and today the shortcut (command-Z) Undo will not work. I can go up to the menu and go to edit > cancel, but I'd rather not!

    Anyone know what could be the problem? It does not work on all of my Adobe CC apps (Ps, AI, Id, Dw, etc.).

    I refreshed on Photoshop (Command + Option + Control + Shift) settings at startup and that did not help.

    I appreciate any assistance.

    Incase this helps someone, somewhere, it ended up being that my keyboard did not work.

    I tested it in MS Word, and it did not work there.

    Reset the RAM on my iMac, did not help.

    Ended up being that the z key worked fine and command worked well, but the combination of both at the same time not worked.

    Solution has been trying another keyboard.

    6 hours, that I'll never see again.

  • I installed a new driver for CD/DVD; TSSTcorp CDW/DVD TS - L - 462 was of... CD/DVD Driver.but it does not read empty CD or DVD. It is said that there is no disc in the drive.

    After I install TSSTcorp CDW/DVD TS - L - 462 A ATA device of... CD/DVD drive, I played a cd & he played the cd. After I tried to back up my laptop, I was told to "put a DVD selected", so I did it, but it does not reconise dvd I set, so I put in a blank dvd, & press "use a dvd blank." but he did not read.  It keep saying "install an accessible dvd writable", or "there is no cd or dvd in the drive," what is happening please help.

    Hello

    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
    Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
    RESTART this will refresh the default driver stack. Even if the reader does not appear to continue
    below.

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other programs-
    a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
    for Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error in Windows
    Vista installation after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    ===============================

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
    Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
    do it right.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    the entries in registry that the troubleshooter does not solve and those who "might" be the cause.

    Check with your Maker system and a device for the two possible firmware updates and
    the correct registry entries for your car.

    Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
    as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
    the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    -----------------------------------------------------------------------

    You can probably find more info here and maybe even the exact registry for your CD/DVD settings
    drive from someone with the same model.

    Forums - a lot of expert real help
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
    nothing change) - find the DevManView device and then make a right click on it free in RegEdit.

    DevManView - free - an alternative to the standard Windows Device Manager, which displays all the
    devices and their properties in flat table, instead of the tree viewer
    http://www.NirSoft.NET/utils/device_manager_view.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Slide show does not (is empty)

    Created a simple slideshow with about 8 images and it works fine in the preview and also dreamweaver but when uploaded the slideshow does not at all just two buttons left and right?

    I'll add 'publish' site for a temp Adobe BC with Muse and then test the slide show... This helps eveyone see question and is free. easy to do.

  • 10.0.2 Firefox does not correctly (formatting, paragraphs, editing) with a forum that I use

    I use the community on Cakewalk.com forum and found that Firefox 10.0.2 does not respond to the positions of others, and does not for good formatting of paragraphs during display causes often the forum because of the error messages.

    I never had this problem with previous versions and to check that Firefox is the problem, I looked at the forum by using Internet Explorer and found no problem.

    You should be able to define your own user agent.

    You can find the current user on the help agent > troubleshooting page information and change this value.

    • Mozilla/5.0 (Windows NT 5.1; rv:9.0.2) Gecko/20100101 Firefox/9.0.2
  • Cancellation of order does not work in FrameMaker 10 - How do I allow it?

    The command Undo and Redo command do not work in the FrameMaker 10 book that I'm working on.

    I'm in FrameMaker 10 on Windows 7. I'm working on a document structured DITA FM.

    Cancel jobs in my other books of FM.

    How do I turn it back on?

    Thank you

    Jenn

    You say cancel works in other books - they are also DITA documents?

    Recently, we noticed a problem with DITA Undo when you use the DITA-FMx plugin, but it occurs only when you edit the labels in Document mode. If change you them to the Structure, the undo history works very well.  (DITA-FMx people were informed yesterday, and they are working on it.)

    I mention this in case it is relevant to your question.

  • I have to cancel my subscription to the month and the site uses an eternal loop me refusing to cancel online &amp; chat does not work? Help, please!

    @AdobeCare

    More I managed to get my cancellation via Twitter. I would recommend that.

    Adobe (@AdobeCare) customer service | Twitter

    DM (Direct Message) them the Adobe ID, order # and the reason for cancellation and they will cancel it for you.

  • When I click on an attachment in my direct mail, it does not download. The "Open" and "Save" and "Cancel" dialog box does not appear.

    I'm syill cannot download my attachments

    Don

    Hi Don,
     

    As this problem is specific to Live mail, I recommend you to post your query in Live Mail Forums for assistance on this issue.

  • Character encoding does not work.

    The OK button in the page character encoding have disappeared in the latest version. Even after I chose a code page, it only shows the Cancel button and does not allow me to change the encoding.

    FireFox 29,0, Android 4.0.4

    Yes, it's a known issue. We publish an update, Firefox 29.0.1, to Google play either today or tomorrow.

  • Satellite M-40, Mat * a DVD UJ - 831S does not read blank DVD

    It does not read empty, brand new DVD discs: Sony, TDK, etc., showing "a drive not accessible" and with a memory full 0 kB! but it reads DVD movies

    Hello

    Have you installed the Roxio Easy CD Creator software on your laptop?
    This problem may occur the Roxio CD recording program Easy CD Creator is installed on the computer, and if the version of the CD recording program is not compatible with Windows XP.

    Please check this page from Microsoft:
    http://support.Microsoft.com/default.aspx?scid=KB; EN-US; 315350

  • Shuffle does not work

    I'm having a problem with the shuffle feature. What I want to do is to play all the songs in my music library in random order, so I went into settings > music Options and turned ON Shuffle. Then I click on music > Shuffle and a song randomly starts to play. But after that, he plays just songs in alphabetical order.

    When a song is played, I can press the Menu button, which shows me that the Shuffle is ON. If I shuffle off and back on, then the Shuffle icon appears at the top of the screen. When I press Next, a song randomly starts to play, which is exactly what I want. After that? Back to alphabetical, and the Shuffle icon disappeared. Check the settings, and Yes, the Shuffle is still on. Except that this isn't the case.

    I spend a lot of time driving to my work and I love the changing and unpredictable music. The ability to shuffle 4 GB of songs is the main reason why I bought a MP3 player that is dedicated in the first place. Can anyone offer some suggestions as to why the Shuffle does not work?

    It seems that your drive has firmware 1.25 (do you have updated recently?), which has now been cancelled due shuffle does not.

    Downgrade firmware 1.22 , the problem will be solved.

  • HP 15 ab019na: clicking on the touch pad does not work

    My laptop newly purchased has just been upgraded to Windows 10. My problem is with the touch-pad. Clicking on most of the things with it (left or right) turn simply on the element, but it does not open the item. For example, the cross that appears in the top right, to a screen, to cancel this screen does not when you click on it. I have to touch it with my finger so he could work (the laptop's touch). A lot of hypertext links do not open when you click on it, but their contact works. The Start button at the bottom left does not open when you click on it, but it's when they are affected.

    Clicking is sometimes more convenient than touch, so I would if the issue is resolved.

    Hello @Gallant,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems, with the help of the community!

    I read your post on the issue of the TouchPad and wanted to help you!

    Please consult the following document and let me know how it goes:

    HP Notebook PC - using the touchpad and ClickPad (Windows 10)

    Please let me know if this information has been helpful by clicking the thumbs up below.  If this post has solved your problem, then please click accept as a Solution.

    Kind regards!

Maybe you are looking for