GtkScintilla::get_column

int get_column(int pos);

Returns the column number of the character position.

// get the column number of position 40...
echo $scintilla->get_column(40);