diff options
Diffstat (limited to 'WebCore/editing/TypingCommand.cpp')
-rw-r--r-- | WebCore/editing/TypingCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/editing/TypingCommand.cpp b/WebCore/editing/TypingCommand.cpp index bab3111..ac865e5 100644 --- a/WebCore/editing/TypingCommand.cpp +++ b/WebCore/editing/TypingCommand.cpp @@ -244,7 +244,7 @@ void TypingCommand::closeTyping(EditCommand* cmd) void TypingCommand::doApply() { - if (endingSelection().isNone()) + if (!endingSelection().isNonOrphanedCaretOrRange()) return; if (m_commandType == DeleteKey) |