Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.14k stars 299 forks source link

Vertical scrollbar handle too thin for large files - and how to fix #3902

Open stefman2 opened 3 years ago

stefman2 commented 3 years ago

The vertical scrollbar handle gets thinner and thinner as your file grows (Komodo IDE 12.0.1 Mac OS 10.11), to the extent that, with files containing several thousand lines of code, the handle is so thin that one can't drag it at all

One can fix this issue (and also, if necessary, the related issue that, in some "dark" color schemes, the handle is black against a charcoal background and therefore almost impossible to see in the first place) with some custom CSS as follows -- based on Defman21's fix for the color issue #1802:

Go to Tools->Color Scheme Editor and select "Interface" at the top of the left-hand column (instead of the default "Editor". In the right-hand box add the following CSS, or similar:

scrollbar thumb { background: #ff0000 !important; min-height:30px; }

When you press "Apply" make sure you check the "Interface" box as well or it won't be implemented.

Stefan

th3coop commented 3 years ago

Thanks for report @stefman2.

stefman2 commented 3 years ago

I should comment that the CSS suggested above also effects the vertical height and color of the horizontal scrollbar handle, so the 30px in the example I gave is a little too large, and the bright red color is distracting. The following version of the CSS makes the entire view a lot more comfortable

scrollbar thumb { background: #0088bb !important; min-height:20px; }