From d0825bca7fe65beaee391d30da42e937db621564 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Tue, 2 Feb 2010 14:57:50 +0000 Subject: Merge webkit.org at r54127 : Initial merge by git Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82 --- WebCore/editing/VisibleSelection.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'WebCore/editing/VisibleSelection.h') diff --git a/WebCore/editing/VisibleSelection.h b/WebCore/editing/VisibleSelection.h index e346b27..bbcecf2 100644 --- a/WebCore/editing/VisibleSelection.h +++ b/WebCore/editing/VisibleSelection.h @@ -114,7 +114,11 @@ private: void adjustSelectionToAvoidCrossingEditingBoundaries(); void updateSelectionType(); - // FIXME: These should all be VisiblePositions + // We need to store these as Positions because VisibleSelection is + // used to store values in editing commands for use when + // undoing the command. We need to be able to create a selection that, while currently + // invalid, will be valid once the changes are undone. + Position m_base; // Where the first click happened Position m_extent; // Where the end click happened Position m_start; // Leftmost position when expanded to respect granularity -- cgit v1.1