[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-04 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 Waqar Ahmed changed: What|Removed |Added Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram |ew

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-04 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #21 from Waqar Ahmed --- Git commit 67e566875597f0c1b1c0e0fafc482efcf4512b88 by Waqar Ahmed. Committed on 04/03/2023 at 08:55. Pushed by waqar into branch 'kf5'. Improve cstyle performance With this patch I can notice 7x-8x improvement in

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-03 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=465841 Christoph Cullmann changed: What|Removed |Added CC||cullm...@kde.org --- Comment #20 from Chri

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-03 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #19 from Waqar Ahmed --- Should now be fast without dynamic wrapping too > with the C style indenter - about 20 seconds (and also there are no > unexpected indentation This was a bug/perf issue in Cstyle indenter which I have fixed now. I

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-03 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #18 from Christoph Cullmann --- Git commit 294543a2977c4181bb0842c2a45f573f8335fd03 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 03/03/2023 at 19:42. Pushed by cullmann into branch 'master'. Improve cstyle performance With

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-03 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 Waqar Ahmed changed: What|Removed |Added Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram |ew

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-03 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #16 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/493 -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 Waqar Ahmed changed: What|Removed |Added Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram |ew

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #14 from Oded Arbel --- (In reply to Waqar Ahmed from comment #12) > Git commit 02a76278f9596e35cb99b42065a4a529b51a1992 by Waqar Ahmed. ... > Optimize rendering spaces with dyn wrapping I checked the latest master, and cursor movement beha

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #13 from Oded Arbel --- (In reply to Waqar Ahmed from comment #11) > Do you have a default indenter set maybe? Check Configure Kate -> Editing -> > Indentation > > What are your indenter settings? On a quick try I can't reproduce the > slow

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 Waqar Ahmed changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #11 from Waqar Ahmed --- > Not that I understand why it indents the lines to begin with Do you have a default indenter set maybe? Check Configure Kate -> Editing -> Indentation What are your indenter settings? On a quick try I can't reprod

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=465841 Bug Janitor Service changed: What|Removed |Added Status|REPORTED|ASSIGNED Ever confirmed|0

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #9 from Waqar Ahmed --- > is that the line after the last wrap of actual text contains almost all the > spaces remaining on the line, even though it exceeds the width of the window > it doesn't wrap and there is no horizontal scrollbar (t

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #8 from Oded Arbel --- (In reply to Waqar Ahmed from comment #7) > The problem is that the file you linked contains way too many trailing > spaces in each line (2000+ sometimes). So, if you want to keep the spaces > setting enabled, a good l

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-03-02 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #7 from Waqar Ahmed --- Yeah, tab are treated differently. The problem is that the file you linked contains way too many trailing spaces in each line (2000+ sometimes). So, if you want to keep the spaces setting enabled, a good local fix wo

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-02-27 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #6 from Oded Arbel --- A. Setting "show whitespace indicators" to "None" definitely solves the performance issue during cursor movement (pasting the problematic text is still way way too slow, but probably due to some other hotspot - I'll an

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-02-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #5 from Waqar Ahmed --- What happens if you disable the "Show Whitespace Indicators" option in Settings->Appearance? -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-02-27 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #4 from Oded Arbel --- Created attachment 156781 --> https://bugs.kde.org/attachment.cgi?id=156781&action=edit Screenshot showing hotspot results -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-02-27 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #3 from Oded Arbel --- (In reply to Waqar Ahmed from comment #1) > Can you run kate using the perf profiler? I ran hotspot with the repro and uploaded the perfdata file to here: https://code.geek.co.il/dumps/kate-paste-aws-log.perfparser.gz

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-02-16 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=465841 --- Comment #2 from Oded Arbel --- (In reply to Waqar Ahmed from comment #1) > Can't reproduce on a quick try. > > Can you run kate using the perf profiler? Perhaps use > https://github.com/KDAB/hotspot and attach to Kate and start recording > before

[kate] [Bug 465841] [Neon unstable] Cursor movement in kate is very slow in some files

2023-02-16 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465841 Waqar Ahmed changed: What|Removed |Added CC||waqar@gmail.com --- Comment #1 from Waqar Ahm