diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-02-16 00:23:40 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-02-16 00:23:40 +0000 |
| commit | 466bbb68dc798353d847ba60aaaf2ae8c2ba3254 (patch) | |
| tree | cd1ab2cb160d41dda0765b7400eff2ba1b2d2eb8 /src/text-context.h | |
| parent | Fix build failure on reconfigure (diff) | |
| download | inkscape-466bbb68dc798353d847ba60aaaf2ae8c2ba3254.tar.gz inkscape-466bbb68dc798353d847ba60aaaf2ae8c2ba3254.zip | |
utilities for getting style at cursor, placing cursor at iterator or coordinates, getting cursor iterator; display char count when editing in text tool
(bzr r7299)
Diffstat (limited to 'src/text-context.h')
| -rw-r--r-- | src/text-context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/text-context.h b/src/text-context.h index b9068e497..a6e2e8db7 100644 --- a/src/text-context.h +++ b/src/text-context.h @@ -84,6 +84,10 @@ GtkType sp_text_context_get_type (void); bool sp_text_paste_inline(SPEventContext *ec); Glib::ustring sp_text_get_selected_text(SPEventContext const *ec); +SPCSSAttr *sp_text_get_style_at_cursor(SPEventContext const *ec); bool sp_text_delete_selection(SPEventContext *ec); +void sp_text_context_place_cursor (SPTextContext *tc, SPObject *text, Inkscape::Text::Layout::iterator where); +void sp_text_context_place_cursor_at (SPTextContext *tc, SPObject *text, Geom::Point const p); +Inkscape::Text::Layout::iterator *sp_text_context_get_cursor_position(SPTextContext *tc, SPObject *text); #endif |
