Feed Advanced Search

Apr 25 2020

cullmann accepted D28870: Updated test file for Logtalk syntax highlighting.
Apr 25 2020, 1:39 PM · Frameworks, Kate
cullmann closed D28796: Update Logtalk language syntax support.
Apr 25 2020, 1:25 PM · Frameworks, Kate
cullmann accepted D28796: Update Logtalk language syntax support.

Ok, I see, there is an extra request for the new hl test file.
Then let's approve this one.

Apr 25 2020, 11:59 AM · Frameworks, Kate

Apr 22 2020

ngraham moved T12744: Consider increasing the default fixed width font size by 1 (9 -> 10) from Backlog to Done on the Kate board.
Apr 22 2020, 6:41 PM · Konsole, Kate, VDG
ngraham closed T12744: Consider increasing the default fixed width font size by 1 (9 -> 10) as Resolved.

Done!

Apr 22 2020, 6:41 PM · Konsole, Kate, VDG

Apr 20 2020

xuetianweng updated the diff for D25339: update lineHeight if boundingRect indicates a larger value..

Fix the blank text issue by alway setLineWidth.

Apr 20 2020, 1:28 AM · Frameworks, Kate
xuetianweng updated the diff for D25339: update lineHeight if boundingRect indicates a larger value..

Clean up the code a little bit and adding comments. Also fix a small bug if m_fontHeight has
big difference with m_fontMetrics's height.

Apr 20 2020, 12:45 AM · Frameworks, Kate

Apr 19 2020

xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Hmm, after applying this patch, for me, no text is visible at all.
By selecting a bit stuff, one at least sees an outline (CMakeLists.txt of ktexteditor toplevel dir).

Apr 19 2020, 6:37 PM · Frameworks, Kate
xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Hmm, after applying this patch, for me, no text is visible at all.
By selecting a bit stuff, one at least sees an outline (CMakeLists.txt of ktexteditor toplevel dir).

Apr 19 2020, 5:44 PM · Frameworks, Kate
cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Hmm, after applying this patch, for me, no text is visible at all.
By selecting a bit stuff, one at least sees an outline (CMakeLists.txt of ktexteditor toplevel dir).

Apr 19 2020, 12:55 PM · Frameworks, Kate

Apr 18 2020

cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

I appreciate work on this issue.
I am not sure about how well this "hack" will solve the issue, thought.
I will give it a try here in any case.

Apr 18 2020, 8:39 PM · Frameworks, Kate
anthonyfieroni added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

+1, looks great.

Apr 18 2020, 9:49 AM · Frameworks, Kate
xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Add a screenshot to demostrate the change.

Apr 18 2020, 5:23 AM · Frameworks, Kate
xuetianweng updated the diff for D25339: update lineHeight if boundingRect indicates a larger value..

Fix the handling when layout formats has background.

Apr 18 2020, 5:22 AM · Frameworks, Kate
xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Actually, I could live with:

  1. All lines are a bit higher, for me that makes reading even easier. But the rendering shall have no glitches.
  2. Some lines have different heights. But I assume this is hard to implement at the moment.
Apr 18 2020, 12:35 AM · Frameworks, Kate
xuetianweng updated the diff for D25339: update lineHeight if boundingRect indicates a larger value..

handle the range with multiple lines.

Apr 18 2020, 12:34 AM · Frameworks, Kate

Apr 17 2020

xuetianweng updated the diff for D25339: update lineHeight if boundingRect indicates a larger value..

Try to fill the gap if we increase the line height with representitive char.

Apr 17 2020, 10:57 PM · Frameworks, Kate

Apr 15 2020

pmoura updated the summary of D28870: Updated test file for Logtalk syntax highlighting.
Apr 15 2020, 11:05 PM · Frameworks, Kate
pmoura added a comment to D28796: Update Logtalk language syntax support.

See https://phabricator.kde.org/D28870

Apr 15 2020, 11:05 PM · Frameworks, Kate
pmoura requested review of D28870: Updated test file for Logtalk syntax highlighting.
Apr 15 2020, 11:05 PM · Frameworks, Kate
pmoura added a comment to D28796: Update Logtalk language syntax support.

There is a more recent version of that file. How to proceed? By creating a new review request for that file with a diff? Or is there a way to associate it with this review request?

Apr 15 2020, 6:29 PM · Frameworks, Kate
cullmann closed D28814: TypeScript: add the "awaited" type operator.
Apr 15 2020, 6:17 PM · Frameworks, Kate
cullmann accepted D28814: TypeScript: add the "awaited" type operator.

Thanks ;=) Even with test.

Apr 15 2020, 6:16 PM · Frameworks, Kate
cullmann requested changes to D28796: Update Logtalk language syntax support.

Change looks reasonable, but could that testfile be added to our autotests directory? (or the file we have there extended)
The current auto test file is autotests/input/highlight.lgt I assume.

Apr 15 2020, 6:16 PM · Frameworks, Kate

Apr 14 2020

ngraham added a revision to T12744: Consider increasing the default fixed width font size by 1 (9 -> 10): D28842: Raise size of default fixed-width font from 9 to 10pt.
Apr 14 2020, 9:00 PM · Konsole, Kate, VDG
ngraham added a revision to T12744: Consider increasing the default fixed width font size by 1 (9 -> 10): D28841: Raise size of default fixed-width font from 9 to 10pt.
Apr 14 2020, 9:00 PM · Konsole, Kate, VDG
nibags requested review of D28814: TypeScript: add the "awaited" type operator.
Apr 14 2020, 6:07 AM · Frameworks, Kate

Apr 13 2020

pmoura requested review of D28796: Update Logtalk language syntax support.
Apr 13 2020, 2:59 PM · Frameworks, Kate

Apr 10 2020

kossebau closed D27844: Store and fetch complete view config in and from session config.
Apr 10 2020, 5:58 PM · Frameworks, Kate
cullmann added a comment to D27844: Store and fetch complete view config in and from session config.

Yes, please push, thanks!

Apr 10 2020, 11:09 AM · Frameworks, Kate

Apr 9 2020

kossebau added a comment to D27844: Store and fetch complete view config in and from session config.

When it comes to Zoom, I would only expect it adapts to Global zoom settings again only once if I have reset my manual zooming to Default again.

Apr 9 2020, 6:15 PM · Frameworks, Kate

Apr 4 2020

mickaelbo abandoned D28287: Undo cursor move.

This feature is already implemented in kwrite. The default undo/redo shortcuts in Kate are Ctrl+E / Ctrl+Shift+E.

Apr 4 2020, 7:29 PM · Kate

Apr 3 2020

brauch added a comment to D28287: Undo cursor move.

Patches naturally get more attention than feature requests in bug reports, because even if in the feature request everyone agrees it's a nice idea you still have to find somebody to actually do it -- which is often not the case ;) and then it's just wasted time to discuss it in the first place.

Apr 3 2020, 11:31 PM · Kate
mickaelbo added a comment to D28287: Undo cursor move.
  • "There is already a way to do this on KTextEditor". The existing code seems to update the position stack only after editing a document but I will give it a try, thanks . It is a feature I needed for a long time and according to the Bug 409940, I'm not the only one, I just never took the time to dig into it. The "delete" and "page end" keys are too close on my keyboard...
Apr 3 2020, 9:07 PM · Kate

Mar 26 2020

cullmann closed D28303: LaTeX: fix math parentheses in optional labels.
Mar 26 2020, 3:48 PM · Frameworks, Kate
cullmann accepted D28303: LaTeX: fix math parentheses in optional labels.

Thanks for the fix + regression test!

Mar 26 2020, 3:48 PM · Frameworks, Kate
cullmann closed D27660: Add Inno Setup syntax, including embedded Pascal scripting.
Mar 26 2020, 2:50 PM · Frameworks, Kate
cullmann accepted D27660: Add Inno Setup syntax, including embedded Pascal scripting.

Cool +1 ;=)
Thanks for the contribution.
We use that at company, nice to have.

Mar 26 2020, 2:48 PM · Frameworks, Kate
nibags added reviewers for D27660: Add Inno Setup syntax, including embedded Pascal scripting: Framework: Syntax Highlighting, cullmann, dhaumann.
Mar 26 2020, 11:52 AM · Frameworks, Kate
nibags requested review of D28303: LaTeX: fix math parentheses in optional labels.
Mar 26 2020, 11:09 AM · Frameworks, Kate

Mar 25 2020

brauch added a comment to D28287: Undo cursor move.

The 10 line limit also seems kind of arbitrary to me. KDevelop has a similar navigation feature and navigates by "contexts". A similar concept exists in KTextEditor in terms of the folding ranges; maybe that could be used to classify "meaningful" cursor moves to navigate between?

Mar 25 2020, 11:18 PM · Kate
dhaumann added a comment to D28287: Undo cursor move.

