Re: justification/cursor navigation issues

On Fri, 2005-08-19 at 16:41 +0100, Damon Chaplin wrote:
> I'm working on a patch for justification:
> One of the last remaining problems is with cursor navigation.
> (Currently if you press the up arrow at the ends of lines it does
> nothing, and if you press the down arrow it jumps down 2 lines.)
> I think some of the cursor navigation code assumes that all the text in
> the PangoLayoutLines and PangoLayoutRun/PangoItems is contiguous.
> However, my justification code trims whitespace at the ends of lines
> (and in future it may do things like replace text for hyphenation).
> So should the cursor navigation code be changed?
> Anyone know how much needs changing & how difficult it will be?

I've now found 3 pieces of problem code and rewritten them, and cursor
navigation and editing seems to be working fine with GtkTextView.

I'm going to have a quick scan through the code to see if I can spot any
more potential problems (basically anything that uses item->length or


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]