| Index: Source/core/editing/ApplyBlockElementCommand.cpp
|
| diff --git a/Source/core/editing/ApplyBlockElementCommand.cpp b/Source/core/editing/ApplyBlockElementCommand.cpp
|
| index af2b1762e869fdec89ec6c2c686ccc3f8dea7069..ba071e33ae612465ee75126b36aa0c6104f88bfd 100644
|
| --- a/Source/core/editing/ApplyBlockElementCommand.cpp
|
| +++ b/Source/core/editing/ApplyBlockElementCommand.cpp
|
| @@ -63,13 +63,13 @@ void ApplyBlockElementCommand::doApply()
|
| if (visibleStart.isNull() || visibleStart.isOrphan() || visibleEnd.isNull() || visibleEnd.isOrphan())
|
| return;
|
|
|
| - // When a selection ends at the start of a paragraph, we rarely paint
|
| - // the selection gap before that paragraph, because there often is no gap.
|
| - // In a case like this, it's not obvious to the user that the selection
|
| - // ends "inside" that paragraph, so it would be confusing if Indent/Outdent
|
| + // When a selection ends at the start of a paragraph, we rarely paint
|
| + // the selection gap before that paragraph, because there often is no gap.
|
| + // In a case like this, it's not obvious to the user that the selection
|
| + // ends "inside" that paragraph, so it would be confusing if Indent/Outdent
|
| // operated on that paragraph.
|
| - // FIXME: We paint the gap before some paragraphs that are indented with left
|
| - // margin/padding, but not others. We should make the gap painting more consistent and
|
| + // FIXME: We paint the gap before some paragraphs that are indented with left
|
| + // margin/padding, but not others. We should make the gap painting more consistent and
|
| // then use a left margin/padding rule here.
|
| if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd))
|
| setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary), endingSelection().isDirectional()));
|
| @@ -133,7 +133,7 @@ void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSel
|
|
|
| formatRange(start, end, m_endOfLastParagraph, blockquoteForNextIndent);
|
|
|
| - // Don't put the next paragraph in the blockquote we just created for this paragraph unless
|
| + // Don't put the next paragraph in the blockquote we just created for this paragraph unless
|
| // the next paragraph is in the same cell.
|
| if (enclosingCell && enclosingCell != enclosingNodeOfType(endOfNextParagraph.deepEquivalent(), &isTableCell))
|
| blockquoteForNextIndent = 0;
|
|
|