editor

editor

Synopsis

#define             GSQL_CONF_EDITOR_USE_SYSTEM_FONT
#define             GSQL_CONF_EDITOR_FONT_NAME
#define             GSQL_CONF_EDITOR_COLOR_SCHEME
#define             GSQL_CONF_EDITOR_USE_SPACE
#define             GSQL_CONF_EDITOR_TAB_WIDTH
#define             GSQL_CONF_EDITOR_SHOW_LINE_NUM
#define             GSQL_CONF_EDITOR_HIGHLIGHT_LINE
#define             GSQL_CONF_EDITOR_WRAPPING
#define             GSQL_CONF_EDITOR_AUTO_INDENT
#define             GSQL_CONF_EDITOR_TAB_WIDTH_DEFAULT
#define             GNOME_SYSTEM_FONT
#define             SQL_EDITOR_CUSTOM_FETCH_LIMIT
#define             GSQL_EDITOR_MARKER_COMPLETE
#define             GSQL_EDITOR_MARKER_FAILED
GtkWidget*          gsql_source_editor_new              (gchar *buffer_body);
void                gsql_source_editor_marker_set       (GtkTextIter *iter,
                                                         gchar *marker_type);

Description

Details

GSQL_CONF_EDITOR_USE_SYSTEM_FONT

#define GSQL_CONF_EDITOR_USE_SYSTEM_FONT	GSQL_CONF_ROOT_KEY "/editor/use_system_font"


GSQL_CONF_EDITOR_FONT_NAME

#define GSQL_CONF_EDITOR_FONT_NAME			GSQL_CONF_ROOT_KEY "/editor/font_name"


GSQL_CONF_EDITOR_COLOR_SCHEME

#define GSQL_CONF_EDITOR_COLOR_SCHEME		GSQL_CONF_ROOT_KEY "/editor/color_scheme"


GSQL_CONF_EDITOR_USE_SPACE

#define GSQL_CONF_EDITOR_USE_SPACE			GSQL_CONF_ROOT_KEY "/editor/use_space_instead_tab"


GSQL_CONF_EDITOR_TAB_WIDTH

#define GSQL_CONF_EDITOR_TAB_WIDTH			GSQL_CONF_ROOT_KEY "/editor/tab_width"


GSQL_CONF_EDITOR_SHOW_LINE_NUM

#define GSQL_CONF_EDITOR_SHOW_LINE_NUM		GSQL_CONF_ROOT_KEY "/editor/show_line_number"


GSQL_CONF_EDITOR_HIGHLIGHT_LINE

#define GSQL_CONF_EDITOR_HIGHLIGHT_LINE		GSQL_CONF_ROOT_KEY "/editor/highlight_line"


GSQL_CONF_EDITOR_WRAPPING

#define GSQL_CONF_EDITOR_WRAPPING			GSQL_CONF_ROOT_KEY "/editor/enable_text_wrapping"


GSQL_CONF_EDITOR_AUTO_INDENT

#define GSQL_CONF_EDITOR_AUTO_INDENT		GSQL_CONF_ROOT_KEY "/editor/enable_auto_indent"


GSQL_CONF_EDITOR_TAB_WIDTH_DEFAULT

#define GSQL_CONF_EDITOR_TAB_WIDTH_DEFAULT  4


GNOME_SYSTEM_FONT

#define             GNOME_SYSTEM_FONT


SQL_EDITOR_CUSTOM_FETCH_LIMIT

#define SQL_EDITOR_CUSTOM_FETCH_LIMIT	100


GSQL_EDITOR_MARKER_COMPLETE

#define GSQL_EDITOR_MARKER_COMPLETE "complete"


GSQL_EDITOR_MARKER_FAILED

#define GSQL_EDITOR_MARKER_FAILED "error"


gsql_source_editor_new ()

GtkWidget*          gsql_source_editor_new              (gchar *buffer_body);

buffer_body :

Returns :


gsql_source_editor_marker_set ()

void                gsql_source_editor_marker_set       (GtkTextIter *iter,
                                                         gchar *marker_type);

iter :

marker_type :