Undo on ApplyFormatOperation not working on blank paragraph

Steps to repro:
1. Put your cursor in an empty paragraph
2. Set paragraphStartIndent using an ApplyFormatOperation
3. Undo
You will notice the operation wont get undone.
Here is a little video of it.  I used Ctrl+Z to undo. http://screencast.com/t/YzE0ZTc5OTMt
It appears the issue is with this code that gets executed from ParaEdit during the undo
public static function 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 like it should maybe be beginPara <= endChange in the cases of a  blank paragraph.
Thanks

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

Similar Messages

  • My "undo" command does not work in the new version of GB.  Please advise.  This is a real problem.  I had no issues with  GB from iLife 11.

    My "undo" command does not work in the new version of GB.  Please advise.  This is a real problem.  I had no issues with  GB from iLife 11.

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • If condtion  not working  in blank text field

    I want that when the text field is blank it should go to the else if portion of the code below:
    JTextField tf1=new JTextField(15);
    if (tf1.getText() != null)
    JOptionPane.showMessageDialog(tf1, "insert value in the range of a-z,A-Z,0-9");
    }                          else if (tf1.getText() == null)
                             System.out.println("fdsafasdfasdfsdf");
    System.out.println("1234");
                                                      JOptionPane.showMessageDialog(tf1,"Enter SmartTextID");
    but control never goes to ==null,even i have initilaized textField with a text then also when i chk with tf1.getText() == "assigned text", its not working.
    plz send me the correct code for this
    thanx..

    if ( textField.getText().trim().equals("") );

  • 'Undo' Keyboard Shortcut Not Working

    My usual keyboard shortcut for Edit > Undo (command + shift + z) does not work anymore.
    This happens across all applications, from Apple default apps to Adobe CC suite.
    I can't even edit it through each applications preferences or via System Preferences > Keyboard > Shortcuts
    Has anybody else encounter this issue? I've no idea what's causing this.
    Thanks
    Mariano

    Hi Tom
    FYC:
    This seems to be a Leopard problem with foreign (not US English) languages and keykoards.
    Accidentially I found a workaround, consider the Mac to be rebooted:
    - Open International.
    - Drag English to be first language.
    - Drag <your language> back to first position.
    - Close International.
    - Open FCE 3.5 or FCE 4 and all keyboard shortcuts will work fine.
    - This will be permanent until next reboot.
    No such problems under Tiger!
    I already addressed this 100x to Apple Feedback since I installed Leopard in Nov 2007. But unfortunately they do not hear me.
    CU,
    Roland

  • I got iPhone4 and safari and mail not working just blank screen appear

    I Got iphone4 after update to 6.1.3 YouTube,safari,and mail not working just appear blank screen wen i try any of thease app anybody can help me thank

    tried
    http://www.apple.com/support/iphone/assistant/phone/#section_1

  • Desktop app not working. Blank screen showing - Null 1.0.7.5

    Hi all, I have seen that a few people seem to have the same probem as me.  I have recently set up my new 3TB cloud, but can not get the desktop app to work. it just shows a blank screen with Null 1.0.7.5 I am using Windows 8. Can any one help? I have tried the suggestions from other posts with no success. 

    Welcome to the Community.
    Have you tried using the latest version of the desktop app?
    http://support.wdc.com/product/download.asp?groupid=904&sid=209&lang=en
    You can also use your NAS using Windows Explorer as opposed to the WD My Cloud app:
    http://wdc.custhelp.com/app/answers/detail/a_id/2676/

  • Safari 1.3.2 shortcut not working for blank tabs - normal?

    Just got my powerbook back from Apple with an "updated" OS X.3.9 and Safari 1.3.2. Trying things out before I zero the drive and reinstall everything back the way I had it (OS x.3.8 and Safari 1.2)
    Trouble is the keyboard shortcut for cycling through tabs seems to be broken. I used to use CMD-SHIFT-Arrow Key to move left or right through tabs. Now it won't work except on tabs that already have pages loaded. If I land on a blank tab (like one of the dozen I open in advance as habit) it just dies and then I have to use the trackpad to select a new tab.
    So, is that a new "feature" of Safari 1.3.2 or is mine broken? I don't like it.

    Thanks for the info, Tom.
    I must admit great disappointment at this "improvement". CMD-Tab-Arrows worked 100% of the time in version 1.2. Now in 1.3.2 it doesn't.
    For me, it makes infinitely more sense to leave my fingers on the arrows to cycle tabs because I'm already using them alone and with other modifier keys for scrolling up and down and left and right anyway. I'm less likely to mistake the arrows for other keys (remember I'm using a highly compact keyboard).
    You're right this weird bracket key [ ] shortcut works even in blank tabs. However, it's definitely 1 strike against keeping the OS and Safari at the "updated" versions. Sigh.

  • Imported movie of hard disc not working. Blank square and when mousing over

    I have imported about 150 gig of mp4 video into my iMovie event library and no problems until now. The mp4's are stored on my external hard drive (1000gig) and add up to around 105 gig in total. iMovie is also stored on this hard drive. When I import into my event library everything was fine but now I have hit a point where any more mp4's come up in the event library as a blank file, when I mouse over them a still shot comes up of another pre-imported video that has nothing to do with that video and the file plays sound but there is no footage. I still have 50 gig of footage to import before I can start editing my movie.
    I still have 750 gig free space on my external drive and I am using a Macbook with 4 gig of memory and 48 gig of 119 still available on my Mac hard drive, is this the problem? Does anyone have any solutions ?

    Thanks again Tom, I worked out your clue, being "whoa" as to meaning I shouldn't have moved iMovie onto my hard drive, I have moved it back to my Mac and everything seems to be working fine now, fingers crossed. I am really getting good at importing now, but don't think you'll be rid of me just yet as I have a lot of editing to start in the near future!

  • E72 photo editor not working anymore (blank "apply...

    Hello,
    Today I tried to edit a couple of photos shot in my E72, but the editor is no longer working properly.
    As usual, I select the photo in the Image Gallery, then select Options > Edit. The editor opens, and I select Options > Apply Effect. The grid with the effect icons (brightness, contrast, crop, etc) appears just as an empty frame, no icons. I try to use the navigator to "move" blindly, as I know where the icons should be, but that doesn't work either.
    One editor choice that I don't use - Show full screen - returns a blank screen.
    I have already turned the phone off and on, removed thebattery for a few inutes as well, nothing.
    Please, does anyone know a solution?
    Thanks!

    Have you tried without memory card to se if same result in case of possible corruption?
    Suggest that you backup essential data with Nokia Suite and return device to "Out of box" state by keying in *#7370# followed by 12345 (default Nokia lock code unless altered by user).
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Store video preview not working. Blank/grey pop-up preview

    I use the preview often before a purchase. And as of today my preview no longer works. The window pops open but never starts the video. Just a grey screen. I searched for an answer and found nothing. Any help? I'm sure it's a simple solution. Thanks in advance.
    Message was edited by: theBman
    Message was edited by: theBman

    I had the same issue today and I was able to resolve it.
    My current setup included the Altona - USB to HDMI converter. I use this for a 3rd display setup. To use that I used some software called "Display Link". Once I removed that software and rebooted it fixed my issue. If you do not have the same setup as me, try to remember any software that you may have installed or tweaked that plays with your video display card(s) and or with Quicktime. Yeah even though it may have worked when you set that up it may now work weird due to any Apple updates.
    Look for :
    DisplayLink Software
    WMVA player stuff
    Quicktime PLugins
    Hope this helps out in anyway

  • App store not working just blank screen how do I get it back?

    I just bought my iphone 4s 2 days ago and now I am having problems. My appstore will not open. I open it and all it does is bring up a blank screen. What do I need to do?

    Tap the home button to close the AppStore app. Double tap home button to bring up list of recently used apps. Tap and hold the AppStore app icon in this list. When they jiggle tap on the delete badge. Tap the home button again to restore to normal state. Now launch your AppStore app.

  • Youtube video not working its blank and black every browser has same problem and i have installed new flash player but same problem????help me

    I don't have any real players. nothing shows when open videos it is black no error messages its black. i have clear the cookies. but no answer?????????????

    You can check for problems with current Flash plugin versions and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting
    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/

  • CTRL+shift+t not working in Ubuntu 14.04

    Suddenly CTRL+shift+t (for undo close tab) not worked!
    I try
    browser.sessionstore.max_tabs_undo: 0
    browser.sessionstore.max_windows_undo: 0
    and
    sudo chown $USER:$USER ~/.mozilla/firefox/ -R
    But still my problem exist. Could you please help me to solve this problem? Firefox ver 36.0

    If you set the prefs to 0 then you disable this feature and you won't be able to restore a closed tab or window.
    To make this work these prefs need to have at least a value of 1.
    * browser.sessionstore.max_tabs_undo: 10
    * browser.sessionstore.max_windows_undo: 3
    Do you see any items listed in "History > Recently Closed Tabs/Windows" after closing a tab?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Suspend2ram via pm-utils in gnome not working

    Hello Everyone,
    I am new to Arch, and all signs indicate that it is finally my long-after-searched distro. Specifically, I switched from a very short dip into gentoo (gnome compilation...) and now really like arch docs and experience so far.
    I managed easily to get through installation, helped by the excellent docs. After getting gnome to work, I now want to enable suspend to ram and suspend to disk. Suspend to ram (from gnome power applet) does not work, it blanks my screen, computer still runs normally and I can not get gnome back. Always need to do a hard reset.
    I installed pm-utils, acpi, gnome-extra etc. as pointed out on the pm-utils and gnome wiki.
    I understood that gnome uses hal for suspend by default, so this is a starting point I guess. The output of suspend in /var/log/pm-suspend.log is not helpful, since all hooks are run and it reads "performing suspend"
    Thu Jan 27 21:34:52 CET 2011: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
    Linux anvil 2.6.36-ARCH #1 SMP PREEMPT Mon Jan 24 18:34:55 UTC 2011 i686 AMD Athlon(tm) AuthenticAMD GNU/Linux
    Module Size Used by
    ipv6 244945 10
    ext2 55656 1
    snd_seq_dummy 1079 0
    usbhid 32169 0
    hid 60432 1 usbhid
    radeon 814837 2
    snd_seq_oss 25040 0
    snd_seq_midi_event 4528 1 snd_seq_oss
    snd_intel8x0 22230 0
    snd_seq 41688 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_wavefront 28237 0
    ttm 43438 1 radeon
    snd_cs4236 21996 0
    snd_ac97_codec 87943 1 snd_intel8x0
    drm_kms_helper 23055 1 radeon
    snd_wss_lib 17822 2 snd_wavefront,snd_cs4236
    snd_pcm_oss 33694 0
    snd_opl3_lib 7266 2 snd_wavefront,snd_cs4236
    drm 142807 4 radeon,ttm,drm_kms_helper
    snd_hwdep 4764 2 snd_wavefront,snd_opl3_lib
    snd_mixer_oss 14654 1 snd_pcm_oss
    ac97_bus 762 1 snd_ac97_codec
    analog 7715 0
    lp 6652 0
    snd_mpu401 3800 0
    snd_mpu401_uart 4927 3 snd_wavefront,snd_cs4236,snd_mpu401
    snd_pcm 59136 5 snd_intel8x0,snd_cs4236,snd_ac97_codec,snd_wss_lib,snd_pcm_oss
    i2c_algo_bit 4183 1 radeon
    snd_rawmidi 15288 2 snd_wavefront,snd_mpu401_uart
    ohci_hcd 19051 0
    usblp 9636 0
    ppdev 4862 0
    snd_timer 15583 4 snd_seq,snd_wss_lib,snd_opl3_lib,snd_pcm
    parport_pc 27832 1
    ehci_hcd 32908 0
    snd_seq_device 4369 5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
    i2c_nforce2 4408 0
    ns558 2007 0
    usbcore 115866 5 usbhid,ohci_hcd,usblp,ehci_hcd
    snd 43219 17 snd_seq_oss,snd_intel8x0,snd_seq,snd_wavefront,snd_cs4236,snd_ac97_codec,snd_wss_lib,snd_pcm_oss,snd_opl3_lib,snd_hwdep,snd_mixer_oss,snd_mpu401,snd_mpu401_uart,snd_pcm,snd_rawmidi,snd_timer,snd_seq_device
    gameport 6917 3 analog,ns558
    parport 25499 3 lp,ppdev,parport_pc
    nvidia_agp 4112 1
    i2c_core 15762 5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_nforce2
    tpm_tis 6132 0
    fuse 56816 3
    processor 22776 0
    sg 21028 0
    button 3746 0
    shpchp 23037 0
    forcedeth 47178 0
    soundcore 4929 1 snd
    tpm 9505 1 tpm_tis
    evdev 6692 7
    thermal 9690 0
    agpgart 22816 3 ttm,drm,nvidia_agp
    pci_hotplug 21523 1 shpchp
    snd_page_alloc 5981 3 snd_intel8x0,snd_wss_lib,snd_pcm
    pcspkr 1359 0
    tpm_bios 4661 1 tpm
    ext4 288261 2
    mbcache 4298 2 ext2,ext4
    jbd2 58404 1 ext4
    crc16 1053 1 ext4
    sd_mod 24384 5
    sr_mod 13217 0
    cdrom 31378 1 sr_mod
    pata_acpi 2308 0
    pata_amd 7988 4
    libata 140436 2 pata_acpi,pata_amd
    scsi_mod 106955 4 sg,sd_mod,sr_mod,libata
    floppy 48264 0
    total used free shared buffers cached
    Mem: 769776 247124 522652 0 27036 92212
    -/+ buffers/cache: 127876 641900
    Swap: 1052252 0 1052252
    /usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
    /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
    /usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:
    /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
    /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
    /usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
    /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
    /usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
    Kernel modesetting video driver detected, not using quirks.
    /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
    kernel.acpi_video_flags = 0
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
    Thu Jan 27 21:34:52 CET 2011: performing suspend
    Any ideas or hints on this?
    Thanks in advance
    edit: After some time trying to get it to run with UPower, HAL and User Permission Method, I will end my attempts before I get mad. Fortunately, this machine was set up just to play with arch, and that was really fun. The stinging itch remains: If I could just pin down the error with debugging...
    Last edited by phaebz (2011-01-27 21:48:33)

    Thanks for your reply MadTux!
    I have a radeon 7500 with RV200 QW VGA controller.
    I use the open driver xf86-video-ati.
    I tried both the proprietary and the open driver. To no avail.
    One thing though: Through experimenting with both, pc now suspends (drives and cpu down). After resume, drives and cpu start up again, but screen remains black - no control.
    I read on the wiki somewhere about vbetool - tried it also with that installed...
    I am lost
    edit: Will try with KMS disabled...
    Last edited by phaebz (2011-01-29 14:02:46)

  • ISight in not working in Photo Booth, iChat, and VMWare with Snow Leopard

    System Info
    Model Name: iMac
    Model Identifier: iMac8,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.8 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 6 MB
    Memory: 4 GB
    Bus Speed: 1.07 GHz
    Boot ROM Version: IM81.00C1.B00
    SMC Version (system): 1.30f1
    OS Version 10.6.1
    Symptoms
    iSight is not working, a blank screen is shown in the following Apps / VM
    1. Photo Booth
    2. iChat
    Visible to VM app, but unable to connect in Windows XP running on VMWare
    It is however viewable in Skype preference Video tab
    Visible in System Profiler under USB
    Following actions taken for troubleshooting
    SMC reset - by unplugging all cables over couples minutes, as well as CommandOption+PR key at boot time
    Repairing Permission on the Macintosh HD drive, rebooted after and didn't work
    Not user account specific, tried different account and the same problem persists

    Welcome to Discussions, Stanley Chung
    Sorry you are still having problems even after trying the good suggestions from Ralph and Boomer.
    I did not see specifically from your posts that your iSight worked before upgrading to Snow Leopard, but I am inferring from your topic's title that it did. If your iMac came with Snow Leopard installed, please post and tell us whether you erased the disk and reinstalled all your iMac's software before you started using it. If you upgraded your iMac to Snow Leopard, consider the following.
    (1) Until you get iSight working, do all your testing while no peripherals other than keyboard/mouse are attached to your iMac. To eliminate all possibility of any conflict external to your Mac, be sure you also disconnect any wireless devices (iPod, printer, etc) connected to your system.
    (2) If you still have problems with all you have tried, it seems to me that you must have a software issue. You might try uninstalling Skype and VMWare and testing again to see if those installations are causing a conflict.
    (3) Check the support sites for all of your third party software to be sure there are no known Snow Leopard issues and that you are using the latest compatible versions.
    (4) If the problem still exists and you have not already tried this, reinstall Snow Leopard, repairing permissions immediately before and after the reinstall.
    (5) If your problem remains and System Profiler still shows your inbuilt iSight as a USB device, I suggest you backup all important files, erase your disk, reinstall all Apple software, and test to see if iSight works properly. Once it does, you can install any necessary peripherals and third-party apps one-at-a-time, testing after each addition to see if one of them is causing problems.
    EZ Jim
    MacBook Pro (13 inch, Mid 2009) 2.26GHz w/Mac OS X (10.6.1)  G5 DP 1.8GHz w/Mac OS X (10.5.8) 
    G4 PowerBook 1.67GHz (10.4.11)  iBookSE 366MHz (10.3.9)  LED Cinema Display  External iSight

Maybe you are looking for