Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: Source/core/editing/EditorCommand.cpp

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

Powered by Google App Engine
This is Rietveld 408576698