https://bugs.kde.org/show_bug.cgi?id=478303

--- Comment #1 from Lassi Väätämöinen <lassi.vaatamoi...@gmail.com> ---
OK, so the use case that causes the issue is identified. There's a bit of
difference how stuff works:

1. When snippet selected from the pane: regardless of how much the cursor has
been indented on an empty line (in a C++ code file), selecting a snippet from
the pane causes the line to be aligned to same indentation as the above line.

2. When snippet is inserted by using the completion pop-up, the error occurs if
the cursor is indented to any other position than the line above:
E.g. the above line is indented 1 space. Following scenarios:
- Insert snippet using completion, 0 space indent on the current line - NOK
- Insert snippet using completion, 1 space indent on the current line - OK
- Insert snippet using completion, 2 spaces indent on the current line - NOK

NOTE: In the "NOK" cases, the inserted snippet is anyhow adjusted to the
previous line indent depth: 1 space. But in these cases the inserting causes
wrong character sequence at the start of the text. This is NOT the case when
selecting from the side pane with mouse

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to