make tab work for past-end-of-line indentation [PATCH]

Kuba Ober kuba at mareimbrium.org
Fri Jun 14 13:46:38 UTC 2002


Hi!

Here's a small indentation patch that makes tab work past end of lines. Here's 
how tab works, then:

1. if in empty line, or if the cursor is at or before end of the line, it 
indents

2. otherwise, it just puts tabs/spaces at end of the line

This allows hand-indenting comments and makes indenting tab less intrusive.

I may be able to finish up factorization changes, which will make tab/newline 
indentation behave even better, but I can't tell whether they will be ready 
on time (tag-deadline, etc). I'll submit them anyway.

I don't know if this patch applies to CVS, but it's small enough so that it 
can be applied by hand I hope.

Cheers, Kuba Ober
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noindent-past-eol.patch
Type: text/x-diff
Size: 1122 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20020614/61647b7c/attachment.bin>


More information about the KDevelop mailing list