Develop and Download Open Source Software

Browse CVS Repository

Diff of /shiki/shiki/shiki.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by aloha, Sat Nov 25 14:28:17 2006 UTC revision 1.5 by aloha, Sun Nov 26 00:41:57 2006 UTC
# Line 55  typedef struct { Line 55  typedef struct {
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;
# Line 69  extern ShikiEditorType Shiki_editor; Line 69  extern ShikiEditorType Shiki_editor;
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
# Line 95  typedef struct { Line 95  typedef struct {
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);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26