[Webkit-unassigned] [Bug 62536] [EFL] Supports to execute "redo" command.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 5 09:43:24 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62536





--- Comment #13 from Ryosuke Niwa <rniwa at webkit.org>  2011-07-05 09:43:24 PST ---
(From update of attachment 97375)
View in context: https://bugs.webkit.org/attachment.cgi?id=97375&action=review

> Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp:157
> -    notImplemented();
> +    redoStack.append(command);

Why don't you prepend here instead?

> Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp:190
> +        RefPtr<WebCore::EditCommand> command(*(--undoStack.end()));
> +        undoStack.remove(--undoStack.end());

so that you can use undoStack.first() and undoStack.removeFirst() here instead.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list