diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-02-22 11:35:09 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-02-22 11:35:09 (GMT) |
commit | b639c1f4abca32152bf88f8fd47a9cd114da701b (patch) | |
tree | 3c10f78c94e2747f4c22d692d276ae24c1f6a44d /src/glibext/gbufferline.h | |
parent | d450f573d94f795d83d09526546d63c81fde2e1d (diff) |
Created a dialog box to select an entry point to display.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@476 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext/gbufferline.h')
-rw-r--r-- | src/glibext/gbufferline.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/glibext/gbufferline.h b/src/glibext/gbufferline.h index 6984c37..bf703ab 100644 --- a/src/glibext/gbufferline.h +++ b/src/glibext/gbufferline.h @@ -87,8 +87,9 @@ typedef enum _BufferLineColumn typedef enum _BufferLineFlags { BLF_NONE = 0 << 0, /* Aucune */ - BLF_ENTRYPOINT = 1 << 0, /* Représentation d'une entrée */ - BLF_BOOKMARK = 1 << 1 /* Signet associé */ + BLF_HAS_CODE = 1 << 0, /* La ligne contient du code */ + BLF_ENTRYPOINT = 1 << 1, /* Représentation d'une entrée */ + BLF_BOOKMARK = 1 << 2 /* Signet associé */ } BufferLineFlags; @@ -124,7 +125,7 @@ GSList *g_buffer_line_highlight_all_same_segments(const GBufferLine *, GSList *, void g_buffer_line_insert_text(GBufferLine *, BufferLineColumn, const char *, size_t, RenderingTagType); /* Donne le texte représenté par une ligne de tampon. */ -char *g_buffer_line_get_text(const GBufferLine *); +char *g_buffer_line_get_text(const GBufferLine *, BufferLineColumn, BufferLineColumn, bool); /* Fournit la largeur requise pour une colonne de ligne donnée. */ gint g_buffer_line_get_column_width(GBufferLine *, BufferLineColumn); @@ -138,6 +139,9 @@ void g_buffer_line_start_merge_at(GBufferLine *, BufferLineColumn); /* Ajoute une propriété particulière à une ligne donnée. */ void g_buffer_line_add_flag(GBufferLine *, BufferLineFlags); +/* Renseigne sur les propriétés particulières liées à une ligne. */ +BufferLineFlags g_buffer_line_get_flags(const GBufferLine *); + /* Retire une propriété particulière à une ligne donnée. */ void g_buffer_line_remove_flag(GBufferLine *, BufferLineFlags); |