| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2005 Apple Computer, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 } | 666 } |
| 667 | 667 |
| 668 // Normally deletion doesn't preserve the typing style that was present before i
t. For example, | 668 // Normally deletion doesn't preserve the typing style that was present before i
t. For example, |
| 669 // type a character, Bold, then delete the character and start typing. The Bold
typing style shouldn't | 669 // type a character, Bold, then delete the character and start typing. The Bold
typing style shouldn't |
| 670 // stick around. Deletion should preserve a typing style that *it* sets, howeve
r. | 670 // stick around. Deletion should preserve a typing style that *it* sets, howeve
r. |
| 671 bool DeleteSelectionCommand::preservesTypingStyle() const | 671 bool DeleteSelectionCommand::preservesTypingStyle() const |
| 672 { | 672 { |
| 673 return false; | 673 return false; |
| 674 } | 674 } |
| 675 | 675 |
| 676 void DeleteSelectionCommand::trace(Visitor* visitor) | |
| 677 { | |
| 678 visitor->trace(m_selectionToDelete); | |
| 679 visitor->trace(m_upstreamStart); | |
| 680 visitor->trace(m_downstreamStart); | |
| 681 visitor->trace(m_upstreamEnd); | |
| 682 visitor->trace(m_downstreamEnd); | |
| 683 visitor->trace(m_endingPosition); | |
| 684 visitor->trace(m_leadingWhitespace); | |
| 685 visitor->trace(m_trailingWhitespace); | |
| 686 visitor->trace(m_startBlock); | |
| 687 visitor->trace(m_endBlock); | |
| 688 visitor->trace(m_deleteIntoBlockquoteStyle); | |
| 689 visitor->trace(m_startRoot); | |
| 690 visitor->trace(m_endRoot); | |
| 691 visitor->trace(m_temporaryPlaceholder); | |
| 692 CompositeEditCommand::trace(visitor); | |
| 693 } | |
| 694 | |
| 695 } // namespace blink | 676 } // namespace blink |
| OLD | NEW |