Add xml_indent_tags filetype setting for documents using the
[geany-mirror.git] / plugins / geanyfunctions.h
bloba356f8f8affab6838666605c53e48511e864ef40
1 /* This file is generated automatically by genapi.py - do not edit. */
3 /** @file geanyfunctions.h @ref geany_functions wrappers.
4 * This allows the use of normal API function names in plugins by defining macros.
6 * E.g.:@code
7 * #define plugin_add_toolbar_item \
8 * geany_functions->p_plugin->plugin_add_toolbar_item @endcode
10 * You need to declare the @ref geany_functions symbol yourself.
12 * Note: This must be included after all other API headers to prevent conflicts with
13 * other header's function prototypes - this is done for you when using geanyplugin.h.
16 #ifndef GEANY_FUNCTIONS_H
17 #define GEANY_FUNCTIONS_H
19 #define plugin_add_toolbar_item \
20 geany_functions->p_plugin->plugin_add_toolbar_item
21 #define plugin_module_make_resident \
22 geany_functions->p_plugin->plugin_module_make_resident
23 #define plugin_signal_connect \
24 geany_functions->p_plugin->plugin_signal_connect
25 #define plugin_set_key_group \
26 geany_functions->p_plugin->plugin_set_key_group
27 #define plugin_show_configure \
28 geany_functions->p_plugin->plugin_show_configure
29 #define document_new_file \
30 geany_functions->p_document->document_new_file
31 #define document_get_current \
32 geany_functions->p_document->document_get_current
33 #define document_get_from_page \
34 geany_functions->p_document->document_get_from_page
35 #define document_find_by_filename \
36 geany_functions->p_document->document_find_by_filename
37 #define document_find_by_real_path \
38 geany_functions->p_document->document_find_by_real_path
39 #define document_save_file \
40 geany_functions->p_document->document_save_file
41 #define document_open_file \
42 geany_functions->p_document->document_open_file
43 #define document_open_files \
44 geany_functions->p_document->document_open_files
45 #define document_remove_page \
46 geany_functions->p_document->document_remove_page
47 #define document_reload_file \
48 geany_functions->p_document->document_reload_file
49 #define document_set_encoding \
50 geany_functions->p_document->document_set_encoding
51 #define document_set_text_changed \
52 geany_functions->p_document->document_set_text_changed
53 #define document_set_filetype \
54 geany_functions->p_document->document_set_filetype
55 #define document_close \
56 geany_functions->p_document->document_close
57 #define document_index \
58 geany_functions->p_document->document_index
59 #define document_save_file_as \
60 geany_functions->p_document->document_save_file_as
61 #define document_rename_file \
62 geany_functions->p_document->document_rename_file
63 #define document_get_status_color \
64 geany_functions->p_document->document_get_status_color
65 #define document_get_basename_for_display \
66 geany_functions->p_document->document_get_basename_for_display
67 #define document_get_notebook_page \
68 geany_functions->p_document->document_get_notebook_page
69 #define editor_get_indent_prefs \
70 geany_functions->p_editor->editor_get_indent_prefs
71 #define editor_create_widget \
72 geany_functions->p_editor->editor_create_widget
73 #define editor_indicator_set_on_range \
74 geany_functions->p_editor->editor_indicator_set_on_range
75 #define editor_indicator_set_on_line \
76 geany_functions->p_editor->editor_indicator_set_on_line
77 #define editor_indicator_clear \
78 geany_functions->p_editor->editor_indicator_clear
79 #define editor_set_indent_type \
80 geany_functions->p_editor->editor_set_indent_type
81 #define editor_get_word_at_pos \
82 geany_functions->p_editor->editor_get_word_at_pos
83 #define editor_get_eol_char_name \
84 geany_functions->p_editor->editor_get_eol_char_name
85 #define editor_get_eol_char_len \
86 geany_functions->p_editor->editor_get_eol_char_len
87 #define editor_get_eol_char \
88 geany_functions->p_editor->editor_get_eol_char
89 #define editor_insert_text_block \
90 geany_functions->p_editor->editor_insert_text_block
91 #define editor_get_eol_char_mode \
92 geany_functions->p_editor->editor_get_eol_char_mode
93 #define editor_goto_pos \
94 geany_functions->p_editor->editor_goto_pos
95 #define scintilla_send_message \
96 geany_functions->p_scintilla->scintilla_send_message
97 #define scintilla_new \
98 geany_functions->p_scintilla->scintilla_new
99 #define sci_send_command \
100 geany_functions->p_sci->sci_send_command
101 #define sci_start_undo_action \
102 geany_functions->p_sci->sci_start_undo_action
103 #define sci_end_undo_action \
104 geany_functions->p_sci->sci_end_undo_action
105 #define sci_set_text \
106 geany_functions->p_sci->sci_set_text
107 #define sci_insert_text \
108 geany_functions->p_sci->sci_insert_text
109 #define sci_get_text \
110 geany_functions->p_sci->sci_get_text
111 #define sci_get_length \
112 geany_functions->p_sci->sci_get_length
113 #define sci_get_current_position \
114 geany_functions->p_sci->sci_get_current_position
115 #define sci_set_current_position \
116 geany_functions->p_sci->sci_set_current_position
117 #define sci_get_col_from_position \
118 geany_functions->p_sci->sci_get_col_from_position
119 #define sci_get_line_from_position \
120 geany_functions->p_sci->sci_get_line_from_position
121 #define sci_get_position_from_line \
122 geany_functions->p_sci->sci_get_position_from_line
123 #define sci_replace_sel \
124 geany_functions->p_sci->sci_replace_sel
125 #define sci_get_selected_text \
126 geany_functions->p_sci->sci_get_selected_text
127 #define sci_get_selected_text_length \
128 geany_functions->p_sci->sci_get_selected_text_length
129 #define sci_get_selection_start \
130 geany_functions->p_sci->sci_get_selection_start
131 #define sci_get_selection_end \
132 geany_functions->p_sci->sci_get_selection_end
133 #define sci_get_selection_mode \
134 geany_functions->p_sci->sci_get_selection_mode
135 #define sci_set_selection_mode \
136 geany_functions->p_sci->sci_set_selection_mode
137 #define sci_set_selection_start \
138 geany_functions->p_sci->sci_set_selection_start
139 #define sci_set_selection_end \
140 geany_functions->p_sci->sci_set_selection_end
141 #define sci_get_text_range \
142 geany_functions->p_sci->sci_get_text_range
143 #define sci_get_line \
144 geany_functions->p_sci->sci_get_line
145 #define sci_get_line_length \
146 geany_functions->p_sci->sci_get_line_length
147 #define sci_get_line_count \
148 geany_functions->p_sci->sci_get_line_count
149 #define sci_get_line_is_visible \
150 geany_functions->p_sci->sci_get_line_is_visible
151 #define sci_ensure_line_is_visible \
152 geany_functions->p_sci->sci_ensure_line_is_visible
153 #define sci_scroll_caret \
154 geany_functions->p_sci->sci_scroll_caret
155 #define sci_find_matching_brace \
156 geany_functions->p_sci->sci_find_matching_brace
157 #define sci_get_style_at \
158 geany_functions->p_sci->sci_get_style_at
159 #define sci_get_char_at \
160 geany_functions->p_sci->sci_get_char_at
161 #define sci_get_current_line \
162 geany_functions->p_sci->sci_get_current_line
163 #define sci_has_selection \
164 geany_functions->p_sci->sci_has_selection
165 #define sci_get_tab_width \
166 geany_functions->p_sci->sci_get_tab_width
167 #define sci_indicator_clear \
168 geany_functions->p_sci->sci_indicator_clear
169 #define sci_indicator_set \
170 geany_functions->p_sci->sci_indicator_set
171 #define sci_get_contents \
172 geany_functions->p_sci->sci_get_contents
173 #define sci_get_contents_range \
174 geany_functions->p_sci->sci_get_contents_range
175 #define sci_get_selection_contents \
176 geany_functions->p_sci->sci_get_selection_contents
177 #define sci_set_font \
178 geany_functions->p_sci->sci_set_font
179 #define sci_get_line_end_position \
180 geany_functions->p_sci->sci_get_line_end_position
181 #define sci_set_target_start \
182 geany_functions->p_sci->sci_set_target_start
183 #define sci_set_target_end \
184 geany_functions->p_sci->sci_set_target_end
185 #define sci_replace_target \
186 geany_functions->p_sci->sci_replace_target
187 #define sci_set_marker_at_line \
188 geany_functions->p_sci->sci_set_marker_at_line
189 #define sci_delete_marker_at_line \
190 geany_functions->p_sci->sci_delete_marker_at_line
191 #define sci_is_marker_set_at_line \
192 geany_functions->p_sci->sci_is_marker_set_at_line
193 #define sci_goto_line \
194 geany_functions->p_sci->sci_goto_line
195 #define sci_find_text \
196 geany_functions->p_sci->sci_find_text
197 #define sci_set_line_indentation \
198 geany_functions->p_sci->sci_set_line_indentation
199 #define sci_get_line_indentation \
200 geany_functions->p_sci->sci_get_line_indentation
201 #define sci_get_lexer \
202 geany_functions->p_sci->sci_get_lexer
203 #define templates_get_template_fileheader \
204 geany_functions->p_templates->templates_get_template_fileheader
205 #define utils_str_equal \
206 geany_functions->p_utils->utils_str_equal
207 #define utils_string_replace_all \
208 geany_functions->p_utils->utils_string_replace_all
209 #define utils_get_file_list \
210 geany_functions->p_utils->utils_get_file_list
211 #define utils_write_file \
212 geany_functions->p_utils->utils_write_file
213 #define utils_get_locale_from_utf8 \
214 geany_functions->p_utils->utils_get_locale_from_utf8
215 #define utils_get_utf8_from_locale \
216 geany_functions->p_utils->utils_get_utf8_from_locale
217 #define utils_remove_ext_from_filename \
218 geany_functions->p_utils->utils_remove_ext_from_filename
219 #define utils_mkdir \
220 geany_functions->p_utils->utils_mkdir
221 #define utils_get_setting_boolean \
222 geany_functions->p_utils->utils_get_setting_boolean
223 #define utils_get_setting_integer \
224 geany_functions->p_utils->utils_get_setting_integer
225 #define utils_get_setting_string \
226 geany_functions->p_utils->utils_get_setting_string
227 #define utils_spawn_sync \
228 geany_functions->p_utils->utils_spawn_sync
229 #define utils_spawn_async \
230 geany_functions->p_utils->utils_spawn_async
231 #define utils_str_casecmp \
232 geany_functions->p_utils->utils_str_casecmp
233 #define utils_get_date_time \
234 geany_functions->p_utils->utils_get_date_time
235 #define utils_open_browser \
236 geany_functions->p_utils->utils_open_browser
237 #define utils_string_replace_first \
238 geany_functions->p_utils->utils_string_replace_first
239 #define utils_str_middle_truncate \
240 geany_functions->p_utils->utils_str_middle_truncate
241 #define utils_str_remove_chars \
242 geany_functions->p_utils->utils_str_remove_chars
243 #define utils_get_file_list_full \
244 geany_functions->p_utils->utils_get_file_list_full
245 #define utils_copy_environment \
246 geany_functions->p_utils->utils_copy_environment
247 #define ui_dialog_vbox_new \
248 geany_functions->p_ui->ui_dialog_vbox_new
249 #define ui_frame_new_with_alignment \
250 geany_functions->p_ui->ui_frame_new_with_alignment
251 #define ui_set_statusbar \
252 geany_functions->p_ui->ui_set_statusbar
253 #define ui_table_add_row \
254 geany_functions->p_ui->ui_table_add_row
255 #define ui_path_box_new \
256 geany_functions->p_ui->ui_path_box_new
257 #define ui_button_new_with_image \
258 geany_functions->p_ui->ui_button_new_with_image
259 #define ui_add_document_sensitive \
260 geany_functions->p_ui->ui_add_document_sensitive
261 #define ui_widget_set_tooltip_text \
262 geany_functions->p_ui->ui_widget_set_tooltip_text
263 #define ui_image_menu_item_new \
264 geany_functions->p_ui->ui_image_menu_item_new
265 #define ui_lookup_widget \
266 geany_functions->p_ui->ui_lookup_widget
267 #define ui_progress_bar_start \
268 geany_functions->p_ui->ui_progress_bar_start
269 #define ui_progress_bar_stop \
270 geany_functions->p_ui->ui_progress_bar_stop
271 #define ui_entry_add_clear_icon \
272 geany_functions->p_ui->ui_entry_add_clear_icon
273 #define ui_menu_add_document_items \
274 geany_functions->p_ui->ui_menu_add_document_items
275 #define ui_widget_modify_font_from_string \
276 geany_functions->p_ui->ui_widget_modify_font_from_string
277 #define ui_is_keyval_enter_or_return \
278 geany_functions->p_ui->ui_is_keyval_enter_or_return
279 #define ui_get_gtk_settings_integer \
280 geany_functions->p_ui->ui_get_gtk_settings_integer
281 #define ui_combo_box_add_to_history \
282 geany_functions->p_ui->ui_combo_box_add_to_history
283 #define dialogs_show_question \
284 geany_functions->p_dialogs->dialogs_show_question
285 #define dialogs_show_msgbox \
286 geany_functions->p_dialogs->dialogs_show_msgbox
287 #define dialogs_show_save_as \
288 geany_functions->p_dialogs->dialogs_show_save_as
289 #define dialogs_show_input_numeric \
290 geany_functions->p_dialogs->dialogs_show_input_numeric
291 #define msgwin_status_add \
292 geany_functions->p_msgwin->msgwin_status_add
293 #define msgwin_compiler_add \
294 geany_functions->p_msgwin->msgwin_compiler_add
295 #define msgwin_msg_add \
296 geany_functions->p_msgwin->msgwin_msg_add
297 #define msgwin_clear_tab \
298 geany_functions->p_msgwin->msgwin_clear_tab
299 #define msgwin_switch_tab \
300 geany_functions->p_msgwin->msgwin_switch_tab
301 #define msgwin_set_messages_dir \
302 geany_functions->p_msgwin->msgwin_set_messages_dir
303 #define encodings_convert_to_utf8 \
304 geany_functions->p_encodings->encodings_convert_to_utf8
305 #define encodings_convert_to_utf8_from_charset \
306 geany_functions->p_encodings->encodings_convert_to_utf8_from_charset
307 #define encodings_get_charset_from_index \
308 geany_functions->p_encodings->encodings_get_charset_from_index
309 #define keybindings_send_command \
310 geany_functions->p_keybindings->keybindings_send_command
311 #define keybindings_set_item \
312 geany_functions->p_keybindings->keybindings_set_item
313 #define keybindings_get_item \
314 geany_functions->p_keybindings->keybindings_get_item
315 #define tm_get_real_path \
316 geany_functions->p_tm->tm_get_real_path
317 #define tm_source_file_new \
318 geany_functions->p_tm->tm_source_file_new
319 #define tm_workspace_add_object \
320 geany_functions->p_tm->tm_workspace_add_object
321 #define tm_source_file_update \
322 geany_functions->p_tm->tm_source_file_update
323 #define tm_work_object_free \
324 geany_functions->p_tm->tm_work_object_free
325 #define tm_workspace_remove_object \
326 geany_functions->p_tm->tm_workspace_remove_object
327 #define search_show_find_in_files_dialog \
328 geany_functions->p_search->search_show_find_in_files_dialog
329 #define highlighting_get_style \
330 geany_functions->p_highlighting->highlighting_get_style
331 #define highlighting_set_styles \
332 geany_functions->p_highlighting->highlighting_set_styles
333 #define filetypes_detect_from_file \
334 geany_functions->p_filetypes->filetypes_detect_from_file
335 #define filetypes_lookup_by_name \
336 geany_functions->p_filetypes->filetypes_lookup_by_name
337 #define filetypes_index \
338 geany_functions->p_filetypes->filetypes_index
339 #define navqueue_goto_line \
340 geany_functions->p_navqueue->navqueue_goto_line
341 #define main_reload_configuration \
342 geany_functions->p_main->main_reload_configuration
343 #define main_locale_init \
344 geany_functions->p_main->main_locale_init
345 #define main_is_realized \
346 geany_functions->p_main->main_is_realized
347 #define stash_group_new \
348 geany_functions->p_stash->stash_group_new
349 #define stash_group_add_boolean \
350 geany_functions->p_stash->stash_group_add_boolean
351 #define stash_group_add_integer \
352 geany_functions->p_stash->stash_group_add_integer
353 #define stash_group_add_string \
354 geany_functions->p_stash->stash_group_add_string
355 #define stash_group_add_string_vector \
356 geany_functions->p_stash->stash_group_add_string_vector
357 #define stash_group_load_from_key_file \
358 geany_functions->p_stash->stash_group_load_from_key_file
359 #define stash_group_save_to_key_file \
360 geany_functions->p_stash->stash_group_save_to_key_file
361 #define stash_group_free \
362 geany_functions->p_stash->stash_group_free
363 #define stash_group_load_from_file \
364 geany_functions->p_stash->stash_group_load_from_file
365 #define stash_group_save_to_file \
366 geany_functions->p_stash->stash_group_save_to_file
367 #define stash_group_add_toggle_button \
368 geany_functions->p_stash->stash_group_add_toggle_button
369 #define stash_group_add_radio_buttons \
370 geany_functions->p_stash->stash_group_add_radio_buttons
371 #define stash_group_add_spin_button_integer \
372 geany_functions->p_stash->stash_group_add_spin_button_integer
373 #define stash_group_add_combo_box \
374 geany_functions->p_stash->stash_group_add_combo_box
375 #define stash_group_add_combo_box_entry \
376 geany_functions->p_stash->stash_group_add_combo_box_entry
377 #define stash_group_add_entry \
378 geany_functions->p_stash->stash_group_add_entry
379 #define stash_group_add_widget_property \
380 geany_functions->p_stash->stash_group_add_widget_property
381 #define stash_group_display \
382 geany_functions->p_stash->stash_group_display
383 #define stash_group_update \
384 geany_functions->p_stash->stash_group_update
385 #define symbols_get_context_separator \
386 geany_functions->p_symbols->symbols_get_context_separator
388 #endif