Commit b3bfc62f authored by justing's avatar justing

Reviewed by anders

        
        Build fix
        
        * editing/SelectionController.cpp:
        (WebCore::SelectionController::empty):
        * editing/SelectionController.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 538ce8bc
2006-10-02 Justin Garcia <justin.garcia@apple.com>
Reviewed by anders
Build fix
* editing/SelectionController.cpp:
(WebCore::SelectionController::empty):
* editing/SelectionController.h:
2006-10-02 Justin Garcia <justin.garcia@apple.com>
Reviewed by john
......@@ -60,11 +60,6 @@ void SelectionController::moveTo(const VisiblePosition &base, const VisiblePosit
setSelection(Selection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity()), true, true, userTriggered);
}
void SelectionController::moveTo(const SelectionController &o, bool userTriggered)
{
setSelection(o.m_sel, true, true, userTriggered);
}
void SelectionController::moveTo(const Position &pos, EAffinity affinity, bool userTriggered)
{
setSelection(Selection(pos, affinity), true, true, userTriggered);
......@@ -730,7 +725,7 @@ void SelectionController::collapseToStart()
void SelectionController::empty()
{
moveTo(SelectionController());
moveTo(VisiblePosition());
}
void SelectionController::extend(Node *node, int offset)
......
......@@ -54,7 +54,6 @@ public:
void moveTo(const VisiblePosition&, const VisiblePosition&, bool userTriggered = false);
void moveTo(const Position&, EAffinity, bool userTriggered = false);
void moveTo(const Position&, const Position&, EAffinity, bool userTriggered = false);
void moveTo(const SelectionController&, bool userTriggered = false);
const Selection& selection() const { return m_sel; }
void setSelection(const Selection&, bool closeTyping = true, bool clearTypingStyle = true, bool userTriggered = false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment