You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, May 24th 2006, 4:33pm

About Indentation In Kate

Hi everybody!!

I would like to ask you a question regarding indentation configuration in kate

First I have indentation-mode set to normal and static word wrap enabled.

If a line starts with n blank spaces and I do a carriage return in the middle
of the line, the cursor in the next line is located at position n. In other
words, the first non blank character in the next line starts in the same
position as the one in the previous line (so that both lines are aligned).
Example:

<><><>Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 [carriage return]
<><><>Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2

(<> stands for a blankl space)

However, if I do not do the carriage return and let the line to be wrapped,
the cursor in the next line starts at position one, while I would prefer the
new line to inherit the initial blank spaces of the previous line. Example:

<><><>Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 [line wrapped]
Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2


Who can I configurate indentation to do what I want?

Thanks in advance.

Rafael Gallego

This post has been edited 1 times, last edit by "maeshtro" (May 25th 2006, 11:57am)


2

Thursday, June 15th 2006, 1:43pm

This is not possible to my knowledge. It only works in dynamic word wrap mode.
KDE Developer
Kate Project

This post has been edited 1 times, last edit by "dh" (Jun 15th 2006, 1:44pm)


mattr

Trainee

Posts: 105

Location: US

Occupation: Software Engineer

  • Send private message

3

Thursday, July 13th 2006, 10:52pm

RE: About Indentation In Kate

You can't configure indentation to do this. The second line that is created when the word wrap kicks in is not a new line at all, but just a continuation of the previous line. If you were to turn off the word wrap feature, the text that previously wrapped would just continue on the same line, and a horizontal scroll bar would appear
--Matt