> Pavel Sanda wrote: >>> So the selection should remain intact only if one right click on a >>> selection. >> yes > > I am having a look at mouse business right now. I must say that this is a > mess and that we do basically everything different from other apps. The > main problem is that we do most things at mouse press time instead of mouse > release time like everyone else.
dont know how much this is related with mouse-press bussiness but this bug http://bugzilla.lyx.org/show_bug.cgi?id=3861 really sucks for a long time. > I might work a bit on that and solve the above issue at the same time. > > One question to everybody: how do I now that I am starting a new selection? > My problem is as follow: > > 1) select some text > 2) move the mouse somewhere else outside the selected area. > 3) left-click to start a new selection > > I have to detect that the previous selection is finished so it can be > cleared. i dont understand. isnt the finishing of selection via mouse recognizable via releasing button? > With current trunk this is no problem as the selection was cleared > at mouse press in any case; but I would like to move this decision at mouse > release or mouse motion time. i see we are selecting also when right button is pushed. why? lets have the right button for menu and left for selecting. pavel