Skip to content

Tab inserted at beginning of line rather than at the cursor. #400

@jaroslov

Description

@jaroslov

What happened?

I've got tabs-as-spaces set. When I've got code like this:

    int *foo;
       ^

With the cursor just in front of the *, and I press the tab-key, the spaces are inserted at the front of the line, rather than at the cursor. That doesn't seem right, to me? I like to line up my code on tab-stops (that what the tab means: move the cursor to the tab-stop).

What are the steps to reproduce?

See the description above.

What is the expected behavior?

Spaces should be inserted at the position of the cursor, sufficient to move to the next tab-stop.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions