[MonoDevelop] [patch] ctrl-up/down in source editor

Todd Berman tberman@off.net
Thu, 10 Feb 2005 16:02:31 -0800


I applied _1line.diff to SVN.

Thanks very much

--Todd

On Thu, 2005-02-10 at 11:55 +0100, Ben Motmans wrote:
> On Wed, 09 Feb 2005 18:53:12 -0800, Todd Berman
> <todd.berman@medsphere.com> wrote:
> > Couple questions. Where is StepIncrement promised to be the height of
> > one line?
> It doesn't, but there is no Increment for only a single line, so i
> used StepIncrement / 5 to make it look like a single line
> 
> I added 2 patches now
> ctrlupdown_1line.diff scrolls down/up a single line (using StepIncrement / 5)
> ctrlupdown.diff scrolls down/up the same amount like clicking the
> scrollbar arrows would
> 
> > Are both calls to .Change and then .ChangeValue required? Last
> > time i played with this sort of stuff, just the .Change was required.
> you're right, but only .ChangeValue is needed
> .Change is only required if you adjust the bounds
>  
> > Also, can you please attach a ChangeLog that describes your changes (to
> > the ChangeLog in Core/src/AddIns/DisplayBindings/SourceEditor/)
> done