OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
4 * Copyright (C) 2009 Igalia S.L. | 4 * Copyright (C) 2009 Igalia S.L. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 return (selection.isCaret() && selection.isContentEditable()) || selection.i
sRange(); | 1208 return (selection.isCaret() && selection.isContentEditable()) || selection.i
sRange(); |
1209 } | 1209 } |
1210 | 1210 |
1211 static bool caretBrowsingEnabled(LocalFrame& frame) | 1211 static bool caretBrowsingEnabled(LocalFrame& frame) |
1212 { | 1212 { |
1213 return frame.settings() && frame.settings()->caretBrowsingEnabled(); | 1213 return frame.settings() && frame.settings()->caretBrowsingEnabled(); |
1214 } | 1214 } |
1215 | 1215 |
1216 static EditorCommandSource dummyEditorCommandSource = static_cast<EditorCommandS
ource>(0); | 1216 static EditorCommandSource dummyEditorCommandSource = static_cast<EditorCommandS
ource>(0); |
1217 | 1217 |
| 1218 static bool enabledSelection(LocalFrame& frame, Event* event, EditorCommandSourc
e) |
| 1219 { |
| 1220 const VisibleSelection& selection = frame.editor().selectionForCommand(event
); |
| 1221 return caretBrowsingEnabled(frame) || (selection.isCaret() || selection.isRa
nge()); |
| 1222 } |
| 1223 |
1218 static bool enabledVisibleSelectionOrCaretBrowsing(LocalFrame& frame, Event* eve
nt, EditorCommandSource) | 1224 static bool enabledVisibleSelectionOrCaretBrowsing(LocalFrame& frame, Event* eve
nt, EditorCommandSource) |
1219 { | 1225 { |
1220 // The EditorCommandSource parameter is unused in enabledVisibleSelection, s
o just pass a dummy variable | 1226 // The EditorCommandSource parameter is unused in enabledVisibleSelection, s
o just pass a dummy variable |
1221 return caretBrowsingEnabled(frame) || enabledVisibleSelection(frame, event,
dummyEditorCommandSource); | 1227 return caretBrowsingEnabled(frame) || enabledVisibleSelection(frame, event,
dummyEditorCommandSource); |
1222 } | 1228 } |
1223 | 1229 |
1224 static bool enabledVisibleSelectionAndMark(LocalFrame& frame, Event* event, Edit
orCommandSource) | 1230 static bool enabledVisibleSelectionAndMark(LocalFrame& frame, Event* event, Edit
orCommandSource) |
1225 { | 1231 { |
1226 const VisibleSelection& selection = frame.editor().selectionForCommand(event
); | 1232 const VisibleSelection& selection = frame.editor().selectionForCommand(event
); |
1227 return ((selection.isCaret() && selection.isContentEditable()) || selection.
isRange()) | 1233 return ((selection.isCaret() && selection.isContentEditable()) || selection.
isRange()) |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1448 struct CommandEntry { | 1454 struct CommandEntry { |
1449 const char* name; | 1455 const char* name; |
1450 EditorInternalCommand command; | 1456 EditorInternalCommand command; |
1451 }; | 1457 }; |
1452 | 1458 |
1453 static const CommandMap& createCommandMap() | 1459 static const CommandMap& createCommandMap() |
1454 { | 1460 { |
1455 // If you add new commands, you should assign new Id to each idForUserMetric
s and update MappedEditingCommands | 1461 // If you add new commands, you should assign new Id to each idForUserMetric
s and update MappedEditingCommands |
1456 // in chrome/trunk/src/tools/metrics/histograms/histograms.xml. | 1462 // in chrome/trunk/src/tools/metrics/histograms/histograms.xml. |
1457 static const CommandEntry commands[] = { | 1463 static const CommandEntry commands[] = { |
1458 { "AlignCenter", {139, executeJustifyCenter, supportedFromMenuOrKeyBindi
ng, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAl
lowExecutionWhenDisabled } }, | 1464 { "AlignCenter", { 139, executeJustifyCenter, supportedFromMenuOrKeyBind
ing, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotA
llowExecutionWhenDisabled } }, |
1459 { "AlignJustified", {1, executeJustifyFull, supportedFromMenuOrKeyBindin
g, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAll
owExecutionWhenDisabled } }, | 1465 { "AlignJustified", { 1, executeJustifyFull, supportedFromMenuOrKeyBindi
ng, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAl
lowExecutionWhenDisabled } }, |
1460 { "AlignLeft", {2, executeJustifyLeft, supportedFromMenuOrKeyBinding, en
abledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExe
cutionWhenDisabled } }, | 1466 { "AlignLeft", { 2, executeJustifyLeft, supportedFromMenuOrKeyBinding, e
nabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAllowEx
ecutionWhenDisabled } }, |
1461 { "AlignRight", {3, executeJustifyRight, supportedFromMenuOrKeyBinding,
enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAllowE
xecutionWhenDisabled } }, | 1467 { "AlignRight", { 3, executeJustifyRight, supportedFromMenuOrKeyBinding,
enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAllow
ExecutionWhenDisabled } }, |
1462 { "BackColor", {4, executeBackColor, supported, enabledInRichlyEditableT
ext, stateNone, valueBackColor, notTextInsertion, doNotAllowExecutionWhenDisable
d } }, | 1468 { "BackColor", { 4, executeBackColor, supported, enabledInRichlyEditable
Text, stateNone, valueBackColor, notTextInsertion, doNotAllowExecutionWhenDisabl
ed } }, |
1463 { "BackwardDelete", {5, executeDeleteBackward, supportedFromMenuOrKeyBin
ding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowE
xecutionWhenDisabled } }, // FIXME: remove BackwardDelete when Safari for Window
s stops using it. | 1469 { "BackwardDelete", { 5, executeDeleteBackward, supportedFromMenuOrKeyBi
nding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllow
ExecutionWhenDisabled } }, // FIXME: remove BackwardDelete when Safari for Windo
ws stops using it. |
1464 { "Bold", {6, executeToggleBold, supported, enabledInRichlyEditableText,
stateBold, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1470 { "Bold", { 6, executeToggleBold, supported, enabledInRichlyEditableText
, stateBold, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1465 { "Copy", {7, executeCopy, supportedCopyCut, enabledCopy, stateNone, val
ueNull, notTextInsertion, allowExecutionWhenDisabled } }, | 1471 { "Copy", { 7, executeCopy, supportedCopyCut, enabledCopy, stateNone, va
lueNull, notTextInsertion, allowExecutionWhenDisabled } }, |
1466 { "CreateLink", {8, executeCreateLink, supported, enabledInRichlyEditabl
eText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled }
}, | 1472 { "CreateLink", { 8, executeCreateLink, supported, enabledInRichlyEditab
leText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled
} }, |
1467 { "Cut", {9, executeCut, supportedCopyCut, enabledCut, stateNone, valueN
ull, notTextInsertion, allowExecutionWhenDisabled } }, | 1473 { "Cut", { 9, executeCut, supportedCopyCut, enabledCut, stateNone, value
Null, notTextInsertion, allowExecutionWhenDisabled } }, |
1468 { "DefaultParagraphSeparator", {10, executeDefaultParagraphSeparator, su
pported, enabled, stateNone, valueDefaultParagraphSeparator, notTextInsertion, d
oNotAllowExecutionWhenDisabled} }, | 1474 { "DefaultParagraphSeparator", { 10, executeDefaultParagraphSeparator, s
upported, enabled, stateNone, valueDefaultParagraphSeparator, notTextInsertion,
doNotAllowExecutionWhenDisabled } }, |
1469 { "Delete", {11, executeDelete, supported, enabledDelete, stateNone, val
ueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1475 { "Delete", { 11, executeDelete, supported, enabledDelete, stateNone, va
lueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1470 { "DeleteBackward", {12, executeDeleteBackward, supportedFromMenuOrKeyBi
nding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllow
ExecutionWhenDisabled } }, | 1476 { "DeleteBackward", { 12, executeDeleteBackward, supportedFromMenuOrKeyB
inding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllo
wExecutionWhenDisabled } }, |
1471 { "DeleteBackwardByDecomposingPreviousCharacter", {13, executeDeleteBack
wardByDecomposingPreviousCharacter, supportedFromMenuOrKeyBinding, enabledInEdit
ableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisable
d } }, | 1477 { "DeleteBackwardByDecomposingPreviousCharacter", { 13, executeDeleteBac
kwardByDecomposingPreviousCharacter, supportedFromMenuOrKeyBinding, enabledInEdi
tableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabl
ed } }, |
1472 { "DeleteForward", {14, executeDeleteForward, supportedFromMenuOrKeyBind
ing, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowEx
ecutionWhenDisabled } }, | 1478 { "DeleteForward", { 14, executeDeleteForward, supportedFromMenuOrKeyBin
ding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowE
xecutionWhenDisabled } }, |
1473 { "DeleteToBeginningOfLine", {15, executeDeleteToBeginningOfLine, suppor
tedFromMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextIns
ertion, doNotAllowExecutionWhenDisabled } }, | 1479 { "DeleteToBeginningOfLine", { 15, executeDeleteToBeginningOfLine, suppo
rtedFromMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextIn
sertion, doNotAllowExecutionWhenDisabled } }, |
1474 { "DeleteToBeginningOfParagraph", {16, executeDeleteToBeginningOfParagra
ph, supportedFromMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull,
notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1480 { "DeleteToBeginningOfParagraph", { 16, executeDeleteToBeginningOfParagr
aph, supportedFromMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull,
notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1475 { "DeleteToEndOfLine", {17, executeDeleteToEndOfLine, supportedFromMenuO
rKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNo
tAllowExecutionWhenDisabled } }, | 1481 { "DeleteToEndOfLine", { 17, executeDeleteToEndOfLine, supportedFromMenu
OrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doN
otAllowExecutionWhenDisabled } }, |
1476 { "DeleteToEndOfParagraph", {18, executeDeleteToEndOfParagraph, supporte
dFromMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInser
tion, doNotAllowExecutionWhenDisabled } }, | 1482 { "DeleteToEndOfParagraph", { 18, executeDeleteToEndOfParagraph, support
edFromMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInse
rtion, doNotAllowExecutionWhenDisabled } }, |
1477 { "DeleteToMark", {19, executeDeleteToMark, supportedFromMenuOrKeyBindin
g, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, | 1483 { "DeleteToMark", { 19, executeDeleteToMark, supportedFromMenuOrKeyBindi
ng, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExe
cutionWhenDisabled } }, |
1478 { "DeleteWordBackward", {20, executeDeleteWordBackward, supportedFromMen
uOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion, do
NotAllowExecutionWhenDisabled } }, | 1484 { "DeleteWordBackward", { 20, executeDeleteWordBackward, supportedFromMe
nuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion, d
oNotAllowExecutionWhenDisabled } }, |
1479 { "DeleteWordForward", {21, executeDeleteWordForward, supportedFromMenuO
rKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNo
tAllowExecutionWhenDisabled } }, | 1485 { "DeleteWordForward", { 21, executeDeleteWordForward, supportedFromMenu
OrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doN
otAllowExecutionWhenDisabled } }, |
1480 { "FindString", {22, executeFindString, supported, enabled, stateNone, v
alueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1486 { "FindString", { 22, executeFindString, supported, enabled, stateNone,
valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1481 { "FontName", {23, executeFontName, supported, enabledInEditableText, st
ateNone, valueFontName, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1487 { "FontName", { 23, executeFontName, supported, enabledInEditableText, s
tateNone, valueFontName, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1482 { "FontSize", {24, executeFontSize, supported, enabledInEditableText, st
ateNone, valueFontSize, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1488 { "FontSize", { 24, executeFontSize, supported, enabledInEditableText, s
tateNone, valueFontSize, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1483 { "FontSizeDelta", {25, executeFontSizeDelta, supported, enabledInEditab
leText, stateNone, valueFontSizeDelta, notTextInsertion, doNotAllowExecutionWhen
Disabled } }, | 1489 { "FontSizeDelta", { 25, executeFontSizeDelta, supported, enabledInEdita
bleText, stateNone, valueFontSizeDelta, notTextInsertion, doNotAllowExecutionWhe
nDisabled } }, |
1484 { "ForeColor", {26, executeForeColor, supported, enabledInRichlyEditable
Text, stateNone, valueForeColor, notTextInsertion, doNotAllowExecutionWhenDisabl
ed } }, | 1490 { "ForeColor", { 26, executeForeColor, supported, enabledInRichlyEditabl
eText, stateNone, valueForeColor, notTextInsertion, doNotAllowExecutionWhenDisab
led } }, |
1485 { "FormatBlock", {27, executeFormatBlock, supported, enabledInRichlyEdit
ableText, stateNone, valueFormatBlock, notTextInsertion, doNotAllowExecutionWhen
Disabled } }, | 1491 { "FormatBlock", { 27, executeFormatBlock, supported, enabledInRichlyEdi
tableText, stateNone, valueFormatBlock, notTextInsertion, doNotAllowExecutionWhe
nDisabled } }, |
1486 { "ForwardDelete", {28, executeForwardDelete, supported, enabledInEditab
leText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled
} }, | 1492 { "ForwardDelete", { 28, executeForwardDelete, supported, enabledInEdita
bleText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled
} }, |
1487 { "HiliteColor", {29, executeBackColor, supported, enabledInRichlyEditab
leText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled
} }, | 1493 { "HiliteColor", { 29, executeBackColor, supported, enabledInRichlyEdita
bleText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled
} }, |
1488 { "IgnoreSpelling", {30, executeIgnoreSpelling, supportedFromMenuOrKeyBi
nding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllow
ExecutionWhenDisabled } }, | 1494 { "IgnoreSpelling", { 30, executeIgnoreSpelling, supportedFromMenuOrKeyB
inding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllo
wExecutionWhenDisabled } }, |
1489 { "Indent", {31, executeIndent, supported, enabledInRichlyEditableText,
stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1495 { "Indent", { 31, executeIndent, supported, enabledInRichlyEditableText,
stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1490 { "InsertBacktab", {32, executeInsertBacktab, supportedFromMenuOrKeyBind
ing, enabledInEditableText, stateNone, valueNull, isTextInsertion, doNotAllowExe
cutionWhenDisabled } }, | 1496 { "InsertBacktab", { 32, executeInsertBacktab, supportedFromMenuOrKeyBin
ding, enabledInEditableText, stateNone, valueNull, isTextInsertion, doNotAllowEx
ecutionWhenDisabled } }, |
1491 { "InsertHTML", {33, executeInsertHTML, supported, enabledInEditableText
, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1497 { "InsertHTML", { 33, executeInsertHTML, supported, enabledInEditableTex
t, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1492 { "InsertHorizontalRule", {34, executeInsertHorizontalRule, supported, e
nabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAllowEx
ecutionWhenDisabled } }, | 1498 { "InsertHorizontalRule", { 34, executeInsertHorizontalRule, supported,
enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAllowE
xecutionWhenDisabled } }, |
1493 { "InsertImage", {35, executeInsertImage, supported, enabledInRichlyEdit
ableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisable
d } }, | 1499 { "InsertImage", { 35, executeInsertImage, supported, enabledInRichlyEdi
tableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabl
ed } }, |
1494 { "InsertLineBreak", {36, executeInsertLineBreak, supported, enabledInEd
itableText, stateNone, valueNull, isTextInsertion, doNotAllowExecutionWhenDisabl
ed } }, | 1500 { "InsertLineBreak", { 36, executeInsertLineBreak, supported, enabledInE
ditableText, stateNone, valueNull, isTextInsertion, doNotAllowExecutionWhenDisab
led } }, |
1495 { "InsertNewline", {37, executeInsertNewline, supportedFromMenuOrKeyBind
ing, enabledInEditableText, stateNone, valueNull, isTextInsertion, doNotAllowExe
cutionWhenDisabled } }, | 1501 { "InsertNewline", { 37, executeInsertNewline, supportedFromMenuOrKeyBin
ding, enabledInEditableText, stateNone, valueNull, isTextInsertion, doNotAllowEx
ecutionWhenDisabled } }, |
1496 { "InsertNewlineInQuotedContent", {38, executeInsertNewlineInQuotedConte
nt, supported, enabledInRichlyEditableText, stateNone, valueNull, notTextInserti
on, doNotAllowExecutionWhenDisabled } }, | 1502 { "InsertNewlineInQuotedContent", { 38, executeInsertNewlineInQuotedCont
ent, supported, enabledInRichlyEditableText, stateNone, valueNull, notTextInsert
ion, doNotAllowExecutionWhenDisabled } }, |
1497 { "InsertOrderedList", {39, executeInsertOrderedList, supported, enabled
InRichlyEditableText, stateOrderedList, valueNull, notTextInsertion, doNotAllowE
xecutionWhenDisabled } }, | 1503 { "InsertOrderedList", { 39, executeInsertOrderedList, supported, enable
dInRichlyEditableText, stateOrderedList, valueNull, notTextInsertion, doNotAllow
ExecutionWhenDisabled } }, |
1498 { "InsertParagraph", {40, executeInsertParagraph, supported, enabledInEd
itableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisab
led } }, | 1504 { "InsertParagraph", { 40, executeInsertParagraph, supported, enabledInE
ditableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisa
bled } }, |
1499 { "InsertTab", {41, executeInsertTab, supportedFromMenuOrKeyBinding, ena
bledInEditableText, stateNone, valueNull, isTextInsertion, doNotAllowExecutionWh
enDisabled } }, | 1505 { "InsertTab", { 41, executeInsertTab, supportedFromMenuOrKeyBinding, en
abledInEditableText, stateNone, valueNull, isTextInsertion, doNotAllowExecutionW
henDisabled } }, |
1500 { "InsertText", {42, executeInsertText, supported, enabledInEditableText
, stateNone, valueNull, isTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1506 { "InsertText", { 42, executeInsertText, supported, enabledInEditableTex
t, stateNone, valueNull, isTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1501 { "InsertUnorderedList", {43, executeInsertUnorderedList, supported, ena
bledInRichlyEditableText, stateUnorderedList, valueNull, notTextInsertion, doNot
AllowExecutionWhenDisabled } }, | 1507 { "InsertUnorderedList", { 43, executeInsertUnorderedList, supported, en
abledInRichlyEditableText, stateUnorderedList, valueNull, notTextInsertion, doNo
tAllowExecutionWhenDisabled } }, |
1502 { "Italic", {44, executeToggleItalic, supported, enabledInRichlyEditable
Text, stateItalic, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled
} }, | 1508 { "Italic", { 44, executeToggleItalic, supported, enabledInRichlyEditabl
eText, stateItalic, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled
} }, |
1503 { "JustifyCenter", {45, executeJustifyCenter, supported, enabledInRichly
EditableText, stateJustifyCenter, valueNull, notTextInsertion, doNotAllowExecuti
onWhenDisabled } }, | 1509 { "JustifyCenter", { 45, executeJustifyCenter, supported, enabledInRichl
yEditableText, stateJustifyCenter, valueNull, notTextInsertion, doNotAllowExecut
ionWhenDisabled } }, |
1504 { "JustifyFull", {46, executeJustifyFull, supported, enabledInRichlyEdit
ableText, stateJustifyFull, valueNull, notTextInsertion, doNotAllowExecutionWhen
Disabled } }, | 1510 { "JustifyFull", { 46, executeJustifyFull, supported, enabledInRichlyEdi
tableText, stateJustifyFull, valueNull, notTextInsertion, doNotAllowExecutionWhe
nDisabled } }, |
1505 { "JustifyLeft", {47, executeJustifyLeft, supported, enabledInRichlyEdit
ableText, stateJustifyLeft, valueNull, notTextInsertion, doNotAllowExecutionWhen
Disabled } }, | 1511 { "JustifyLeft", { 47, executeJustifyLeft, supported, enabledInRichlyEdi
tableText, stateJustifyLeft, valueNull, notTextInsertion, doNotAllowExecutionWhe
nDisabled } }, |
1506 { "JustifyNone", {48, executeJustifyLeft, supported, enabledInRichlyEdit
ableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisable
d } }, | 1512 { "JustifyNone", { 48, executeJustifyLeft, supported, enabledInRichlyEdi
tableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabl
ed } }, |
1507 { "JustifyRight", {49, executeJustifyRight, supported, enabledInRichlyEd
itableText, stateJustifyRight, valueNull, notTextInsertion, doNotAllowExecutionW
henDisabled } }, | 1513 { "JustifyRight", { 49, executeJustifyRight, supported, enabledInRichlyE
ditableText, stateJustifyRight, valueNull, notTextInsertion, doNotAllowExecution
WhenDisabled } }, |
1508 { "MakeTextWritingDirectionLeftToRight", {50, executeMakeTextWritingDire
ctionLeftToRight, supportedFromMenuOrKeyBinding, enabledInRichlyEditableText, st
ateTextWritingDirectionLeftToRight, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, | 1514 { "MakeTextWritingDirectionLeftToRight", { 50, executeMakeTextWritingDir
ectionLeftToRight, supportedFromMenuOrKeyBinding, enabledInRichlyEditableText, s
tateTextWritingDirectionLeftToRight, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, |
1509 { "MakeTextWritingDirectionNatural", {51, executeMakeTextWritingDirectio
nNatural, supportedFromMenuOrKeyBinding, enabledInRichlyEditableText, stateTextW
ritingDirectionNatural, valueNull, notTextInsertion, doNotAllowExecutionWhenDisa
bled } }, | 1515 { "MakeTextWritingDirectionNatural", { 51, executeMakeTextWritingDirecti
onNatural, supportedFromMenuOrKeyBinding, enabledInRichlyEditableText, stateText
WritingDirectionNatural, valueNull, notTextInsertion, doNotAllowExecutionWhenDis
abled } }, |
1510 { "MakeTextWritingDirectionRightToLeft", {52, executeMakeTextWritingDire
ctionRightToLeft, supportedFromMenuOrKeyBinding, enabledInRichlyEditableText, st
ateTextWritingDirectionRightToLeft, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, | 1516 { "MakeTextWritingDirectionRightToLeft", { 52, executeMakeTextWritingDir
ectionRightToLeft, supportedFromMenuOrKeyBinding, enabledInRichlyEditableText, s
tateTextWritingDirectionRightToLeft, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, |
1511 { "MoveBackward", {53, executeMoveBackward, supportedFromMenuOrKeyBindin
g, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion,
doNotAllowExecutionWhenDisabled } }, | 1517 { "MoveBackward", { 53, executeMoveBackward, supportedFromMenuOrKeyBindi
ng, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion
, doNotAllowExecutionWhenDisabled } }, |
1512 { "MoveBackwardAndModifySelection", {54, executeMoveBackwardAndModifySel
ection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing, s
tateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1518 { "MoveBackwardAndModifySelection", { 54, executeMoveBackwardAndModifySe
lection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing,
stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1513 { "MoveDown", {55, executeMoveDown, supportedFromMenuOrKeyBinding, enabl
edInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAl
lowExecutionWhenDisabled } }, | 1519 { "MoveDown", { 55, executeMoveDown, supportedFromMenuOrKeyBinding, enab
ledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotA
llowExecutionWhenDisabled } }, |
1514 { "MoveDownAndModifySelection", {56, executeMoveDownAndModifySelection,
supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing, stateNone
, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1520 { "MoveDownAndModifySelection", { 56, executeMoveDownAndModifySelection,
supportedFromMenuOrKeyBinding, enabledSelection, stateNone, valueNull, notTextI
nsertion, doNotAllowExecutionWhenDisabled } }, |
1515 { "MoveForward", {57, executeMoveForward, supportedFromMenuOrKeyBinding,
enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, d
oNotAllowExecutionWhenDisabled } }, | 1521 { "MoveForward", { 57, executeMoveForward, supportedFromMenuOrKeyBinding
, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion,
doNotAllowExecutionWhenDisabled } }, |
1516 { "MoveForwardAndModifySelection", {58, executeMoveForwardAndModifySelec
tion, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing, sta
teNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1522 { "MoveForwardAndModifySelection", { 58, executeMoveForwardAndModifySele
ction, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing, st
ateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1517 { "MoveLeft", {59, executeMoveLeft, supportedFromMenuOrKeyBinding, enabl
edInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAl
lowExecutionWhenDisabled } }, | 1523 { "MoveLeft", { 59, executeMoveLeft, supportedFromMenuOrKeyBinding, enab
ledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotA
llowExecutionWhenDisabled } }, |
1518 { "MoveLeftAndModifySelection", {60, executeMoveLeftAndModifySelection,
supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing, stateNone
, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1524 { "MoveLeftAndModifySelection", { 60, executeMoveLeftAndModifySelection,
supportedFromMenuOrKeyBinding, enabledSelection, stateNone, valueNull, notTextI
nsertion, doNotAllowExecutionWhenDisabled } }, |
1519 { "MovePageDown", {61, executeMovePageDown, supportedFromMenuOrKeyBindin
g, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, | 1525 { "MovePageDown", { 61, executeMovePageDown, supportedFromMenuOrKeyBindi
ng, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExe
cutionWhenDisabled } }, |
1520 { "MovePageDownAndModifySelection", {62, executeMovePageDownAndModifySel
ection, supportedFromMenuOrKeyBinding, enabledVisibleSelection, stateNone, value
Null, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1526 { "MovePageDownAndModifySelection", { 62, executeMovePageDownAndModifySe
lection, supportedFromMenuOrKeyBinding, enabledVisibleSelection, stateNone, valu
eNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1521 { "MovePageUp", {63, executeMovePageUp, supportedFromMenuOrKeyBinding, e
nabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutio
nWhenDisabled } }, | 1527 { "MovePageUp", { 63, executeMovePageUp, supportedFromMenuOrKeyBinding,
enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExecuti
onWhenDisabled } }, |
1522 { "MovePageUpAndModifySelection", {64, executeMovePageUpAndModifySelecti
on, supportedFromMenuOrKeyBinding, enabledVisibleSelection, stateNone, valueNull
, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1528 { "MovePageUpAndModifySelection", { 64, executeMovePageUpAndModifySelect
ion, supportedFromMenuOrKeyBinding, enabledVisibleSelection, stateNone, valueNul
l, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1523 { "MoveParagraphBackward", {65, executeMoveParagraphBackward, supportedF
romMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull,
notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1529 { "MoveParagraphBackward", { 65, executeMoveParagraphBackward, supported
FromMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull
, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1524 { "MoveParagraphBackwardAndModifySelection", {66, executeMoveParagraphBa
ckwardAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelection
OrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhen
Disabled } }, | 1530 { "MoveParagraphBackwardAndModifySelection", { 66, executeMoveParagraphB
ackwardAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectio
nOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhe
nDisabled } }, |
1525 { "MoveParagraphForward", {67, executeMoveParagraphForward, supportedFro
mMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, n
otTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1531 { "MoveParagraphForward", { 67, executeMoveParagraphForward, supportedFr
omMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull,
notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1526 { "MoveParagraphForwardAndModifySelection", {68, executeMoveParagraphFor
wardAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOr
CaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDi
sabled } }, | 1532 { "MoveParagraphForwardAndModifySelection", { 68, executeMoveParagraphFo
rwardAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionO
rCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenD
isabled } }, |
1527 { "MoveRight", {69, executeMoveRight, supportedFromMenuOrKeyBinding, ena
bledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNot
AllowExecutionWhenDisabled } }, | 1533 { "MoveRight", { 69, executeMoveRight, supportedFromMenuOrKeyBinding, en
abledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNo
tAllowExecutionWhenDisabled } }, |
1528 { "MoveRightAndModifySelection", {70, executeMoveRightAndModifySelection
, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing, stateNo
ne, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1534 { "MoveRightAndModifySelection", { 70, executeMoveRightAndModifySelectio
n, supportedFromMenuOrKeyBinding, enabledSelection, stateNone, valueNull, notTex
tInsertion, doNotAllowExecutionWhenDisabled } }, |
1529 { "MoveToBeginningOfDocument", {71, executeMoveToBeginningOfDocument, su
pportedFromMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, va
lueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1535 { "MoveToBeginningOfDocument", { 71, executeMoveToBeginningOfDocument, s
upportedFromMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, v
alueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1530 { "MoveToBeginningOfDocumentAndModifySelection", {72, executeMoveToBegin
ningOfDocumentAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleS
electionOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, | 1536 { "MoveToBeginningOfDocumentAndModifySelection", { 72, executeMoveToBegi
nningOfDocumentAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisible
SelectionOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, |
1531 { "MoveToBeginningOfLine", {73, executeMoveToBeginningOfLine, supportedF
romMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull,
notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1537 { "MoveToBeginningOfLine", { 73, executeMoveToBeginningOfLine, supported
FromMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull
, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1532 { "MoveToBeginningOfLineAndModifySelection", {74, executeMoveToBeginning
OfLineAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelection
OrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhen
Disabled } }, | 1538 { "MoveToBeginningOfLineAndModifySelection", { 74, executeMoveToBeginnin
gOfLineAndModifySelection, supportedFromMenuOrKeyBinding, enabledSelection, stat
eNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1533 { "MoveToBeginningOfParagraph", {75, executeMoveToBeginningOfParagraph,
supportedFromMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone,
valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1539 { "MoveToBeginningOfParagraph", { 75, executeMoveToBeginningOfParagraph,
supportedFromMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone,
valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1534 { "MoveToBeginningOfParagraphAndModifySelection", {76, executeMoveToBegi
nningOfParagraphAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibl
eSelectionOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExe
cutionWhenDisabled } }, | 1540 { "MoveToBeginningOfParagraphAndModifySelection", { 76, executeMoveToBeg
inningOfParagraphAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisib
leSelectionOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowEx
ecutionWhenDisabled } }, |
1535 { "MoveToBeginningOfSentence", {77, executeMoveToBeginningOfSentence, su
pportedFromMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, va
lueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1541 { "MoveToBeginningOfSentence", { 77, executeMoveToBeginningOfSentence, s
upportedFromMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, v
alueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1536 { "MoveToBeginningOfSentenceAndModifySelection", {78, executeMoveToBegin
ningOfSentenceAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleS
electionOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, | 1542 { "MoveToBeginningOfSentenceAndModifySelection", { 78, executeMoveToBegi
nningOfSentenceAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisible
SelectionOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, |
1537 { "MoveToEndOfDocument", {79, executeMoveToEndOfDocument, supportedFromM
enuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, not
TextInsertion, doNotAllowExecutionWhenDisabled } }, | 1543 { "MoveToEndOfDocument", { 79, executeMoveToEndOfDocument, supportedFrom
MenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, no
tTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1538 { "MoveToEndOfDocumentAndModifySelection", {80, executeMoveToEndOfDocume
ntAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCa
retBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisa
bled } }, | 1544 { "MoveToEndOfDocumentAndModifySelection", { 80, executeMoveToEndOfDocum
entAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrC
aretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDis
abled } }, |
1539 { "MoveToEndOfLine", {81, executeMoveToEndOfLine, supportedFromMenuOrKey
Binding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInse
rtion, doNotAllowExecutionWhenDisabled } }, | 1545 { "MoveToEndOfLine", { 81, executeMoveToEndOfLine, supportedFromMenuOrKe
yBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextIns
ertion, doNotAllowExecutionWhenDisabled } }, |
1540 { "MoveToEndOfLineAndModifySelection", {82, executeMoveToEndOfLineAndMod
ifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrows
ing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }
, | 1546 { "MoveToEndOfLineAndModifySelection", { 82, executeMoveToEndOfLineAndMo
difySelection, supportedFromMenuOrKeyBinding, enabledSelection, stateNone, value
Null, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1541 { "MoveToEndOfParagraph", {83, executeMoveToEndOfParagraph, supportedFro
mMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, n
otTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1547 { "MoveToEndOfParagraph", { 83, executeMoveToEndOfParagraph, supportedFr
omMenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull,
notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1542 { "MoveToEndOfParagraphAndModifySelection", {84, executeMoveToEndOfParag
raphAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOr
CaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDi
sabled } }, | 1548 { "MoveToEndOfParagraphAndModifySelection", { 84, executeMoveToEndOfPara
graphAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionO
rCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenD
isabled } }, |
1543 { "MoveToEndOfSentence", {85, executeMoveToEndOfSentence, supportedFromM
enuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, not
TextInsertion, doNotAllowExecutionWhenDisabled } }, | 1549 { "MoveToEndOfSentence", { 85, executeMoveToEndOfSentence, supportedFrom
MenuOrKeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, no
tTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1544 { "MoveToEndOfSentenceAndModifySelection", {86, executeMoveToEndOfSenten
ceAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCa
retBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisa
bled } }, | 1550 { "MoveToEndOfSentenceAndModifySelection", { 86, executeMoveToEndOfSente
nceAndModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrC
aretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDis
abled } }, |
1545 { "MoveToLeftEndOfLine", {87, executeMoveToLeftEndOfLine, supportedFromM
enuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion,
doNotAllowExecutionWhenDisabled } }, | 1551 { "MoveToLeftEndOfLine", { 87, executeMoveToLeftEndOfLine, supportedFrom
MenuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion,
doNotAllowExecutionWhenDisabled } }, |
1546 { "MoveToLeftEndOfLineAndModifySelection", {88, executeMoveToLeftEndOfLi
neAndModifySelection, supportedFromMenuOrKeyBinding, enabledInEditableText, stat
eNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1552 { "MoveToLeftEndOfLineAndModifySelection", { 88, executeMoveToLeftEndOfL
ineAndModifySelection, supportedFromMenuOrKeyBinding, enabledInEditableText, sta
teNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1547 { "MoveToRightEndOfLine", {89, executeMoveToRightEndOfLine, supportedFro
mMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion
, doNotAllowExecutionWhenDisabled } }, | 1553 { "MoveToRightEndOfLine", { 89, executeMoveToRightEndOfLine, supportedFr
omMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertio
n, doNotAllowExecutionWhenDisabled } }, |
1548 { "MoveToRightEndOfLineAndModifySelection", {90, executeMoveToRightEndOf
LineAndModifySelection, supportedFromMenuOrKeyBinding, enabledInEditableText, st
ateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1554 { "MoveToRightEndOfLineAndModifySelection", { 90, executeMoveToRightEndO
fLineAndModifySelection, supportedFromMenuOrKeyBinding, enabledInEditableText, s
tateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1549 { "MoveUp", {91, executeMoveUp, supportedFromMenuOrKeyBinding, enabledIn
EditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllowE
xecutionWhenDisabled } }, | 1555 { "MoveUp", { 91, executeMoveUp, supportedFromMenuOrKeyBinding, enabledI
nEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion, doNotAllow
ExecutionWhenDisabled } }, |
1550 { "MoveUpAndModifySelection", {92, executeMoveUpAndModifySelection, supp
ortedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing, stateNone, va
lueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1556 { "MoveUpAndModifySelection", { 92, executeMoveUpAndModifySelection, sup
portedFromMenuOrKeyBinding, enabledSelection, stateNone, valueNull, notTextInser
tion, doNotAllowExecutionWhenDisabled } }, |
1551 { "MoveWordBackward", {93, executeMoveWordBackward, supportedFromMenuOrK
eyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextIn
sertion, doNotAllowExecutionWhenDisabled } }, | 1557 { "MoveWordBackward", { 93, executeMoveWordBackward, supportedFromMenuOr
KeyBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextI
nsertion, doNotAllowExecutionWhenDisabled } }, |
1552 { "MoveWordBackwardAndModifySelection", {94, executeMoveWordBackwardAndM
odifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBro
wsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled }
}, | 1558 { "MoveWordBackwardAndModifySelection", { 94, executeMoveWordBackwardAnd
ModifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBr
owsing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled
} }, |
1553 { "MoveWordForward", {95, executeMoveWordForward, supportedFromMenuOrKey
Binding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInse
rtion, doNotAllowExecutionWhenDisabled } }, | 1559 { "MoveWordForward", { 95, executeMoveWordForward, supportedFromMenuOrKe
yBinding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextIns
ertion, doNotAllowExecutionWhenDisabled } }, |
1554 { "MoveWordForwardAndModifySelection", {96, executeMoveWordForwardAndMod
ifySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrows
ing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }
, | 1560 { "MoveWordForwardAndModifySelection", { 96, executeMoveWordForwardAndMo
difySelection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrow
sing, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled }
}, |
1555 { "MoveWordLeft", {97, executeMoveWordLeft, supportedFromMenuOrKeyBindin
g, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion,
doNotAllowExecutionWhenDisabled } }, | 1561 { "MoveWordLeft", { 97, executeMoveWordLeft, supportedFromMenuOrKeyBindi
ng, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertion
, doNotAllowExecutionWhenDisabled } }, |
1556 { "MoveWordLeftAndModifySelection", {98, executeMoveWordLeftAndModifySel
ection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing, s
tateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1562 { "MoveWordLeftAndModifySelection", { 98, executeMoveWordLeftAndModifySe
lection, supportedFromMenuOrKeyBinding, enabledSelection, stateNone, valueNull,
notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1557 { "MoveWordRight", {99, executeMoveWordRight, supportedFromMenuOrKeyBind
ing, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInsertio
n, doNotAllowExecutionWhenDisabled } }, | 1563 { "MoveWordRight", { 99, executeMoveWordRight, supportedFromMenuOrKeyBin
ding, enabledInEditableTextOrCaretBrowsing, stateNone, valueNull, notTextInserti
on, doNotAllowExecutionWhenDisabled } }, |
1558 { "MoveWordRightAndModifySelection", {100, executeMoveWordRightAndModify
Selection, supportedFromMenuOrKeyBinding, enabledVisibleSelectionOrCaretBrowsing
, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1564 { "MoveWordRightAndModifySelection", { 100, executeMoveWordRightAndModif
ySelection, supportedFromMenuOrKeyBinding, enabledSelection, stateNone, valueNul
l, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1559 { "Outdent", {101, executeOutdent, supported, enabledInRichlyEditableTex
t, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1565 { "Outdent", { 101, executeOutdent, supported, enabledInRichlyEditableTe
xt, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1560 { "OverWrite", {102, executeToggleOverwrite, supportedFromMenuOrKeyBindi
ng, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAl
lowExecutionWhenDisabled } }, | 1566 { "OverWrite", { 102, executeToggleOverwrite, supportedFromMenuOrKeyBind
ing, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotA
llowExecutionWhenDisabled } }, |
1561 { "Paste", {103, executePaste, supportedPaste, enabledPaste, stateNone,
valueNull, notTextInsertion, allowExecutionWhenDisabled } }, | 1567 { "Paste", { 103, executePaste, supportedPaste, enabledPaste, stateNone,
valueNull, notTextInsertion, allowExecutionWhenDisabled } }, |
1562 { "PasteAndMatchStyle", {104, executePasteAndMatchStyle, supportedPaste,
enabledPaste, stateNone, valueNull, notTextInsertion, allowExecutionWhenDisable
d } }, | 1568 { "PasteAndMatchStyle", { 104, executePasteAndMatchStyle, supportedPaste
, enabledPaste, stateNone, valueNull, notTextInsertion, allowExecutionWhenDisabl
ed } }, |
1563 { "PasteGlobalSelection", {105, executePasteGlobalSelection, supportedFr
omMenuOrKeyBinding, enabledPaste, stateNone, valueNull, notTextInsertion, allowE
xecutionWhenDisabled } }, | 1569 { "PasteGlobalSelection", { 105, executePasteGlobalSelection, supportedF
romMenuOrKeyBinding, enabledPaste, stateNone, valueNull, notTextInsertion, allow
ExecutionWhenDisabled } }, |
1564 { "Print", {106, executePrint, supported, enabled, stateNone, valueNull,
notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1570 { "Print", { 106, executePrint, supported, enabled, stateNone, valueNull
, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1565 { "Redo", {107, executeRedo, supported, enabledRedo, stateNone, valueNul
l, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1571 { "Redo", { 107, executeRedo, supported, enabledRedo, stateNone, valueNu
ll, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1566 { "RemoveFormat", {108, executeRemoveFormat, supported, enabledRangeInEd
itableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisab
led } }, | 1572 { "RemoveFormat", { 108, executeRemoveFormat, supported, enabledRangeInE
ditableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisa
bled } }, |
1567 { "ScrollPageBackward", {109, executeScrollPageBackward, supportedFromMe
nuOrKeyBinding, enabled, stateNone, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, | 1573 { "ScrollPageBackward", { 109, executeScrollPageBackward, supportedFromM
enuOrKeyBinding, enabled, stateNone, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, |
1568 { "ScrollPageForward", {110, executeScrollPageForward, supportedFromMenu
OrKeyBinding, enabled, stateNone, valueNull, notTextInsertion, doNotAllowExecuti
onWhenDisabled } }, | 1574 { "ScrollPageForward", { 110, executeScrollPageForward, supportedFromMen
uOrKeyBinding, enabled, stateNone, valueNull, notTextInsertion, doNotAllowExecut
ionWhenDisabled } }, |
1569 { "ScrollLineUp", {111, executeScrollLineUp, supportedFromMenuOrKeyBindi
ng, enabled, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisa
bled } }, | 1575 { "ScrollLineUp", { 111, executeScrollLineUp, supportedFromMenuOrKeyBind
ing, enabled, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDis
abled } }, |
1570 { "ScrollLineDown", {112, executeScrollLineDown, supportedFromMenuOrKeyB
inding, enabled, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhen
Disabled } }, | 1576 { "ScrollLineDown", { 112, executeScrollLineDown, supportedFromMenuOrKey
Binding, enabled, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhe
nDisabled } }, |
1571 { "ScrollToBeginningOfDocument", {113, executeScrollToBeginningOfDocumen
t, supportedFromMenuOrKeyBinding, enabled, stateNone, valueNull, notTextInsertio
n, doNotAllowExecutionWhenDisabled } }, | 1577 { "ScrollToBeginningOfDocument", { 113, executeScrollToBeginningOfDocume
nt, supportedFromMenuOrKeyBinding, enabled, stateNone, valueNull, notTextInserti
on, doNotAllowExecutionWhenDisabled } }, |
1572 { "ScrollToEndOfDocument", {114, executeScrollToEndOfDocument, supported
FromMenuOrKeyBinding, enabled, stateNone, valueNull, notTextInsertion, doNotAllo
wExecutionWhenDisabled } }, | 1578 { "ScrollToEndOfDocument", { 114, executeScrollToEndOfDocument, supporte
dFromMenuOrKeyBinding, enabled, stateNone, valueNull, notTextInsertion, doNotAll
owExecutionWhenDisabled } }, |
1573 { "SelectAll", {115, executeSelectAll, supported, enabled, stateNone, va
lueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1579 { "SelectAll", { 115, executeSelectAll, supported, enabled, stateNone, v
alueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1574 { "SelectLine", {116, executeSelectLine, supportedFromMenuOrKeyBinding,
enabledVisibleSelection, stateNone, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, | 1580 { "SelectLine", { 116, executeSelectLine, supportedFromMenuOrKeyBinding,
enabledVisibleSelection, stateNone, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, |
1575 { "SelectParagraph", {117, executeSelectParagraph, supportedFromMenuOrKe
yBinding, enabledVisibleSelection, stateNone, valueNull, notTextInsertion, doNot
AllowExecutionWhenDisabled } }, | 1581 { "SelectParagraph", { 117, executeSelectParagraph, supportedFromMenuOrK
eyBinding, enabledVisibleSelection, stateNone, valueNull, notTextInsertion, doNo
tAllowExecutionWhenDisabled } }, |
1576 { "SelectSentence", {118, executeSelectSentence, supportedFromMenuOrKeyB
inding, enabledVisibleSelection, stateNone, valueNull, notTextInsertion, doNotAl
lowExecutionWhenDisabled } }, | 1582 { "SelectSentence", { 118, executeSelectSentence, supportedFromMenuOrKey
Binding, enabledVisibleSelection, stateNone, valueNull, notTextInsertion, doNotA
llowExecutionWhenDisabled } }, |
1577 { "SelectToMark", {119, executeSelectToMark, supportedFromMenuOrKeyBindi
ng, enabledVisibleSelectionAndMark, stateNone, valueNull, notTextInsertion, doNo
tAllowExecutionWhenDisabled } }, | 1583 { "SelectToMark", { 119, executeSelectToMark, supportedFromMenuOrKeyBind
ing, enabledVisibleSelectionAndMark, stateNone, valueNull, notTextInsertion, doN
otAllowExecutionWhenDisabled } }, |
1578 { "SelectWord", {120, executeSelectWord, supportedFromMenuOrKeyBinding,
enabledVisibleSelection, stateNone, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, | 1584 { "SelectWord", { 120, executeSelectWord, supportedFromMenuOrKeyBinding,
enabledVisibleSelection, stateNone, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, |
1579 { "SetMark", {121, executeSetMark, supportedFromMenuOrKeyBinding, enable
dVisibleSelection, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWh
enDisabled } }, | 1585 { "SetMark", { 121, executeSetMark, supportedFromMenuOrKeyBinding, enabl
edVisibleSelection, stateNone, valueNull, notTextInsertion, doNotAllowExecutionW
henDisabled } }, |
1580 { "Strikethrough", {122, executeStrikethrough, supported, enabledInRichl
yEditableText, stateStrikethrough, valueNull, notTextInsertion, doNotAllowExecut
ionWhenDisabled } }, | 1586 { "Strikethrough", { 122, executeStrikethrough, supported, enabledInRich
lyEditableText, stateStrikethrough, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, |
1581 { "StyleWithCSS", {123, executeStyleWithCSS, supported, enabled, stateSt
yleWithCSS, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1587 { "StyleWithCSS", { 123, executeStyleWithCSS, supported, enabled, stateS
tyleWithCSS, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1582 { "Subscript", {124, executeSubscript, supported, enabledInRichlyEditabl
eText, stateSubscript, valueNull, notTextInsertion, doNotAllowExecutionWhenDisab
led } }, | 1588 { "Subscript", { 124, executeSubscript, supported, enabledInRichlyEditab
leText, stateSubscript, valueNull, notTextInsertion, doNotAllowExecutionWhenDisa
bled } }, |
1583 { "Superscript", {125, executeSuperscript, supported, enabledInRichlyEdi
tableText, stateSuperscript, valueNull, notTextInsertion, doNotAllowExecutionWhe
nDisabled } }, | 1589 { "Superscript", { 125, executeSuperscript, supported, enabledInRichlyEd
itableText, stateSuperscript, valueNull, notTextInsertion, doNotAllowExecutionWh
enDisabled } }, |
1584 { "SwapWithMark", {126, executeSwapWithMark, supportedFromMenuOrKeyBindi
ng, enabledVisibleSelectionAndMark, stateNone, valueNull, notTextInsertion, doNo
tAllowExecutionWhenDisabled } }, | 1590 { "SwapWithMark", { 126, executeSwapWithMark, supportedFromMenuOrKeyBind
ing, enabledVisibleSelectionAndMark, stateNone, valueNull, notTextInsertion, doN
otAllowExecutionWhenDisabled } }, |
1585 { "ToggleBold", {127, executeToggleBold, supportedFromMenuOrKeyBinding,
enabledInRichlyEditableText, stateBold, valueNull, notTextInsertion, doNotAllowE
xecutionWhenDisabled } }, | 1591 { "ToggleBold", { 127, executeToggleBold, supportedFromMenuOrKeyBinding,
enabledInRichlyEditableText, stateBold, valueNull, notTextInsertion, doNotAllow
ExecutionWhenDisabled } }, |
1586 { "ToggleItalic", {128, executeToggleItalic, supportedFromMenuOrKeyBindi
ng, enabledInRichlyEditableText, stateItalic, valueNull, notTextInsertion, doNot
AllowExecutionWhenDisabled } }, | 1592 { "ToggleItalic", { 128, executeToggleItalic, supportedFromMenuOrKeyBind
ing, enabledInRichlyEditableText, stateItalic, valueNull, notTextInsertion, doNo
tAllowExecutionWhenDisabled } }, |
1587 { "ToggleUnderline", {129, executeUnderline, supportedFromMenuOrKeyBindi
ng, enabledInRichlyEditableText, stateUnderline, valueNull, notTextInsertion, do
NotAllowExecutionWhenDisabled } }, | 1593 { "ToggleUnderline", { 129, executeUnderline, supportedFromMenuOrKeyBind
ing, enabledInRichlyEditableText, stateUnderline, valueNull, notTextInsertion, d
oNotAllowExecutionWhenDisabled } }, |
1588 { "Transpose", {130, executeTranspose, supported, enableCaretInEditableT
ext, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }
, | 1594 { "Transpose", { 130, executeTranspose, supported, enableCaretInEditable
Text, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled }
}, |
1589 { "Underline", {131, executeUnderline, supported, enabledInRichlyEditabl
eText, stateUnderline, valueNull, notTextInsertion, doNotAllowExecutionWhenDisab
led } }, | 1595 { "Underline", { 131, executeUnderline, supported, enabledInRichlyEditab
leText, stateUnderline, valueNull, notTextInsertion, doNotAllowExecutionWhenDisa
bled } }, |
1590 { "Undo", {132, executeUndo, supported, enabledUndo, stateNone, valueNul
l, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1596 { "Undo", { 132, executeUndo, supported, enabledUndo, stateNone, valueNu
ll, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1591 { "Unlink", {133, executeUnlink, supported, enabledRangeInRichlyEditable
Text, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled }
}, | 1597 { "Unlink", { 133, executeUnlink, supported, enabledRangeInRichlyEditabl
eText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled }
}, |
1592 { "Unscript", {134, executeUnscript, supportedFromMenuOrKeyBinding, enab
ledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExecu
tionWhenDisabled } }, | 1598 { "Unscript", { 134, executeUnscript, supportedFromMenuOrKeyBinding, ena
bledInRichlyEditableText, stateNone, valueNull, notTextInsertion, doNotAllowExec
utionWhenDisabled } }, |
1593 { "Unselect", {135, executeUnselect, supported, enabledVisibleSelection,
stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1599 { "Unselect", { 135, executeUnselect, supported, enabledVisibleSelection
, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1594 { "UseCSS", {136, executeUseCSS, supported, enabled, stateNone, valueNul
l, notTextInsertion, doNotAllowExecutionWhenDisabled } }, | 1600 { "UseCSS", { 136, executeUseCSS, supported, enabled, stateNone, valueNu
ll, notTextInsertion, doNotAllowExecutionWhenDisabled } }, |
1595 { "Yank", {137, executeYank, supportedFromMenuOrKeyBinding, enabledInEdi
tableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisabl
ed } }, | 1601 { "Yank", { 137, executeYank, supportedFromMenuOrKeyBinding, enabledInEd
itableText, stateNone, valueNull, notTextInsertion, doNotAllowExecutionWhenDisab
led } }, |
1596 { "YankAndSelect", {138, executeYankAndSelect, supportedFromMenuOrKeyBin
ding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllowE
xecutionWhenDisabled } }, | 1602 { "YankAndSelect", { 138, executeYankAndSelect, supportedFromMenuOrKeyBi
nding, enabledInEditableText, stateNone, valueNull, notTextInsertion, doNotAllow
ExecutionWhenDisabled } }, |
1597 }; | 1603 }; |
1598 | 1604 |
1599 // These unsupported commands are listed here since they appear in the Micro
soft | 1605 // These unsupported commands are listed here since they appear in the Micro
soft |
1600 // documentation used as the starting point for our DOM executeCommand suppo
rt. | 1606 // documentation used as the starting point for our DOM executeCommand suppo
rt. |
1601 // | 1607 // |
1602 // 2D-Position (not supported) | 1608 // 2D-Position (not supported) |
1603 // AbsolutePosition (not supported) | 1609 // AbsolutePosition (not supported) |
1604 // BlockDirLTR (not supported) | 1610 // BlockDirLTR (not supported) |
1605 // BlockDirRTL (not supported) | 1611 // BlockDirRTL (not supported) |
1606 // BrowseMode (not supported) | 1612 // BrowseMode (not supported) |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1793 { | 1799 { |
1794 return m_command && m_command->isTextInsertion; | 1800 return m_command && m_command->isTextInsertion; |
1795 } | 1801 } |
1796 | 1802 |
1797 int Editor::Command::idForHistogram() const | 1803 int Editor::Command::idForHistogram() const |
1798 { | 1804 { |
1799 return isSupported() ? m_command->idForUserMetrics : 0; | 1805 return isSupported() ? m_command->idForUserMetrics : 0; |
1800 } | 1806 } |
1801 | 1807 |
1802 } // namespace WebCore | 1808 } // namespace WebCore |
OLD | NEW |