Package: gtk

Function gtk-text-buffer-char-count

Lambda List

gtk-text-buffer-char-count (buffer)

Arguments

buffer -- a gtk-text-buffer object

Return Value

An integer with the number of characters in the text buffer.

Details

Gets the number of characters in the text buffer. Note that characters and bytes are not the same, you cannot e.g. expect the contents of the text buffer in string form to be this many bytes long. The character count is cached, so this function is very fast.
 

See also

*2021-11-16