[escher/src] Add TODO comment

This commit is contained in:
Hugo Saint-Vignes
2020-12-02 17:14:13 +01:00
committed by LeaNumworks
parent 636e863323
commit 8cd3fe679f

View File

@@ -654,6 +654,9 @@ bool LayoutField::privateHandleSelectionEvent(Ion::Events::Event event, bool * s
// Successful event if at least one step succeeded.
return i > 0;
}
/* TODO : addSelection() is built so that it should be called steps by steps
* It could be reworked to handle selection with steps > 1 and match
* text_input's implementation */
m_contentView.addSelection(addedSelection);
assert(result.isDefined());
m_contentView.setCursor(result);