471,887 Members | 1,513 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,887 software developers and data experts.

Re: special editor support for indentation needed.

Hi Eric,

First of all, I like your initiative.
I'm not sure if I undestand you correctly, but can't you just
increase indentation after each line that ends with a colon?
That's how I do it in my editor. The user would then only need
to specify when to decrease indentation.

2008/11/14 Eric S. Johansson <es*@harvee.org>:
in trying to make programming in Python more accessible to disabled programmers
(specifically mobility impaired speech recognition users), and hitting a bit of
a wall. The wall (for today) is indentation. I need a method of getting the
"right indentation" without having to speak a bunch of unnecessary commands.
For example, depth specified by the previous line. But, frequently you need to
go to a more arbitrary indentation for example the right level of indentation
for a method definition or class definition. This indentation should be
something you could get by typing/speaking the right command with your eyes closed.

For example if I was to give the command "new method", I should be able to spit
out a template (contained within the speech recognition environment) and through
a command embedded in the template, force indentation to the right level for
"def" and then the editor would control indentation for the rest of the text

I prefer are working in Emacs because that's where I have a lot of my speech
grammars set up but I'm not averse to trying another editor. The only condition
is that the editor must run a Windows and have remote editing mode (like tramp)
so I can edit on remote machines.

Nov 14 '08 #1
0 1131

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Chris Cioffi | last post: by
6 posts views Thread by sushant.bhatia | last post: by
19 posts views Thread by saurabh.ss | last post: by
reply views Thread by Rick King | last post: by
18 posts views Thread by Nick Keighley | last post: by
1 post views Thread by Eric S. Johansson | last post: by
19 posts views Thread by Eric S. Johansson | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.