Hi there, again me another problem
I would need a method such as:
which gives back the iter at the current cursor.
I have looked but found no easy way to find out where the
cursor is located (+the iter it has)
My problem right now:
start_pos = buffer.get_iter_at_line(3)
end_pos = buffer.get_iter_at_line(20)
buffer.delete( start_pos, end_pos )
This snippet will/should delete lines 3-20.
However the first one for start_pos should be something like
start_pos = buffer.get_iter_at_cursor
So that I could delete all rows up to a specified number
beginning with the cursor.
Does anyone know of a workaround at least?
Powered by Outblaze
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.