Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
syntax.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::UI
 User interface code.
 
namespace  Inkscape::UI::Syntax
 

Functions

Glib::ustring Inkscape::UI::Syntax::quote (const char *text)
 
XMLStyles Inkscape::UI::Syntax::build_xml_styles (const Glib::ustring &syntax_theme)
 Build XML styles from a GTKSourceView syntax color theme.
 
Glib::ustring Inkscape::UI::Syntax::prettify_css (Glib::ustring const &css)
 Reformat CSS for better readability.
 
Glib::ustring Inkscape::UI::Syntax::minify_css (Glib::ustring const &css)
 Undo the CSS prettification by stripping some whitespace from CSS markup.
 
Glib::ustring Inkscape::UI::Syntax::prettify_svgd (Glib::ustring const &d)
 Reformat a path 'd' attibute for better readability.
 
Glib::ustring Inkscape::UI::Syntax::minify_svgd (Glib::ustring const &d)
 Remove excessive space, including newlines, from a path 'd' attibute.
 
static void Inkscape::UI::Syntax::init_text_view (Gtk::TextView *textview)
 Set default options on a TextView widget used for syntax-colored editing.
 
static GtkSourceLanguageManager * Inkscape::UI::Syntax::get_language_manager ()
 Return a pointer to a language manager which is aware of both default and custom syntaxes.