geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
Go to the source code of this file.
Functions | |
void | tools_create_insert_custom_command_menu_items (void) |
void | tools_execute_custom_command (GeanyDocument *doc, const gchar *command) |
void | tools_word_count (void) |
void | tools_color_chooser (const gchar *color) |
void tools_color_chooser | ( | const gchar * | color | ) |
Definition at line 829 of file tools.c.
References _, color, interface_prefs, main_widgets, NULL, on_color_dialog_response(), on_color_selection_change_palette_with_screen(), ui_dialog_set_primary_button_order(), ui_widgets, GeanyInterfacePrefs::use_native_windows_dialogs, utils_parse_color(), and GeanyMainWidgets::window.
Referenced by on_show_color_chooser1_activate().
void tools_create_insert_custom_command_menu_items | ( | void | ) |
Definition at line 581 of file tools.c.
References _, cc_insert_custom_command_items(), EMPTY, foreach_list, gtk_container_add(), label, main_widgets, NULL, ui_lookup_widget(), ui_prefs, and GeanyMainWidgets::window.
Referenced by cc_show_dialog_custom_commands(), main_lib(), and on_prefs_dialog_response().
void tools_execute_custom_command | ( | GeanyDocument * | doc, |
const gchar * | command | ||
) |
< non-zero if the child exited normally
< exit status of a child if exited normally
Definition at line 196 of file tools.c.
References _, command, GeanyDocument::editor, editor_select_lines(), error(), NULL, _SpawnWriteData::ptr, GeanyEditor::sci, sci_get_selection_contents(), sci_has_selection(), sci_replace_sel(), _SpawnWriteData::size, spawn_sync(), SPAWN_WEXITSTATUS, SPAWN_WIFEXITED, and ui_set_statusbar().
Referenced by cb_func_format_action(), and cc_on_custom_command_activate().
void tools_word_count | ( | void | ) |
Definition at line 683 of file tools.c.
References _, chars, dialog, document_get_current(), GeanyDocument::editor, gtk_container_add(), gtk_widget_show_all(), label, lines, main_widgets, NULL, GeanyEditor::sci, sci_get_contents(), sci_get_selection_contents(), sci_has_selection(), text, ui_dialog_vbox_new(), GeanyMainWidgets::window, and word_count().
Referenced by on_count_words1_activate().