summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-entry.h
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2017-09-13 13:58:00 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2017-09-15 13:47:01 +0200
commit0468c5d912fc8a89bd552611ef6243bd1c889df7 (patch)
treed05c65d559fb8aa2adfd1979764cdb41cf4f04f3 /src/fe-text/gui-entry.h
parent24ad80177b10093544ec07a5d6b3ed4b1bfc6fb8 (diff)
downloadirssi-0468c5d912fc8a89bd552611ef6243bd1c889df7.zip
add new function to set the position in bytes
fixes #752
Diffstat (limited to 'src/fe-text/gui-entry.h')
-rw-r--r--src/fe-text/gui-entry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/gui-entry.h b/src/fe-text/gui-entry.h
index 8777f083..000c5f03 100644
--- a/src/fe-text/gui-entry.h
+++ b/src/fe-text/gui-entry.h
@@ -50,6 +50,7 @@ void gui_entry_set_utf8(GUI_ENTRY_REC *entry, int utf8);
void gui_entry_set_text(GUI_ENTRY_REC *entry, const char *str);
char *gui_entry_get_text(GUI_ENTRY_REC *entry);
char *gui_entry_get_text_and_pos(GUI_ENTRY_REC *entry, int *pos);
+void gui_entry_set_text_and_pos_bytes(GUI_ENTRY_REC *entry, const char *str, int pos_bytes);
void gui_entry_insert_text(GUI_ENTRY_REC *entry, const char *str);
void gui_entry_insert_char(GUI_ENTRY_REC *entry, unichar chr);