E Text Editor | The Power of Textmate on Windows

 
Author Message

Index  >  New Feature Ideas / Requests  ~  middle mouse scroll

adrianliem
Posted: Mon Jul 30, 2007 7:23 am Reply with quote
Registered User Joined: 05 Jul 2007 Posts: 47 Location: Surabaya
i suppose this should be a minor feature request, because we can use the keyboard navigation anytime (though i prefer to navigate the file editor using the mouse), but oh well:

1. when the middle mouse button scrolled, it scroll the vertical scrollbar in the opposite way -- compared to other windows application. i think it should scroll the vertical scrollbar scroll to the same way as other windows application

2. it also only scroll one line per mouse scroll. it will be nice if it can be changed into maybe one page or half page per scroll because it will be useful for the long files.

3. when i was at the top screen/part of the file, i scroll the mouse downward, and it moves directly to the bottom part of the file. most application will stop at the top of file when this condition happens, and i think it should be the best way if E also stick to it.

ok, thanks in advance, and i hope it helps Smile
View user's profile Send private message
charlesroper
Posted: Mon Jul 30, 2007 10:59 am Reply with quote
Registered User Joined: 06 Mar 2007 Posts: 1211 Location: UK
adrianliem wrote:
1. when the middle mouse button scrolled, it scroll the vertical scrollbar in the opposite way -- compared to other windows application. i think it should scroll the vertical scrollbar scroll to the same way as other windows application


For me it scrolls just like every other Windows app: scroll forward = up; scroll backwards = down.

adrianliem wrote:
2. it also only scroll one line per mouse scroll. it will be nice if it can be changed into maybe one page or half page per scroll because it will be useful for the long files.


For each scroll tick it is moving 5 lines for me. Have you got a strange mouse or drivers or anything like that? I'm on an MS IntelliMouse Optical with Intellipoint drivers.
View user's profile Send private message Visit poster's website
pieterjongsma
Posted: Mon Jul 30, 2007 3:43 pm Reply with quote
Registered User Joined: 14 Jul 2007 Posts: 12
Mine is working fine as well (Logitech MX518), only 3 lines a tick though.
View user's profile Send private message
charlesroper
Posted: Mon Jul 30, 2007 4:34 pm Reply with quote
Registered User Joined: 06 Mar 2007 Posts: 1211 Location: UK
Actually, mine's moving 4, not five. Smile
View user's profile Send private message Visit poster's website
SilverTab
Posted: Mon Jul 30, 2007 6:31 pm Reply with quote
Registered User Joined: 28 Mar 2007 Posts: 38
For me, wheel scrolling barely works (under Vista)...I have to scroll like at least 5 complete rotation of the mousewheel before it scrolls a line or two..and then just stops scrolling....

It was working fine under XP, same mouse/drivers etc...
View user's profile Send private message
charlesroper
Posted: Tue Jul 31, 2007 8:23 am Reply with quote
Registered User Joined: 06 Mar 2007 Posts: 1211 Location: UK
I'm on both Vista and XP and the scrolling behaviour is exactly the same on both computers. My Vista mouse is an IntelliMouse Explorer 3.

Have you tried a different mouse and/or updated drivers?
View user's profile Send private message Visit poster's website
mineral
Posted: Tue Jul 31, 2007 1:37 pm Reply with quote
Registered User Joined: 13 Jul 2007 Posts: 21
this is an old utility, but i'm still using it to this day:
http://www.geocities.com/SiliconValley/2060/freewheel.html

freewheel
Quote:
FreeWheel provides mouse wheel support for applications that do not directly support the IntelliPoint mouse wheel. It runs on Windows 9x or Windows NT as a tray icon, which you can hide if you dislike clutter in your tray.

works fine in xp, no idea about vista
View user's profile Send private message
borland
Posted: Tue Jul 31, 2007 10:45 pm Reply with quote
Registered User Joined: 20 Nov 2006 Posts: 410
My mouse (standard microsoft mouse with no tricky software) works fine in E on vista. Likewise I've seen lots of other standard scroll mice work fine in XP as well... so the question is, what the heck kind of crazy custom mouse software are you running on your computer?
View user's profile Send private message
adrianliem
Posted: Wed Aug 01, 2007 1:53 pm Reply with quote
Registered User Joined: 05 Jul 2007 Posts: 47 Location: Surabaya
i am using windows xp and my mouse setting (control panel>mouse>wheel tab) was "one screen at a time". i use a standard mouse with no other mouse software, and it never has any trouble.

i tried to change it to change the control panel setting to "50 lines at a time" (i like to scroll one screen per mouse scroll) and it works correctly -- E scrolls 50 lines at a time, and it stop scrolling at the top of the page. it still doesn't work for the one-screen-at-a-time setting though. so maybe i will use this new mouse setting for now Confused

ok, thanks guys Smile
View user's profile Send private message
mteeters
Posted: Fri Aug 03, 2007 2:28 pm Reply with quote
Registered User Joined: 02 Aug 2007 Posts: 1
I've noticed this bug in other programs also. I know the older Microsoft common text box exihibts this behavior, probably others as well.

The "one screen at a time" setting is -1 in the registry, as opposed to the "number of lines" setting which is the actual number. I guess the scroll code doesn't handle the -1 edge case.
View user's profile Send private message
Jay Levitt
Posted: Tue Sep 04, 2007 1:18 am Reply with quote
Registered User Joined: 03 Sep 2007 Posts: 8 Location: Boston, MA
This is actually a common bug in Windows applications, but luckily easy to fix. You can't always assume that SPI_GETWHEELSCROLLLINES will return an integer that you can just add to the "current line"; if the mouse is set to page-at-a-time scrolling, it returns WHEEL_PAGESCROLL, which happens to be -1. Which scrolls in the wrong direction by one line! The fix is, of course, to special-case WHEEL_PAGESCROLL, and emulate a PgUp/PgDown instead.

I'll log it as a bug once the bug reporter login works, or someone else can...
View user's profile Send private message Visit poster's website
powella
Posted: Mon Nov 02, 2009 9:07 pm Reply with quote
Registered User Joined: 02 Nov 2009 Posts: 5
Any followup on this? Or to Jay's suggestions?
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
Post new topic

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum