Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Ctrl+Z doesn't work in Message Text (due to auto preview?) [modified]

Ctrl+Z doesn't work in Message Text (due to auto preview?) [modified]

Scheduled Pinned Locked Moved Site Bugs / Suggestions
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vikram A Punathambekar
    wrote on last edited by
    #1

    [EDIT] IE 8 X| (I'm at work) on Win XP [/EDIT]

    Ctrl+Z for Cut/delete/paste - major

    1. Type some text, then select part of it, and cut/delete/paste text. 2. Hit Ctrl+Z immediately, it will undo your change as expected. 3. Repeat Ctrl+Z after 5 seconds or so, it won't work anymore. This can get quite nasty if you paste the wrong text in the middle of a message, or worse, delete text accidentally and can't restore it. I suspect this is related to the auto preview, which I think happens every 2 seconds or so?

    Ctrl+Z for regular typing - minor

    1. Type any text in the Subject line and hit Ctrl+Z, it will disappear as expected. 2. Do the same thing in the Message text, it won't disappear, even if you do it immediately. You have to delete it manually.

    Cheers, विक्रम "We have already been through this, I am not going to repeat myself." - fat_boy, in a global warming thread :doh:

    modified on Wednesday, August 10, 2011 2:38 AM

    C 1 Reply Last reply
    0
    • V Vikram A Punathambekar

      [EDIT] IE 8 X| (I'm at work) on Win XP [/EDIT]

      Ctrl+Z for Cut/delete/paste - major

      1. Type some text, then select part of it, and cut/delete/paste text. 2. Hit Ctrl+Z immediately, it will undo your change as expected. 3. Repeat Ctrl+Z after 5 seconds or so, it won't work anymore. This can get quite nasty if you paste the wrong text in the middle of a message, or worse, delete text accidentally and can't restore it. I suspect this is related to the auto preview, which I think happens every 2 seconds or so?

      Ctrl+Z for regular typing - minor

      1. Type any text in the Subject line and hit Ctrl+Z, it will disappear as expected. 2. Do the same thing in the Message text, it won't disappear, even if you do it immediately. You have to delete it manually.

      Cheers, विक्रम "We have already been through this, I am not going to repeat myself." - fat_boy, in a global warming thread :doh:

      modified on Wednesday, August 10, 2011 2:38 AM

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      Spent the afternoon on this one and have come to the conclusion that, again, IE bites the big one. It's truly painful. The issue? If I do

      $('#Preview')[0].html(result);

      where Preview is a DIV, then the TextArea element gets Alzheimer's. They are unrelated. I'm updating the innerHTML of a DIV and not touching the TextArea element. Nonetheless, it's full amnesia and no Ctrl-Z. :mad:

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups