forked from AuroraMiddleware/gtk
Merge branch 'textbuffer-set-text-docs' into 'main'
Document irreversibility of gtk_text_buffer_set_text See merge request GNOME/gtk!5005
This commit is contained in:
commit
7d564ecdc9
@ -1145,7 +1145,10 @@ gtk_text_buffer_get_tag_table (GtkTextBuffer *buffer)
|
||||
* @text: UTF-8 text to insert
|
||||
* @len: length of @text in bytes
|
||||
*
|
||||
* Deletes current contents of @buffer, and inserts @text instead.
|
||||
* Deletes current contents of @buffer, and inserts @text instead. This is
|
||||
* automatically marked as an irreversible action in the undo stack. If you
|
||||
* wish to mark this action as part of a larger undo operation, call
|
||||
* [method@TextBuffer.delete] and [method@TextBuffer.insert] directly instead.
|
||||
*
|
||||
* If @len is -1, @text must be nul-terminated.
|
||||
* @text must be valid UTF-8.
|
||||
|
Loading…
Reference in New Issue
Block a user