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/iterator.cc | |
parent | d3c0fe575e06cfce5b595ba615e885fd189cd75a (diff) |
Now, also selection works (in a temporal way).
Diffstat (limited to 'dw/iterator.cc')
-rw-r--r-- | dw/iterator.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dw/iterator.cc b/dw/iterator.cc index d42bdae3..b6fde502 100644 --- a/dw/iterator.cc +++ b/dw/iterator.cc @@ -655,12 +655,8 @@ CharIterator::CharIterator () */ CharIterator::CharIterator (Widget *widget, bool followReferences) { - Content::Type widgetMask = (Content::Type) - (Content::WIDGET_IN_FLOW | - (followReferences ? Content::WIDGET_OOF_REF : Content::WIDGET_OOF_CONT)); Iterator *i = - widget->iterator ((Content::Type) - (Content::SELECTION_CONTENT | widgetMask), false); + widget->iterator (Content::maskForSelection (followReferences), false); it = new DeepIterator (i); i->unref (); ch = START; |