Re: drawing of selection

2008-04-01 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Andre Poenitz wrote: On Tue, Apr 01, 2008 at 03:39:11PM +0200, Leuven, E. wrote: atm selections are drawn as follows: http://leuven.economists.nl/lyx/sel1.png as you can see, the selection margins sometimes extend too much to the left/right. the attached patch remo

Re: drawing of selection

2008-04-01 Thread Abdelrazak Younes
Andre Poenitz wrote: On Tue, Apr 01, 2008 at 03:39:11PM +0200, Leuven, E. wrote: atm selections are drawn as follows: http://leuven.economists.nl/lyx/sel1.png as you can see, the selection margins sometimes extend too much to the left/right. the attached patch removes some drawing code, with

Re: drawing of selection

2008-04-01 Thread Andre Poenitz
On Tue, Apr 01, 2008 at 03:39:11PM +0200, Leuven, E. wrote: > > atm selections are drawn as follows: > > http://leuven.economists.nl/lyx/sel1.png > > as you can see, the selection margins sometimes extend too much to the > left/right. > > the attached patch removes some drawing code, with this

RE: drawing of selection

2008-04-01 Thread Leuven, E.
Jurgen wrote: > Your second patch is all that I was asking for. perhaps, but the ignorance of insets about being selected is illustrated these two screenshots: http://leuven.economists.nl/lyx/sel2.png http://leuven.economists.nl/lyx/sel3.png

Re: drawing of selection

2008-04-01 Thread Jürgen Spitzmüller
Leuven, E. wrote: > not atm i think. i have the impression that insets don't take into account > whether they are selected or not when they paint themselves... Your second patch is all that I was asking for. Jürgen

Re: drawing of selection

2008-04-01 Thread José Matos
On Tuesday 01 April 2008 16:43:29 Leuven, E. wrote: > Since you asked. :-) > > 2nd iteration. To be coherent the only possible answer is that I like it. :-) -- José Abílio

RE: drawing of selection

2008-04-01 Thread Leuven, E.
> can you get the section/enumerate numbers to be highlighted as well? not atm i think. i have the impression that insets don't take into account whether they are selected or not when they paint themselves...

RE: drawing of selection

2008-04-01 Thread Leuven, E.
> Since you asked. :-) 2nd iteration. this is the current situation: http://leuven.economists.nl/lyx/sel1.png the attached patch gives this: http://leuven.economists.nl/lyx/sel2.png Index: src/TextMetrics.cpp === --- src/TextMet

Re: drawing of selection

2008-04-01 Thread Jürgen Spitzmüller
Leuven, E. wrote: > opinions/suggestions? can you get the section/enumerate numbers to be highlighted as well? Jürgen

Re: drawing of selection

2008-04-01 Thread José Matos
On Tuesday 01 April 2008 14:39:11 Leuven, E. wrote: > which i think is much nicer > > opinions/suggestions? Since you asked. :-) Aesthetically I don't like it. It would prefer maybe a compromise where only the text region (that is all the document with the exception of the margins) is selected,

drawing of selection

2008-04-01 Thread Leuven, E.
atm selections are drawn as follows: http://leuven.economists.nl/lyx/sel1.png as you can see, the selection margins sometimes extend too much to the left/right. the attached patch removes some drawing code, with this as a result: http://leuven.economists.nl/lyx/sel2.png which i think is much

Re: drawing of selection...

2007-11-17 Thread Abdelrazak Younes
Edwin Leuven wrote: is wrong, while i select text that spans multiple rows with the mouse. once i release the mouse button the selection is correctly drawn. it seems that there is a missing painting update when the cursor leaves a row abdel? I am working on it. Abdel.

drawing of selection...

2007-11-17 Thread Edwin Leuven
is wrong, while i select text that spans multiple rows with the mouse. once i release the mouse button the selection is correctly drawn. it seems that there is a missing painting update when the cursor leaves a row abdel?

Re: drawing of selection in tabulars

2007-06-25 Thread Alfredo Braunstein
Stefan Schimanski wrote: > Looks good. While you are at it, can you take care of 80 columns per > line? That one is more than 150... Done. A/

RE: Re: drawing of selection in tabulars

2007-06-25 Thread Leuven, E.
> I'm specializing in one-liners lately ;-) good work! > OK? yes

Re: drawing of selection in tabulars

2007-06-24 Thread Stefan Schimanski
Looks good. While you are at it, can you take care of 80 columns per line? That one is more than 150... Stefan Am 24.06.2007 um 23:16 schrieb Alfredo Braunstein: Edwin Leuven wrote: is a couple of pixels off. see attached... I'm specializing in one-liners lately ;-) OK? A/ PGP.s

Re: drawing of selection in tabulars

2007-06-24 Thread Alfredo Braunstein
Edwin Leuven wrote: > is a couple of pixels off. > > see attached... I'm specializing in one-liners lately ;-) OK? A/ Index: src/insets/InsetTabular.cpp === --- src/insets/InsetTabular.cpp (revision 18873) +++ src/insets/InsetTab

drawing of selection in tabulars

2007-06-24 Thread Edwin Leuven
is a couple of pixels off. see attached... <><>