mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-26 05:27:03 +00:00
Merge pull request #2647 from bedalton/formatting-add-semi-colons-cpplatformpasteboard
Formatting: add semi-colons to CPPlatformPasteboard.j
This commit is contained in:
@@ -469,7 +469,7 @@ Return true if the event may be a copy and paste event, but the target is not an
|
||||
// By default we'll stop the native handling of the event since we're handling it ourselves. However, we need to
|
||||
// stop it before we send the event so that the event can overrule our choice. CPTextField for instance wants the
|
||||
// default handling when focused (which is to insert into the field).
|
||||
[platformWindow _propagateCurrentDOMEvent:NO]
|
||||
[platformWindow _propagateCurrentDOMEvent:NO];
|
||||
|
||||
[CPApp sendEvent:anEvent];
|
||||
|
||||
@@ -492,7 +492,7 @@ Return true if the event may be a copy and paste event, but the target is not an
|
||||
|
||||
SUPPRESS_CAPPUCCINO_CUT_FOR_EVENT(anEvent);
|
||||
|
||||
[platformWindow _propagateCurrentDOMEvent:NO]
|
||||
[platformWindow _propagateCurrentDOMEvent:NO];
|
||||
|
||||
// Let the app react through copy: and cut: actions.
|
||||
[CPApp sendEvent:anEvent];
|
||||
|
||||
Reference in New Issue
Block a user