-
Notifications
You must be signed in to change notification settings - Fork 2
/
gtk_filebuf.h
59 lines (44 loc) · 1.94 KB
/
gtk_filebuf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef _gtk_filebuf_h_
#define _gtk_filebuf_h_ 1
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> /* for GDK key values */
#include <glib/gstdio.h>
#include <gtksourceview/gtksourcestyleschememanager.h>
#include "gtk_appdata.h"
#include "gtk_charset.h"
#include "gtk_common_dlg.h"
#include "gtk_sourceview.h"
#include "gtk_statusbar.h"
#include "gtk_textview.h"
#include "gtk_treeview.h"
// #include "gtk_filemon.h"
/** function prototypes */
void file_get_stats (kinst_t *file);
gboolean buffer_select_all (gpointer data);
gboolean buffer_deselect_all (gpointer data);
gboolean buffer_select_to_next_char (gpointer data);
gboolean buffer_select_to_prev_char (gpointer data);
gboolean buffer_reduce_selection (gpointer data);
void buffer_indent_lines (gpointer data, GtkTextIter *start, GtkTextIter *end);
void buffer_unindent_lines (gpointer data, GtkTextIter *start, GtkTextIter *end);
void buffer_indent_lines_fixed (gpointer data, GtkTextIter *start, GtkTextIter *end);
void buffer_unindent_lines_fixed (gpointer data, GtkTextIter *start, GtkTextIter *end);
void buffer_comment_lines (gpointer data, GtkTextIter *start, GtkTextIter *end);
void buffer_uncomment_lines (gpointer data, GtkTextIter *start, GtkTextIter *end);
gboolean buffer_indent_auto (gpointer data);
gboolean smart_backspace (gpointer data);
gboolean smart_tab (gpointer data);
gboolean smart_home (gpointer data);
gboolean buffer_insert_eol (gpointer data);
void buffer_convert_eol (gpointer data);
void buffer_content_stats (gpointer data);
void buffer_clear_focused (gpointer data);
void file_open_recent_dlg (gpointer data);
gboolean buffer_insert_file (gpointer data, kinst_t *inst, gchar *filename);
void buffer_file_insert_dlg (gpointer data);
void file_open (gpointer data, gchar *filename);
void file_save (gpointer data, gchar *filename);
void file_close (gpointer data);
gboolean joinlines (gchar *s);
void selection_for_each_char (GtkTextBuffer *buffer, gboolean (*fn) (gchar *));
#endif