Am Donnerstag, 4. Januar 2007 21:20 schrieb Bo Peng:
> > This is where people disagree. Some people want the selection to stay
> > selected (approach A), some people want that it is cleared (approach 
B).
> 
> There is not the whole story. I want selection to be cleared when
> another selection is created, by lyx or others. That is to say, there
> should be only one visible selection on my screen.

That does not matter in the context of BufferView::clearSelection.

> What I want is persistent selection. That is to say, left button click
> does not clear selection until another selection is made. I.e.,
> select, left button click (selection cleared), middle-button click
> actually paste the invisible selection. The mind setting is that
> selection set selection buffer, till next selection replace the
> buffer, just like what clipboard does. This is what firefox/linux and
> many other applications are doing (vim, emacs, xterm, ...). If it is
> not too difficult, could you please implement it?

That would not be difficult at all AFAIK. The problem is not 
implementation, the problem is agreeing on the desired behaviour. Please 
let's discuss that later. First I want to document and fix the current 
implementation. After that we can change it if desired.


Georg

Reply via email to