Re: code indentation (python and c...)

  • From: james.homme@xxxxxxxxxxxx
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Thu, 3 Apr 2008 11:51:33 -0400

Hi,
You might want to try the PyBrace feature of Jamal's EdSharp if listening
to indentations bothers you. To use it, put an opening brace instead of a
colon at the beginning of statement blocks that begin with keywords such as
def, if, and class. Put a right brace where the end of the block goes.
Then, use the PyDent feature to indent the file. You can also use the
feature to stick the braces into a Python file. Jamal can jump in here to
refresh me on this next bit. You can change how many spaces the feature
indents. I think you use Alt+Shift+C to do that. The part I forget is
whether that setting changes when you switch to a different compiler. The
thing PyBrace gives you is a way to hear where code blocks start and end
with the JAWS indentation feature turned off, or if you want to use another
screen reader with EdSharp.

Thanks.

Jim

James D Homme, , Usability Engineering, Highmark Inc.,
james.homme@xxxxxxxxxxxx, 412-544-1810

"it is only possible to live happily ever after on a day-to-day basis." --
Margaret Bonnano

Highmark internal only: Consider Usability Engineering On Your Next Project
or release. http://highwire.highmark.com/sites/iwov/hwt093/

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: