Searched refs:GetIndexBefore (Results 1 – 4 of 4) sorted by relevance
585 EXPECT_EQ(1U, engine()->GetIndexBefore(2)); in TEST_F()592 EXPECT_EQ(2U, engine()->GetIndexBefore(3)); // Before is to left. in TEST_F()593 EXPECT_EQ(16U, engine()->GetIndexBefore(15)); // Before is to right. in TEST_F()594 EXPECT_EQ(22U, engine()->GetIndexBefore(23)); // Before is to left. in TEST_F()599 engine()->SetSelection(engine()->GetIndexBefore(7U), 7); in TEST_F()639 engine()->SetSelection(engine()->GetIndexBefore(6U), 6); in TEST_F()670 engine()->SetSelection(engine()->GetIndexBefore(6U), 6); in TEST_F()
132 size_t GetIndexBefore(size_t pos);
398 size_t CFDE_TextEditEngine::GetIndexBefore(size_t pos) { in GetIndexBefore() function in CFDE_TextEditEngine
1312 SetCursorPosition(m_EdtEngine.GetIndexBefore(m_CursorPosition)); in OnKeyDown()1342 SetCursorPosition(m_EdtEngine.GetIndexBefore(m_CursorPosition)); in OnChar()