| 55 |
GtkNotebook *notebook; |
GtkNotebook *notebook; |
| 56 |
GtkWidget *statusbar; |
GtkWidget *statusbar; |
| 57 |
GtkWidget *modeline_label; |
GtkWidget *modeline_label; |
| 58 |
GList *tabInfoList; |
GList *bufferList; |
| 59 |
gint current_tabpage_num; |
gint current_tabpage_num; |
| 60 |
ShikiBuffer *current_tabpage_info; |
ShikiBuffer *current_tabpage_info; |
| 61 |
} ShikiEditorType; |
} ShikiEditorType; |
| 69 |
#define Shiki_EDITOR_NOTEBOOK Shiki_editor.notebook |
#define Shiki_EDITOR_NOTEBOOK Shiki_editor.notebook |
| 70 |
#define Shiki_EDITOR_STATUSBAR Shiki_editor.statusbar |
#define Shiki_EDITOR_STATUSBAR Shiki_editor.statusbar |
| 71 |
#define Shiki_EDITOR_MODELINE_LABEL Shiki_editor.modeline_label |
#define Shiki_EDITOR_MODELINE_LABEL Shiki_editor.modeline_label |
| 72 |
#define Shiki_EDITOR_TAB_INFO_LIST Shiki_editor.tabInfoList |
#define Shiki_EDITOR_BUFFER_LIST Shiki_editor.bufferList |
| 73 |
|
|
| 74 |
/* 現在表示されているタブに対するアクセス用各種キャッシュ情報 */ |
/* 現在表示されているタブに対するアクセス用各種キャッシュ情報 */ |
| 75 |
#define Shiki_CURRENT_TAB_NUM Shiki_editor.current_tabpage_num |
#define Shiki_CURRENT_TAB_NUM Shiki_editor.current_tabpage_num |
| 95 |
gint end; |
gint end; |
| 96 |
} ShikiUndoInfo; |
} ShikiUndoInfo; |
| 97 |
|
|
| 98 |
|
extern ScmClass *ShikiBufferClass; |
| 99 |
|
|
| 100 |
|
#define SHIKI_BUFFER_P(obj) SCM_XTYPEP(obj, ShikiBufferClass) |
| 101 |
|
#define SHIKI_BUFFER_UNBOX(obj) SCM_FOREIGN_POINTER_REF(GtkTextBuffer*, obj) |
| 102 |
|
#define SHIKI_BUFFER_BOX(ptr) Scm_MakeForeignPointer(ShikiBufferClass, ptr) |
| 103 |
|
|
| 104 |
/* C API */ |
/* C API */ |
| 105 |
void Shiki_get_buffer_create(gchar *filename); |
void Shiki_get_buffer_create(gchar *filename); |
| 106 |
gchar *Shiki_buffer_substring(gint start, gint end); |
gchar *Shiki_buffer_substring(gint start, gint end); |