On Wed, Apr 02, 2003 at 11:18:27AM +0530, Viveka Nathan K wrote:
The function gtk_text_buffer_get_line_count will return the no. of lines we have in the GtkTextView, or its different ? Is it maintaining a node for each and everyline we have in TextView? How the cursor height is calculated to display ? Will it refer the current display character attributes from buffer ? Is there a cursor maintained for each and every line ? Because, if we press up/down arrow, the cursor goes to previously visited location of the each and every lines.
There is an intro to GtkTextView implementation in CVS, I'll attach it here. Havoc
Attachment:
text_widget_internals.txt
Description: Text document