fix caret issue

This commit is contained in:
Jinhao
2017-11-02 16:36:23 +08:00
parent 0796c1540b
commit 74f5a8f40b
5 changed files with 26 additions and 17 deletions

View File

@@ -1183,6 +1183,13 @@ namespace API
auto caret = _m_caret();
return (caret && caret->visible());
}
bool activated() const override
{
internal_scope_guard lock;
auto caret = _m_caret();
return (caret && caret->activated());
}
private:
caret_interface* _m_caret() const
{