18#ifndef INKSCAPE_UI_TOOLS_TEXT_TOOL_H
19#define INKSCAPE_UI_TOOLS_TEXT_TOOL_H
std::unique_ptr< T, CanvasItemUnlinkDeleter > CanvasItemPtr
Smart pointer used to hold CanvasItems, like std::unique_ptr.
Two-dimensional point that doubles as a vector.
The set of selected SPObjects for a given document and layer model.
Holds a position within the glyph output of Layout.
int _styleQueried(SPStyle *style, int property)
Text::Layout::iterator text_sel_end
sigc::scoped_connection focus_in_conn
CanvasItemPtr< CanvasItemRect > indicator
SPItem * textItem() const
sigc::scoped_connection sel_modified_connection
void placeCursor(SPObject *text, Text::Layout::iterator where)
CanvasItemPtr< CanvasItemBpath > frame
sigc::scoped_connection focus_out_conn
void _selectionChanged(Selection *selection)
sigc::scoped_connection sel_changed_connection
sigc::scoped_connection blink_conn
std::vector< CanvasItemPtr< CanvasItemQuad > > text_selection_quads
CanvasItemPtr< CanvasItemCurve > cursor
void _updateCursor(bool scroll_to_see=true)
bool deleteSelection()
Deletes the currently selected characters.
void _updateTextSelection()
bool root_handler(CanvasEvent const &event) override
CanvasItemPtr< CanvasItemBpath > padding_frame
void _validateCursorIterators()
bool _styleSet(SPCSSAttr const *css)
sigc::scoped_connection style_query_connection
void _insertUnichar()
Insert the character indicated by uni to replace the current selection, and reset uni to empty string...
bool pasteInline(Glib::ustring const clip_text)
Attempts to paste system clipboard into the currently edited text, returns true on success.
Text::Layout::iterator text_sel_start
void _selectionModified(Selection *selection, unsigned flags)
void _commit(GtkIMContext *imc, char *string)
sigc::scoped_connection style_set_connection
bool item_handler(SPItem *item, CanvasEvent const &event) override
Handles item specific events.
void placeCursorAt(SPObject *text, Geom::Point const &p)
To do: update description of desktop.
Base class for visual SVG elements.
SPObject is an abstract base class of all of the document nodes at the SVG document level.
std::shared_ptr< Css const > css
Helper class to stream background task notifications as a series of messages.
Abstract base class for events.
_GtkIMContext GtkIMContext
auto SP_TEXT_CONTEXT(Inkscape::UI::Tools::ToolBase *tool)