LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-23-2004, 01:58 PM   #1
cuboidz
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
Arrow Kate Automatic Indentation Quirk


I love kate and I use it for all my Python coding but there is a quirk in the automatic indentation that can be quite annoying. I'll illustrate my problem by explaining the steps I take to write this little Python script:

Code:
def greet(name):
	print "Hello, %s" % name

greet("cuboidz")
First, I type def greet(name): and press <Enter>.

Kate recognizes the Python function and automatically indents the next line.

I proceed by typing print "Hello, %s" % name and pressing <Enter>.

As expected, Kate throws in an automatic indentation so you can continue the function.

But my function is done here so I press <Backspace> to unindent and press <Enter>.

To my surprise, Kate indents again and I have to press <Backspace> once more to begin typing greet("cuboidz").

So basically, it's annoying to insert blank lines...

Now, can I avoid this problem without losing the benefits of automatic indentation ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs' html indentation prell Linux - Software 1 05-26-2005 07:21 PM
auto indentation ilnli Programming 3 03-27-2005 07:14 PM
indentation character in vim rhoekstra Linux - General 0 02-17-2005 07:41 AM
improving indentation in Kate JustinHoMi Linux - Software 4 02-12-2005 01:27 AM
Kate Is Not Working, Kate editor is not starting in Redhat 9 apur Linux - General 4 05-11-2004 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration