Skip to content
  • ariya@webkit.org's avatar
    2009-03-20 Erik L. Bunce <elbunce@xendom.com> · 4b3900cc
    ariya@webkit.org authored
            Reviewed by Tor Arne Vestbø.
    
            Fix QWebPage::WebActions action states to more closely match when they are
            actually applicable and remove erroneous documentation.
    
            * Most WebActions implemented using editor commands now use the
              Editor::Command::isEnabled() to control their availability.
            * SelectAll is always enabled (since it's editor command is).
            * SetTextDirection{} family of WebActions are available when canEdit() is true
              and not just canEditRichly().
    
            Fix and clarify documentation about the availability of various web actions.
    
            * Api/qwebpage.cpp:
            (QWebPagePrivate::updateAction):
            (QWebPagePrivate::updateEditorActions):
            * tests/qwebpage/tst_qwebpage.cpp:
            (tst_QWebPage::textSelection):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4b3900cc