Reviewed by Maciej.
<rdar://problem/
3933665> smart delete seems to delete too much after expanding selection with arrow keys
Fixed by updating the selection granularity. Only byWord granularity enables smart delete, but in this
case the granularity changed from byWord to byCharacter.
* khtml/khtml_part.cpp:
(KHTMLPart::setSelectionGranularity):
* khtml/khtml_part.h:
* kwq/WebCoreBridge.mm:
(-[WebCoreBridge rangeByExpandingSelectionWithGranularity:]):
(-[WebCoreBridge rangeByAlteringCurrentSelection:direction:granularity:]):
(-[WebCoreBridge alterCurrentSelection:direction:granularity:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8596
268f45cc-cd09-0410-ab3c-
d52691b4dbfc