I am currently not convinced for several reasons:

  1. There is already a way to do this on KTextEditor level, see: https://github.com/KDE/ktexteditor/blob/master/src/document/katedocument.h#L406
  2. I believe this should be a plugin, since the current implementation makes the current code more complex, and it's a feature we have not needed for > 15 years.
Mar 25 2020, 10:25 PM · Kate
mickaelbo added a comment to D28287: Undo cursor move.

Thanks for the feedback, I managed to reproduce this using "go to definition" and will investigate.
I only tried to manage long jumps (page end, mouse click, etc.): pressing 77 times the up arrow was not meant to add any item to the undo stack but reading the code, I realized that it actually adds 7 items of 11 lines jumps. This is probably not what we want.
It is possible to discard small jumps by comparing the new position to the last *view* position instead of the last *undo stack* position. Any suggestion ?

Mar 25 2020, 7:58 PM · Kate
ngraham added a reviewer for D28287: Undo cursor move: VDG.

Interesting idea. I don't know if I've ever used another editor with this feature, but I thought I ought to give it a try before judging. However I'm not able to get it working consistently. Sometimes moving the cursor more than 10 lines adds an item to the undo stack, sometimes it doesn't.

Mar 25 2020, 7:28 PM · Kate
mickaelbo requested review of D28287: Undo cursor move.
Mar 25 2020, 4:07 PM · Kate

Mar 24 2020

apol requested review of D28235: Add a simpler example.
Mar 24 2020, 2:03 PM · Frameworks, Kate

Mar 16 2020

ahmadsamir abandoned D23457: Port the search interface from QRegExp to QRegularExpression.
Mar 16 2020, 2:07 PM · Frameworks, Kate

Mar 14 2020

cullmann closed D28045: Lua: add # as additional deliminator to activate auto-completion with `#something`.
Mar 14 2020, 5:11 PM · Frameworks, Kate
cullmann accepted D28045: Lua: add # as additional deliminator to activate auto-completion with `#something`.

Ok ;=)

Mar 14 2020, 5:11 PM · Frameworks, Kate
jpoelen requested review of D28045: Lua: add # as additional deliminator to activate auto-completion with `#something`.
Mar 14 2020, 4:55 PM · Frameworks, Kate
cullmann closed D28044: C: remove ' as digit separator.
Mar 14 2020, 4:22 PM · Frameworks, Kate
cullmann accepted D28044: C: remove ' as digit separator.

True, guess I copied too large parts during my fix-up of this.

Mar 14 2020, 4:21 PM · Frameworks, Kate
jpoelen requested review of D28044: C: remove ' as digit separator.
Mar 14 2020, 4:16 PM · Frameworks, Kate
cullmann closed D28039: optimize dynamic regex matching.
Mar 14 2020, 2:27 PM · Frameworks, Kate
cullmann added a comment to D28039: optimize dynamic regex matching.

First let's have this, the current state is bad ;=)

Mar 14 2020, 2:27 PM · Frameworks, Kate
dhaumann added a comment to D28039: optimize dynamic regex matching.

Thanks yes, maybe you can add a comment to the skipOffset, Christoph :)

Mar 14 2020, 9:38 AM · Frameworks, Kate
mwolff added a comment to D28039: optimize dynamic regex matching.

Let me try to explain the skip offset idea (it's been years since I came up with this in GeSHi :) )

Mar 14 2020, 7:47 AM · Frameworks, Kate

Mar 13 2020

dhaumann accepted D28039: optimize dynamic regex matching.

I guess this is OK, but the concept of a "skip offset" is a bit fuzzy to me.

Mar 13 2020, 9:48 PM · Frameworks, Kate
cullmann added a comment to D28039: optimize dynamic regex matching.

For the example from the bug this makes the difference between ~30 seconds on a 4 Ghz machine to << 1 second ;=)

Mar 13 2020, 7:04 PM · Frameworks, Kate
cullmann requested review of D28039: optimize dynamic regex matching.
Mar 13 2020, 7:02 PM · Frameworks, Kate
cullmann added a comment to D28015: extend indexer to detect dynamic=true regexes that have no place holders to adapt.

Better, but VHDL hl is still very slow, need to take a deeper look into it :/

Mar 13 2020, 6:38 PM · Frameworks, Kate
cullmann closed D28015: extend indexer to detect dynamic=true regexes that have no place holders to adapt.
Mar 13 2020, 6:37 PM · Frameworks, Kate
cullmann added a comment to D28015: extend indexer to detect dynamic=true regexes that have no place holders to adapt.

