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

Re: [Gzigzag-commits] gzigzag/Java/flob FTextLayouter.java



On Fri, 17 Nov 2000, Benjamin Fallenstein wrote:

> 
> "Tuomas J. Lukka" wrote:
> > Log Message:
> > DO NOT NULLIFY CURSOR COLOR
> 
> Temper! :o)

Sorry.

That was only because I spent half an hour debugging SplitCellFlob to see
where the color got nulled. ;) ;)
 
> Why not? I think it should be
> 
> if(!cursors) cur.bg = null;

Sounds right.

> if anything, or, if you don't like that flobs are changed after they're
> created, the constructor of SplitCellFlob1 should be changed so it's
> possible not to show cursor colors -- because I want to be able not to
> show them, and all views are valid! :) Hm, there could be a mode to show
> the line cursors colored, that would make sense to me. But I don't like
> the other. (For example, I want to have a multiline cell view soon. Then
> I want the cell background be colored, not the text pieces.)

No, it's ok modifying it afterwards. I just should have noticed it. They
are public data members, after all...

	Tuomas