473,395 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

undo tab

Tom
Hi,

as we all know we need tabs if we use for, if ... commands. Sometimes I
find an easier way to do something and I can get rid of one or more for,
if ... loops. Unfortunately I couldn't find a convenient way to get rid
of the now unnecessary tabs. I am looking for something as convenient as
inserting tabs (mark everything and push the tab key). I tried shift+tab
and all other possible variations with alt/shift/ctrl. :-)

Thanks for your help.
Tom

Jul 18 '05 #1
5 2639
Hi,
Maybe you can just give me a general hint how you do it and which editor
you use. That would probably also help.


I use Xemacs, and do it with "Ctrl-c <"
I don't know about Emacs on Windows, but the "GNU Emacs FAQ For Windows"
can probably help you with this:

http://www.gnu.org/software/emacs/windows/ntemacs.html

HTH,
Andreas
Jul 18 '05 #2

"Tom" <ll****@gmx.net> schrieb im Newsbeitrag news:3F**********@gmx.net...
Hi,

it doesn't work with any editor that I tried. The one I use on a regular
basis is the standard python IDLE. Sometimes I also use the editor of
pythonwin and Boa-Constructor.

Maybe you can just give me a general hint how you do it and which editor
you use. That would probably also help.

Thank you, Tom.


I use UltraEdit-32. There it works with Shift-Tab.

Ciao Ulrich
Jul 18 '05 #3
Tom <ll****@gmx.net> wrote in message news:<3F**********@gmx.net>...
Hi,

it doesn't work with any editor that I tried. The one I use on a regular
basis is the standard python IDLE. Sometimes I also use the editor of
pythonwin and Boa-Constructor.

Maybe you can just give me a general hint how you do it and which editor
you use. That would probably also help.

Thank you, Tom.


I had to change IDLE a bit for it to work. In Python path, go to
Tools/idle and edit AutoIndent.py. Find windows_keydefs or unix_keydefs
depending on your platform and change "<<dedent-region>>"-line to:

'<<dedent-region>>': ['<Shift-Key-Tab>'],
Jul 18 '05 #4

"Tom" <ll****@gmx.net> schrieb im Newsbeitrag news:3F**********@gmx.net...
Hi,

it doesn't work with any editor that I tried. The one I use on a regular
basis is the standard python IDLE. Sometimes I also use the editor of
pythonwin and Boa-Constructor.

Maybe you can just give me a general hint how you do it and which editor
you use. That would probably also help.

Thank you, Tom.


I use UltraEdit-32. There it works with Shift-Tab.

Ciao Ulrich
Jul 18 '05 #5
Tom <ll****@gmx.net> wrote in message news:<3F**********@gmx.net>...
Hi,

it doesn't work with any editor that I tried. The one I use on a regular
basis is the standard python IDLE. Sometimes I also use the editor of
pythonwin and Boa-Constructor.

Maybe you can just give me a general hint how you do it and which editor
you use. That would probably also help.

Thank you, Tom.


I had to change IDLE a bit for it to work. In Python path, go to
Tools/idle and edit AutoIndent.py. Find windows_keydefs or unix_keydefs
depending on your platform and change "<<dedent-region>>"-line to:

'<<dedent-region>>': ['<Shift-Key-Tab>'],
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lyn | last post by:
Hi, I have a text control on a form which is bound to table field StartDate which is in Date format. When updating the table record via the form, any data entered into the StartDate control is...
5
by: Lyn | last post by:
Hi, In the BeforeUpdate event of a textbox control I have the following simplified code:- Private Sub StartDate_BeforeUpdate(Cancel As Integer) MsgBox "StartDate Error -- Please Check and...
0
by: Wiktor Zychla | last post by:
I am still trying to get the Undo function work on Internet Explorer editor hosted as activex in my c# application. Some time ago I've found a note at msdn that says "undo is not supported". I...
3
by: babylon | last post by:
any facilities in csharp that can help me implmenting undo/redo in my application? thx
2
by: Christian H | last post by:
Hello, I've tried to find information about how to implement an Undo/Redo pattern. This article describes such a pattern: http://www.codeproject.com/csharp/PcObjectUndo.asp , but is a little bit...
3
by: GoogleEyeJoe | last post by:
Dear ladies and gents, I'm trying to determine whether the .NET Framework implements a means of transactional processing without the need for a database. Essentially, I'd like to enlist...
5
by: Steve | last post by:
I have created my own context menu. Everything works except undo'ing deleted text. My code for these two events are: Private Sub tsmiUndo_Click(ByVal sender As Object, ByVal e As...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, Does vb2005 have a built-in UnDo feature / object for applications so that I can undo actions like other windows apps? Or do I have to write my own UnDo routine? If vb2005 does have a...
0
by: wizard of oz | last post by:
Hi all, I'm extending an Abstract Styled Document associated with a JTextPanel to implement a syntax highlighting editor. This is all working just fine - except for undo / redo. The problem...
1
by: Jeremy | last post by:
I'm working on an application that does some DOM manipulation. I want to add a mechanism for "Undo" so that the user can revert to the previous state after performing a mistaken action. Simple...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.