Yes, I will fix the issues and then commit this as one thingy.
Thanks for taking a look :=)
My colleague was very unhappy with the VHDL performance :P
The highlighting shouldn't take as long as a hardware simulator.

Mar 13 2020, 4:50 PM · Frameworks, Kate
dhaumann accepted D28015: extend indexer to detect dynamic=true regexes that have no place holders to adapt.

I guess in a followup commit the reported issues will be fixed? :-)

Mar 13 2020, 4:46 PM · Frameworks, Kate

Mar 12 2020

cullmann updated the diff for D28015: extend indexer to detect dynamic=true regexes that have no place holders to adapt.

remove useless output of stray azOffset var

Mar 12 2020, 11:00 PM · Frameworks, Kate
cullmann added reviewers for D28015: extend indexer to detect dynamic=true regexes that have no place holders to adapt: nibags, dhaumann, vkrause.
Mar 12 2020, 11:00 PM · Frameworks, Kate
cullmann requested review of D28015: extend indexer to detect dynamic=true regexes that have no place holders to adapt.
Mar 12 2020, 10:59 PM · Frameworks, Kate
cullmann added a comment to D27844: Store and fetch complete view config in and from session config.

Zoom is like all view stuff local, yes, I assume that is often not wanted.
But that is a orthogonal issue.
The same could be said for "dynamic word wrap", very seldom you want to set that for one view.
On the other side, for the global config, one has the settings dialog, same for "zoom", aka font size.

Mar 12 2020, 10:40 PM · Frameworks, Kate
cullmann closed D27929: CMake syntax fixes.
Mar 12 2020, 10:38 PM · Frameworks, Kate
cullmann added a comment to D27928: [VIM Mode] Add g<up> g<down> commands.

And btw., thanks a lot for taking care!
The vimode for sure has more need for love, if you have time ;=)

Mar 12 2020, 10:22 PM · Frameworks, Kate
cullmann closed D27928: [VIM Mode] Add g<up> g<down> commands.
Mar 12 2020, 10:22 PM · Frameworks, Kate
cullmann accepted D27928: [VIM Mode] Add g<up> g<down> commands.
Mar 12 2020, 10:20 PM · Frameworks, Kate
cullmann added a comment to D27928: [VIM Mode] Add g<up> g<down> commands.

I think, one issue is, that <down> and <up> don't work that way in the test framework.
I reformulated the test with \down and \up and moved the asserts to verifies.
This works for me, will push this, please take a look if that is ok for you, too.

Mar 12 2020, 10:20 PM · Frameworks, Kate

Mar 11 2020

gikari added a comment to D27928: [VIM Mode] Add g<up> g<down> commands.

Yes, my case.

Mar 11 2020, 4:35 PM · Frameworks, Kate
cullmann added a comment to D27928: [VIM Mode] Add g<up> g<down> commands.

I will try to take a look as soon as I have time, if nobody else is faster.
Just to confirm: Your newly added test case doesn't pass or some other test case randomly fails?

Mar 11 2020, 4:33 PM · Frameworks, Kate

Mar 10 2020

vkrause closed D27916: Add Overpass QL highlighting.
Mar 10 2020, 6:32 PM · Frameworks, Kate
gikari added a comment to D27928: [VIM Mode] Add g<up> g<down> commands.

I added a unit test, but I do not know why it is failing. Actually I do not know if I've added it correctly at all. Help is very necsasary.

Mar 10 2020, 2:30 PM · Frameworks, Kate
gikari updated the diff for D27928: [VIM Mode] Add g<up> g<down> commands.
  • Add unit-test
Mar 10 2020, 2:27 PM · Frameworks, Kate
dhaumann added a comment to D27928: [VIM Mode] Add g<up> g<down> commands.

The intimidating one :)

Mar 10 2020, 12:45 PM · Frameworks, Kate

Mar 9 2020

gikari added a comment to D27928: [VIM Mode] Add g<up> g<down> commands.

I am not sure where I should add it. Is it supposed to be a new pair of bug418486 .h/.cpp files? Or should the test reside inside keys.cpp in big intimidating 500 line wide MappingTest function?

Mar 9 2020, 9:18 PM · Frameworks, Kate
dhaumann accepted D27929: CMake syntax fixes.

Thanks!

Mar 9 2020, 8:14 PM · Frameworks, Kate
dhaumann accepted D27916: Add Overpass QL highlighting.

Almost good, please fix + ship.

Mar 9 2020, 8:13 PM · Frameworks, Kate
dhaumann added a comment to D27928: [VIM Mode] Add g<up> g<down> commands.

