[nfbcs] 2 questions: most accessible text editor/compiler and formatting C++ code
Aaron Cannon
cannona at fireantproductions.com
Fri Sep 6 21:59:19 UTC 2013
I second the recommendation of EdSharp.
I have to follow my companies code standards at work, which hasn't
really posed a major problem with EdSharp.
I would also look into an old Linux/Unix command that's been around
for a while "indent". This utility will autoformat C code. I've
never tried it, so YMMV, but it should be pretty good, as it seems to
have a good understanding of C syntax.
If I can be of further assistance, please don't hesitate to contact
me, either on or off list.
Good luck.
Aaron
On 9/6/13, Rasmussen, Lloyd <lras at loc.gov> wrote:
> You might want to look into Ed Sharp, an editor written by Jamal Mazrui,
> which has many functions. I think you can find it at
> www.empowermentzone.com/edsetup.exe
> . If I didn't give the correct address, go to
> www.nonvisualdevelopment.org
> and look around.
>
> Many blind programmers, especially if they are using braille displays, use
> two spaces as the standard indent amount. JAWS and Ed Sharp can announce
> indent levels, and there is also a musical sound scheme for use with JAWS
> for indicating indent level.
>
> I have recently been looking at some log files with the UltraEdit text
> editor. I set Window-Eyes so that, when pressing down-arrow, speech only
> reads from the cursor to the right. By setting the cursor to the correct
> column, I can hear event names, then look at the left side of the braille
> display to see at what time they occurred, if I am curious. There are many
> ways to increase efficiency, but I don't think two braille displays would be
> one of them.
>
> Lloyd Rasmussen, Senior Project Engineer
> National Library Service for the Blind and Physically Handicapped
> Library of Congress 202-707-0535
> http://www.loc.gov/nls
> The preceding opinions are my own and do not necessarily reflect those of
> the Library of Congress, NLS.
>
>
>
> -----Original Message-----
> From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Tara Annis
> Sent: Thursday, September 05, 2013 12:00 PM
> To: nfbcs at nfbnet.org
> Subject: [nfbcs] 2 questions: most accessible text editor/compiler and
> formatting C++ code
>
> Hi everyone,
>
> Have you all found a text editor and/or compiler that works well with JAWS.
> I'm currently using VIM that works okay, but I thought there might be
> something more Windows based like Microsoft Visual (think that's the
> name). I've been using notepad and then cut/pasting the code into the
> compiler.
> I don't like having to use the HJKL keys to move up/down in VIM since it
> seems to mess up JAWS. I'm currently writing C++ code, but will be moving
> on to C, JAVA, and PERL.
>
> A second question: when writing C++ code, how do you all format it,
> specifically the blocks of code nested in other blocks? For example, when
> you are writing a series of if else statements. How many spaces do you
> indent this portion of the code? Also, do you indent the opening and
> closing braces or just the code between them? I can explain in more depth
> if needed.
> Any help will be greatly appreciated.
> Tara
>
>
> _______________________________________________
> nfbcs mailing list
> nfbcs at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> nfbcs:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/lras%40loc.gov
>
> _______________________________________________
> nfbcs mailing list
> nfbcs at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> nfbcs:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/cannona%40fireantproductions.com
>
More information about the NFBCS
mailing list