[kate] [Bug 408820] indent re-aligns (incorrectly) indented "if blocks" in C code

2019-06-21 Thread k3bBug
https://bugs.kde.org/show_bug.cgi?id=408820

k3bBug  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |NOT A BUG

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

[kate] [Bug 408820] indent re-aligns (incorrectly) indented "if blocks" in C code

2019-06-20 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=408820

--- Comment #6 from Ahmad Samir  ---
If you agree this isn't a bug please close the report; thanks.

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

[kate] [Bug 408820] indent re-aligns (incorrectly) indented "if blocks" in C code

2019-06-19 Thread k3bBug
https://bugs.kde.org/show_bug.cgi?id=408820

--- Comment #5 from k3bBug  ---
Yes, it appears to work if i do that.

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

[kate] [Bug 408820] indent re-aligns (incorrectly) indented "if blocks" in C code

2019-06-18 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=408820

--- Comment #4 from Ahmad Samir  ---
If you correct the spacing/indenting of the code inside the if loop, does kate
work as you expect?

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

[kate] [Bug 408820] indent re-aligns (incorrectly) indented "if blocks" in C code

2019-06-17 Thread k3bBug
https://bugs.kde.org/show_bug.cgi?id=408820

--- Comment #3 from k3bBug  ---
Comment on attachment 120964
  --> https://bugs.kde.org/attachment.cgi?id=120964
editing options settings

The examples i posted might have had there spacing off. I checked in kates
settings and indentation is set to 4 spaces:
See attached screen shot

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

[kate] [Bug 408820] indent re-aligns (incorrectly) indented "if blocks" in C code

2019-06-17 Thread k3bBug
https://bugs.kde.org/show_bug.cgi?id=408820

--- Comment #2 from k3bBug  ---
Created attachment 120964
  --> https://bugs.kde.org/attachment.cgi?id=120964=edit
editing options settings

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

[kate] [Bug 408820] indent re-aligns (incorrectly) indented "if blocks" in C code

2019-06-17 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=408820

Ahmad Samir  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 CC||a.samir...@gmail.com
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Ahmad Samir  ---
The first block of code you posted, the indentation of the code inside the if
loop is using only 3 spaces, if you set the "indentation width" to 4 spaces,
then that's what's confusing ktexteditor here, IIUC.

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

[kate] [Bug 408820] indent re-aligns (incorrectly) indented "if blocks" in C code

2019-06-17 Thread k3bBug
https://bugs.kde.org/show_bug.cgi?id=408820

k3bBug  changed:

   What|Removed |Added

Summary|indent re-aligns|indent re-aligns
   |(incorrectly) indented if   |(incorrectly) indented "if
   |statements in C code|blocks" in C code

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