Neat r2 Feature

| | Comments (12)

So here's another thing that I truly love about r2 -- better accessibility! In previous versions of REALbasic, we ignored things like the user's settings for window and pasteboard colors, text color, etc (which are settable on Windows). But in this version, we now honor that. What's more, we allow you to set these colors if you'd like. And here's why:

Code editor background color:
Studies have shown that contrast is the most important factor in readability. That's why you typically see white backgrounds with black text. However, some studies have also shown that a dark background with light text (also a high contrast situation) reduces eye strain. A lot of times, it comes down to personal preference as to which you prefer. But this is one case where people really should have the ability to modify the colors (and we never used to let you modify the background color) -- eye strain is a very dangerous thing for people who sit in front of a computer screen all day long.

Here's a screenshot of the way I have my IDE setup now:
My IDE screenshot

Pasteboard:
The pasteboard suffers from the same color contrast problems as the code editor. Only it's worse than a code editor due to the fact that the color of the window isn't that much different from the color of the pasteboard. The resulting problem is that some people have a hard time distinguishing the edges of the window due to the lack of contrast. So by letting them pick the pasteboard color, they can easily tell the difference between the window and the pasteboard itself.

In addition to allowing the user to specify these colors, we finally honor the system settings as well. So the colors match whatever you have your system colors set to by default.

It's the little things like these which make a product feel better (at least, that's what I think). When an application is accessible, these changes affect you in subtle ways that you don't really notice. But when an application is not accessible, you notice it very quickly. For instance, imagine that every other editor you use honors the system's background color for the editor window and you have your system set to show olive. Then you open RB and you're presented with white. Pretty easy to tell! But if you open up RB and it just looks like every other app, you don't really notice that (since it's just expected). It's important to keep this in mind when designing your own applications. You may not think much of it, but when a user encounters something very obvious to them, they will not be happy.

12 Comments

Studies show that non-anti-aliased text makes my eyes bleed regardless of the contrast level. :)

Sounds like a good feature request to me (though I have to disagree, especially judging by the huge number of bug reports about anti-aliased text in the r1 release). At the very least, it should follow what the system settings are (ClearType on or off, on Windows).

On Windows, it looks great! On Mac, anyway to change the carat color? It is black, so on a black background, there is no way to see where you're typing until you type...

I like a nice white backround, and a solid white font color, it makes my coding more exciting and it makes me really think about the code I am writing.

It is a bit hard to debug though.

Gruh. That "multiple bright colors-on-black" scheme just reminds me of all the tacky MUDs I used to play. And, frankly, it strains my eyes a lot more than dark-on-white... but I guess to each his own.

@Bill -- this explains your code a lot better. ;-)

@Jason -- sounds like a great feature request/bug fix.

@James -- absolutely right; everyone has their own preference and style.

What in the heck is the "pasteboard"? Sorry, I've never heard that term in the Mac world, except to refer to the system clipboard.

The pasteboard is the thing "behind" the window in the window editor. It's that gray background area.

"Pasteboard" is a publishing term; it's the surface you do "paste-up" on, and "paste-up" is of course the process of arranging blocks of text, pictures, etc. into a page layout.

Hah, I thought I blogged about this one already. :-P

http://ramblings.aaronballman.com/?p=343

I played with the colors, and yes, it would be nice if RB XOR'd the carat. In Terminal, I use yellow text on black and I tried the same in RB... couldn't see my carat. :( Oh well, there were too many decisions to make for syntax coloring anyway. ;) I did change my pasteboard to black, though.

Thanks for fixing/adding this bug/feature.

I think the semi-visible "i-bar cursor & caret on dark background" issue on the Mac also applies when using some other tools, so RB is not alone here.

Leave a comment

Disclaimer

I'm currently an employee of REAL Software. My blog is mine. The opinions represented in this blog are mine as well and may not represent my employer's opinions. All original material is copyrighted and property of the author.

REALbasic® is a registered trademark of REAL Software, Inc. REAL SQL Server™ and Lingua™ are pending trademarks of REAL Software, Inc. All rights reserved.