Patch by Duncan Wilcox, reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jan 2006 18:14:53 +0000 (18:14 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jan 2006 18:14:53 +0000 (18:14 +0000)
commit1e247a1d4dc3cabb1f73dd6316c3e31e2d1c7337
tree7811fc30eb8910656d583ed6112f484083d268ff
parent4e665cb0bbd6ca22e9fa4f4dbaf871f28da6b93d
    Patch by Duncan Wilcox, reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6609
          Use Selection instead of SelectionController where possible

        This patch replaces the use of SelectionController with Selection in the edit commands.

        It also cleans up the relationship between Selection and SelectionController:
        SelectionController used to need to be friend to Selection to call validate()
        on it, now validation is enforced on every update of Selection.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21 files changed:
WebCore/ChangeLog
WebCore/khtml/editing/Selection.cpp
WebCore/khtml/editing/Selection.h
WebCore/khtml/editing/SelectionController.cpp
WebCore/khtml/editing/SelectionController.h
WebCore/khtml/editing/apply_style_command.cpp
WebCore/khtml/editing/break_blockquote_command.cpp
WebCore/khtml/editing/composite_edit_command.cpp
WebCore/khtml/editing/composite_edit_command.h
WebCore/khtml/editing/delete_selection_command.cpp
WebCore/khtml/editing/delete_selection_command.h
WebCore/khtml/editing/edit_command.cpp
WebCore/khtml/editing/edit_command.h
WebCore/khtml/editing/insert_line_break_command.cpp
WebCore/khtml/editing/insert_paragraph_separator_command.cpp
WebCore/khtml/editing/insert_text_command.cpp
WebCore/khtml/editing/move_selection_command.cpp
WebCore/khtml/editing/replace_selection_command.cpp
WebCore/khtml/editing/typing_command.cpp
WebCore/page/Frame.cpp
WebCore/page/Frame.h