I like the patch, but please add a unit test before we commit this. See https://github.com/KDE/ktexteditor/tree/master/autotests/src/vimode
Could you add one? :)

Mar 9 2020, 8:11 PM · Frameworks, Kate
dhaumann added a comment to D27844: Store and fetch complete view config in and from session config.

I guess we can give this a try. As I understand, though, with this patch you will never be able to use e.g. a global zoom once you change the zoom of a view. This was different before this patch.

Mar 9 2020, 8:08 PM · Frameworks, Kate
hoffmannrobert added a comment to D26560: Fix selection printing.

In case my last comment was mistakable, I fixed this:

  1. Create a document with just one long line that wraps over two printed pages. I this case, I am not able to print only the selected text properly.
Mar 9 2020, 11:46 AM · Frameworks, Kate

Mar 8 2020

turbov requested review of D27929: CMake syntax fixes.
Mar 8 2020, 1:31 PM · Frameworks, Kate
gikari updated the summary of D27928: [VIM Mode] Add g<up> g<down> commands.
Mar 8 2020, 10:18 AM · Frameworks, Kate
gikari added reviewers for D27928: [VIM Mode] Add g<up> g<down> commands: Kate, Frameworks.
Mar 8 2020, 9:09 AM · Frameworks, Kate
gikari requested review of D27928: [VIM Mode] Add g<up> g<down> commands.
Mar 8 2020, 9:08 AM · Frameworks, Kate

Mar 7 2020

cullmann closed D27912: Draw inlineNotes after drawing word wrap marker.

Hmm, yes, seems to work again.
Let's close this then again.

Mar 7 2020, 9:09 PM · Frameworks, Kate
davidre added a comment to D27912: Draw inlineNotes after drawing word wrap marker.

Seems in https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20SUSEQt5.12/314/ the test passed again?

Mar 7 2020, 7:29 PM · Frameworks, Kate
kossebau closed D27533: Add MarkInterfaceV2, to s/QPixmap/QIcon/g for symbols of marks.
Mar 7 2020, 7:12 PM · Frameworks, Kate
vkrause updated the diff for D27916: Add Overpass QL highlighting.

Highlight the {{bbox}} Overpass Turbo placeholder.

Mar 7 2020, 6:56 PM · Frameworks, Kate
davidre added a comment to D27912: Draw inlineNotes after drawing word wrap marker.

I also don't understand this. Even if the painting somehow changes, e.g. because some painter state is set which wasnt set before (which I do not see to be the case here), that should not affect the line layout, as that is computed separately.

Very strange.

Mar 7 2020, 5:53 PM · Frameworks, Kate
brauch added a comment to D27912: Draw inlineNotes after drawing word wrap marker.

I also don't understand this. Even if the painting somehow changes, e.g. because some painter state is set which wasnt set before (which I do not see to be the case here), that should not affect the line layout, as that is computed separately.

Mar 7 2020, 5:43 PM · Frameworks, Kate
davidre added a comment to D27912: Draw inlineNotes after drawing word wrap marker.
FAIL!  : InlineNoteTest::testInlineNote() Compared values are not the same
Actual   (newCoordCol04): QPoint(51,1)
Expected (coordCol04)   : QPoint(33,1)

I have node idea why the test would be failing. It complains that a coordinateToCursor changed. My idea what could cause this that an inlineNote is inserted at not the exprected place so column 4 shifts to the right. However the change in the painting order shouldn't cause this as far as I understand it. To make matters worse the test passes for me locally. I would need help here to invesitagte or I would revert this for the moment.

Mar 7 2020, 5:34 PM · Frameworks, Kate
vkrause requested review of D27916: Add Overpass QL highlighting.
Mar 7 2020, 5:30 PM · Frameworks, Kate
davidre added a comment to D27912: Draw inlineNotes after drawing word wrap marker.

Hi, could it be that killed the inline notes autotest?

https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20SUSEQt5.12/313/

Mar 7 2020, 4:45 PM · Frameworks, Kate
cullmann reopened D27912: Draw inlineNotes after drawing word wrap marker.

Hi, could it be that killed the inline notes autotest?

Mar 7 2020, 4:28 PM · Frameworks, Kate
cullmann added a comment to D27533: Add MarkInterfaceV2, to s/QPixmap/QIcon/g for symbols of marks.

Thanks for working on this.
Badly scaled stuff is a real eyesore...

Mar 7 2020, 4:15 PM · Frameworks, Kate