Logo Search packages:      
Sourcecode: ardour version File versions  Download package

int Glib::Markup::ParseContext::get_char_number (  )  const

Retrieves the number of the current character on the current line. Intended for use in error messages; there are no strict semantics for what constitutes the "current" character number other than "the best number we could come up with for error messages."

Definition at line 304 of file markup.cc.

{
  int char_number = 0;
  g_markup_parse_context_get_position(gobject_, 0, &char_number);
  return char_number;
}


Generated by  Doxygen 1.6.0   Back to index