Am Montag, 8. Januar 2007 17:15 schrieb Bo Peng:
> > Thanks for the explanation. As I see it, 1 could go, but 2 and 3 are 
useful.
> 
> There is where current svn at.
> 
> > If they don't make sense on windows, hide the entries there.
> 
> Since they only work for external selection (am I right here, Georg?),
> it makes sense to hide them under windows and mac.

They also work for the internal selection, but do not make much sense 
because you can't paste them somewhere else than the current cursor 
location as you found out.
So maybe we should really disable them if the selection is internal. That 
would be a one line change in LyXText::getStatus().

> I am not sure how 
> to do it though.

That would be easy: Implement Selection::supported(), and don't set the 
unknown flag in LyXText::getStatus(). I don't remember exactly how that 
would work, but we do it for aiksuarus AFAIK.


Georg

Reply via email to