2005-11-22 12:26:26 +00:00
|
|
|
/*
|
|
|
|
* sci_cb.h - this file is part of Geany, a fast and lightweight IDE
|
|
|
|
*
|
|
|
|
* Copyright 2005 Enrico Troeger <enrico.troeger@uvena.de>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GEANY_SCI_CB_H
|
|
|
|
#define GEANY_SCI_CB_H 1
|
|
|
|
|
|
|
|
|
|
|
|
// callback func called by all editors when a signals arises
|
|
|
|
void on_editor_notification(GtkWidget* editor, gint scn, gpointer lscn, gpointer user_data);
|
|
|
|
|
|
|
|
gboolean sci_cb_start_auto_complete(ScintillaObject *sci, gint pos);
|
|
|
|
|
|
|
|
void sci_cb_get_indent(ScintillaObject *sci, gint pos, gboolean use_this_line);
|
|
|
|
|
|
|
|
void sci_cb_close_block(ScintillaObject *sci, gint pos);
|
|
|
|
|
2006-03-10 00:49:19 +00:00
|
|
|
void sci_cb_auto_forif(ScintillaObject *sci, gint pos, gint idx);
|
|
|
|
|
|
|
|
void sci_cb_auto_latex(ScintillaObject *sci, gint pos, gint idx);
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
void sci_cb_show_macro_list(ScintillaObject *sci);
|
|
|
|
|
|
|
|
gboolean sci_cb_handle_xml(ScintillaObject *sci, gchar ch);
|
|
|
|
|
|
|
|
gboolean sci_cb_handle_uri(ScintillaObject *sci, gint pos);
|
|
|
|
|
|
|
|
gboolean sci_cb_show_calltip(ScintillaObject *sci, gint pos);
|
|
|
|
|
|
|
|
void sci_cb_do_comment(gint idx);
|
|
|
|
|
|
|
|
void sci_cb_highlight_braces(ScintillaObject *sci);
|
|
|
|
|
|
|
|
void sci_cb_auto_multiline(ScintillaObject *sci, gint pos);
|
|
|
|
|
|
|
|
void sci_cb_auto_table(ScintillaObject *sci, gint pos);
|
|
|
|
|
2005-12-20 17:49:25 +00:00
|
|
|
void sci_cb_auto_close_bracket(ScintillaObject *sci, gint pos, gchar c);
|
2005-12-13 22:06:12 +00:00
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
#define sci_cb_html_entities " " & < > Ü™ € • ∞ ∝ ∗\
|
|
|
|
− ∑ ∏ ∈ ∅ π Ω ω α ÿ ý\
|
|
|
|
÷ ø ù ú û ü ä å æ ç\
|
|
|
|
è ê ë ì î ï ñ ò ó ô\
|
|
|
|
õ ö ¢ £ ¤ ¥ § ¨ © ª ® °\
|
|
|
|
± ² ³ ¾ À Á Â Ã Ä Å\
|
|
|
|
Æ Ç È É Ê ½ ¼ º ¹ ¶\
|
|
|
|
µ Ë Ì Í Î Ï Ñ Ò Ó Ô\
|
|
|
|
Õ Ö × Ø Ù Ú Û"
|
|
|
|
|
|
|
|
#endif
|