diff options
author | Sebastian Geerken <devnull@localhost> | 2012-10-08 11:35:59 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-10-08 11:35:59 +0200 |
commit | 7fee878b09701ac3d0f8cb8e8fabc8afff7bcf98 (patch) | |
tree | 7727765e63a78e05c2abc94dfd81f3d793e25462 /dw/textblock.cc | |
parent | d3c0fe575e06cfce5b595ba615e885fd189cd75a (diff) |
Now, also selection works (in a temporal way).
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index ee5d4f67..2557a28f 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -800,7 +800,9 @@ bool Textblock::sendSelectionEvent (core::SelectionState::EventType eventType, } } } - it = new TextblockIterator (this, core::Content::SELECTION_CONTENT, + + /** \todo Reactivate followReferences = true, as soon as it works. */ + it = new TextblockIterator (this, core::Content::maskForSelection (false), false, wordIndex); r = selectionHandleEvent (eventType, it, charPos, link, event); it->unref (); |