Logo Search packages:      
Sourcecode: ibus-sunpinyin version File versions  Download package

int SunPinyinLookupTable::get_current_page_start (  )  const [private]

get the index of current page's start point

the index where current page starts

Definition at line 145 of file sunpinyin_lookup_table.cpp.

Referenced by append_candidate().

    guint cursor = ibus_lookup_table_get_cursor_pos(*this);
    guint cursor_in_page = ibus_lookup_table_get_cursor_in_page(*this);
    return cursor - cursor_in_page;

Generated by  Doxygen 1.6.0   Back to index