X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Ftext-editing.h;h=dba763f75e7c0c5d8fe3f294252874f445aa159d;hb=2d5f45472d142796f87b8b737cc0b56fc9de3bf7;hp=619bec89fb3d954f5485d804b5d542125db3069e;hpb=6b15695578f07a3f72c4c9475c1a261a3021472a;p=inkscape.git diff --git a/src/text-editing.h b/src/text-editing.h index 619bec89f..dba763f75 100644 --- a/src/text-editing.h +++ b/src/text-editing.h @@ -24,6 +24,7 @@ bool sp_te_output_is_empty (SPItem const *item); bool sp_te_input_is_empty (SPObject const *item); unsigned sp_text_get_length(SPObject const *item); +unsigned sp_text_get_length_upto(SPObject const *item, SPObject const *upto); std::vector sp_te_create_selection_quads(SPItem const *item, Inkscape::Text::Layout::iterator const &start, Inkscape::Text::Layout::iterator const &end, NR::Matrix const &transform); Inkscape::Text::Layout::iterator sp_te_get_position_by_coords (SPItem const *item, NR::Point &i_p);