diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-07-27 23:00:48 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-07-27 23:00:48 (GMT) |
commit | 34d28c7418342d3c67be4747b13cdcb124edda32 (patch) | |
tree | 9bfb5726e9c748c522f703a714466ef69ce16cf7 /src/glibext/bufferline.c | |
parent | d9c8eaac961b6fa097b362b2202c176a5ef16ec2 (diff) |
Deleted all tracks of the column specific definitions.
Diffstat (limited to 'src/glibext/bufferline.c')
-rw-r--r-- | src/glibext/bufferline.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/glibext/bufferline.c b/src/glibext/bufferline.c index b5fe7ed..dd6bc19 100644 --- a/src/glibext/bufferline.c +++ b/src/glibext/bufferline.c @@ -458,7 +458,7 @@ void g_buffer_line_fill_content(GBufferLine *line, size_t col, const GBinContent * * ******************************************************************************/ -GObject *g_buffer_line_find_first_segment_creator(const GBufferLine *line, BufferLineColumn column) +GObject *g_buffer_line_find_first_segment_creator(const GBufferLine *line, size_t column) { GObject *result; /* Trouvaille à retourner */ size_t i; /* Boucle de parcours */ @@ -583,10 +583,10 @@ bool g_buffer_line_replace_text(GBufferLine *line, const GObject *creator, const * * ******************************************************************************/ -bool g_buffer_line_has_text(const GBufferLine *line, BufferLineColumn first, BufferLineColumn end) +bool g_buffer_line_has_text(const GBufferLine *line, size_t first, size_t end) { bool result; /* Bilan à retourner */ - BufferLineColumn i; /* Boucle de parcours */ + size_t i; /* Boucle de parcours */ result = false; @@ -615,10 +615,10 @@ bool g_buffer_line_has_text(const GBufferLine *line, BufferLineColumn first, Buf * * ******************************************************************************/ -char *g_buffer_line_get_text(const GBufferLine *line, BufferLineColumn first, BufferLineColumn end, bool markup) +char *g_buffer_line_get_text(const GBufferLine *line, size_t first, size_t end, bool markup) { char *result; /* Construction à retourner */ - BufferLineColumn i; /* Boucle de parcours */ + size_t i; /* Boucle de parcours */ char *extra; /* Contenu à intégrer au texte */ result = NULL; @@ -664,9 +664,9 @@ char *g_buffer_line_get_text(const GBufferLine *line, BufferLineColumn first, Bu * * ******************************************************************************/ -void g_buffer_line_delete_text(GBufferLine *line, BufferLineColumn first, BufferLineColumn end) +void g_buffer_line_delete_text(GBufferLine *line, size_t first, size_t end) { - BufferLineColumn i; /* Boucle de parcours #1 */ + size_t i; /* Boucle de parcours */ assert(first < end); @@ -688,7 +688,7 @@ void g_buffer_line_delete_text(GBufferLine *line, BufferLineColumn first, Buffer * * ******************************************************************************/ -BufferLineColumn g_buffer_line_get_merge_start(const GBufferLine *line) +size_t g_buffer_line_get_merge_start(const GBufferLine *line) { return line->merge_start; @@ -708,7 +708,7 @@ BufferLineColumn g_buffer_line_get_merge_start(const GBufferLine *line) * * ******************************************************************************/ -void g_buffer_line_start_merge_at(GBufferLine *line, BufferLineColumn start) +void g_buffer_line_start_merge_at(GBufferLine *line, size_t start) { line->merge_start = start; @@ -981,7 +981,7 @@ line_segment *g_buffer_line_get_segment_from_coord(const GBufferLine *line, cons bool g_buffer_line_get_coord_at(const GBufferLine *line, size_t index, GWidthTracker *tracker, const GDisplayOptions *options, gint *base, gint *offset, GdkScrollDirection dir, bool force, col_coord_t *coord) { bool result; /* Bilan à retourner */ - BufferLineColumn last; /* Dernière colonne remplie */ + size_t last; /* Dernière colonne remplie */ gint last_base; /* Dernière abscisse associée */ size_t col_count; /* Qté de colonnes présentes */ size_t opt_count; /* Qté de colonnes en option */ |