Updating Line Number on cursor move
- From: rob page <page rob gmail com>
- To: gtkmm list <gtkmm-list gnome org>
- Subject: Updating Line Number on cursor move
- Date: Thu, 10 Feb 2005 15:55:02 +0000
Hi all,
I'm writing an app which displays the current line number on the
status bar, currently i'm attaching the TextBuffer's signal_mark_set,
so everytime the user moves the cursor the line number updates,
however it doesn't update for text inserts. I presume this is because
the mark is not being set, just moved because of its gravity.
I am aware that I could use the signal_changed signal aswell, however
I'm sure there should be a nicer solution than this.
Thanks in advance.
Rob.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]