1. [Ann:] MEditor 2.0.3 release

MEditor version 2.0.3 is now available

Really a maintenance release, the new features are:
Quick Jump filter allows eg list routines with "print" in the name.
Quick jump also works on ex.err files.
Parse for Globals is now much more stable.
Enhanced run dialogue via Control F5: add parameters, select previous
command, etc.
=465 now invokes browser when editing html files.
Plus the usual obscure little bug fixes, a few more help files and a
bit of support for Finnish users.

http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html

Regards,
Pete

PS Can someone with a mouse wheel check whether it now works?

new topic     » topic index » view message » categorize

2. Re: [Ann:] MEditor 2.0.3 release

Pete,

> PS Can someone with a mouse wheel check whether it now works?

It works, but can I make a suggestion?

Scrolling my mouse scrolls three lines (probably the default standard
scrolling). Instead of having it smoothly scroll all three lines, can you
make it jump to that final position? Either that, or make the scroll move
many times faster than it does now. I wouldn't want to scroll through a long
document the way it works now.

new topic     » goto parent     » topic index » view message » categorize

3. Re: [Ann:] MEditor 2.0.3 release

On Thu, 29 May 2003 10:00:04 -0500, "C. K. Lester"
<cklester at yahoo.com> wrote:

>
>
>Pete,
>
>> PS Can someone with a mouse wheel check whether it now works?
>
>It works,
Thanks
> but can I make a suggestion?
Sure
>
>Scrolling my mouse scrolls three lines (probably the default standard
>scrolling). Instead of having it smoothly scroll all three lines, can =
you
>make it jump to that final position? Either that, or make the scroll =
move
>many times faster than it does now. I wouldn't want to scroll through a =
long
>document the way it works now.

In editor.exw, routine eventhandler (near the end), can you replace
the two "while delta" loops with:
--		while delta>0 do
		if delta>0 and getTopLine()> 1 then
			if delta>=3DgetTopLine() then delta=3DgetTopLine()-1 end if
			for i =3D 1 to delta do moveCursorUp() end for
			if Controled then
				void=3DscrollScreen(getTopLine()-delta,getLeftColumn())

setDisplayRange(getTopLine(),getTopLine()+getScreenRows())
			end if
		end if
--		.. end while
--		while delta<0 do
		if delta<0 and getTopLine()<getNumberOfLinesInFile() then
			if getTopLine()-delta>getNumberOfLinesInFile() then
				delta=3DgetTopLine()-getNumberOfLinesInFile()
			end if
			for i=3Ddelta to -1 do moveCursorDown() end for
			if Controled then
				void=3DscrollScreen(getTopLine()-delta,getLeftColumn())

setDisplayRange(getTopLine(),getTopLine()+getScreenRows())
			end if
		end if
--		.. end while

The calculation of delta might be wrong if it is always returning 3,
but thats what the M$ docs said to do.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

4. Re: [Ann:] MEditor 2.0.3 release

> In editor.exw, routine eventhandler (near the end), can you replace
> the two "while delta" loops with:

The code you provided didn't work, and I think because of the following:

  if delta>0 and getTopLine()> 1 then
   if delta>=getTopLine() then delta=getTopLine()-1 end if
   for i = 1 to delta do moveCursorUp() end for
   if Controled then
    void=scrollScreen(getTopLine()-delta,getLeftColumn())
    setDisplayRange(getTopLine(),getTopLine()+getScreenRows())
   end if
  else
   -- need something here if getTopLine() is 1, which it probably is at the
start, right?
  end if

Or this might be better:

  if delta>0 then
   if getTopLine()> 1 then
    if delta>=getTopLine() then delta=getTopLine()-1 end if
    for i = 1 to delta do moveCursorUp() end for
    if Controled then
     void=scrollScreen(getTopLine()-delta,getLeftColumn())
     setDisplayRange(getTopLine(),getTopLine()+getScreenRows())
    end if
   else
    -- need something here if getTopLine() is 1
   end if
  end if

Let me know! :)

new topic     » goto parent     » topic index » view message » categorize

5. Re: [Ann:] MEditor 2.0.3 release

This is a multi-part message in MIME format.

------=_NextPart_000_0206_01C325D8.CDB60E50
	charset="iso-8859-1"

> The calculation of delta might be wrong if it is always returning 3,
> but thats what the M$ docs said to do.

There is actually a mouse setting for this... the default is 3 lines, but it
could be more or less, depending on user preference.

I'll look into the change you provided and report on that...

------=_NextPart_000_0206_01C325D8.CDB60E50
Content-Type: image/jpeg;
	name="scroll_lines.jpg"

new topic     » goto parent     » topic index » view message » categorize

6. Re: [Ann:] MEditor 2.0.3 release

If you want to get the system default for mouse scroll-lines, use 
SystemParametersInfo with SPI_GETWHEELSCROLLLINES:

SPI_GETWHEELSCROLLLINES is equal to #0068. (Not supported on Win95, though)

BOOL SystemParametersInfo(
  UINT uiAction,  // system parameter to retrieve or set
  UINT uiParam,   // depends on action to be taken
  PVOID pvParam,  // depends on action to be taken
  UINT fWinIni    // user profile update option
);

uiAction should be SPI_GETWHEELSCROLLLINES; uiParam should be zero; pvParam 
points to a UINT; and fWinIni is un-needed and should probably be zero as 
well.

>From: "C. K. Lester" <cklester at yahoo.com>
>Reply-To: EUforum at topica.com
>To: EUforum <EUforum at topica.com>
>Subject: Re: [Ann:] MEditor 2.0.3 release
>Date: Thu, 29 May 2003 10:00:04 -0500
>
>
>Pete,
>
> > PS Can someone with a mouse wheel check whether it now works?
>
>It works, but can I make a suggestion?
>
>Scrolling my mouse scrolls three lines (probably the default standard
>scrolling). Instead of having it smoothly scroll all three lines, can you
>make it jump to that final position? Either that, or make the scroll move
>many times faster than it does now. I wouldn't want to scroll through a 
>long
>document the way it works now.
>
>
>
>TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu