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

Kuba Ober kuba at mareimbrium.org
Fri Jun 14 17:39:02 UTC 2002


Oops, by mistake I posted it to kdevelop at kdevelop.org. Here it goes again:

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 haven't checked whether it 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-devel/attachments/20020614/ddace805/attachment.bin>


More information about the KDevelop-devel mailing list