KateProject
ActivePublic

Details

Description

Kate

Kate is a multi-document editor part of KDE since release 2.2. Being a KDE application, Kate ships with network transparency, as well as integration with the outstanding features of KDE. Choose it for viewing HTML sources from Konqueror, editing configuration files, writing new applications or any other text editing task. You still need just one running instance of Kate.

With a multi-view editor like Kate you get a lot of advantages. You can view several instances of the same document and all instances are synchronized. Or you can view more files at the same time for easy reference or simultaneous editing.

KWrite

KWrite is a simple text editor application, allowing you to edit one file at the time per window. As Kate, KWrite uses the editor component KatePart. KWrite simply provides the selected editor component with a window frame, and lets you open and save documents. KWrite shares all features the KatePart provides, look here to get an overview.

Recent Activity

May 22 2020

apol closed D28235: Add a simpler example.
May 22 2020, 3:02 PM · Frameworks, Kate
cullmann accepted D28235: Add a simpler example.

;=) Actually, I just missed this request, sorry.

May 22 2020, 2:53 PM · Frameworks, Kate
apol added a comment to D28235: Add a simpler example.

Should I understand this is not desired and that I should abandon it?

May 22 2020, 2:45 PM · Frameworks, Kate

May 20 2020

nibags abandoned D29793: Rename Perl6 syntax to Raku.

This is equivalent to: https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/1

May 20 2020, 2:33 PM · Frameworks, Kate
nibags abandoned D29795: Add collaboration guide.

This is moved to https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/2

May 20 2020, 2:09 PM · Frameworks, Kate
nibags updated the diff for D29793: Rename Perl6 syntax to Raku.
  • Fix extensions and unit tests
May 20 2020, 12:57 PM · Frameworks, Kate
nibags added a comment to D29795: Add collaboration guide.

I put it all in the README. I also corrected the repository, I had not noticed that this repository was already in GitLab!

May 20 2020, 11:27 AM · Frameworks, Kate
nibags updated the diff for D29795: Add collaboration guide.
  • Add collaboration guide in the README file
May 20 2020, 11:22 AM · Frameworks, Kate

May 18 2020

cullmann accepted D29793: Rename Perl6 syntax to Raku.

I think it makes sense to have just "Raku", the world at large (like me) only recognizes Perl 5 as Perl .P

May 18 2020, 1:57 PM · Frameworks, Kate
cullmann added a comment to D29795: Add collaboration guide.

I think this is very good thing to have.
But perhaps we just should add that to the README.md that is prominently shown on e.g. https://invent.kde.org/frameworks/syntax-highlighting
The README anyways already contains a "Adding unit tests for a syntax definition" that could be replaced with this.

May 18 2020, 1:56 PM · Frameworks, Kate
cullmann closed D29789: Make text always align with font base line.
May 18 2020, 1:52 PM · Frameworks, Kate
cullmann accepted D29789: Make text always align with font base line.

Hmm, looks better for me, too.
Let's go with this at the moment.
If it creates issues, we can still revert it again.
Thanks for taking care of this.

May 18 2020, 1:51 PM · Frameworks, Kate

May 17 2020

brauch added a comment to D29789: Make text always align with font base line.

Hmm, consider though that a configuration option should be something that gives a choice to the user. It shouldn't be necessary to set a config option in order to make the program behave correctly.

May 17 2020, 5:34 PM · Frameworks, Kate
xuetianweng added a comment to D29789: Make text always align with font base line.

I like this patch. In fact, I observed over the past years again and again that sometimes, especially if chinese or similar letters are included, the baseline is wrong in Kate, leading to much more overpainting that needed.
If this patch fixes this, then I'm all for it. Or let's put it like this: The current implementation is wrong, this patch looks less wrong than the current state :-)

+1

May 17 2020, 5:28 PM · Frameworks, Kate

May 16 2020

dhaumann added a comment to D29789: Make text always align with font base line.

I like this patch. In fact, I observed over the past years again and again that sometimes, especially if chinese or similar letters are included, the baseline is wrong in Kate, leading to much more overpainting that needed.
If this patch fixes this, then I'm all for it. Or let's put it like this: The current implementation is wrong, this patch looks less wrong than the current state :-)

May 16 2020, 9:16 PM · Frameworks, Kate
nibags requested review of D29795: Add collaboration guide.
May 16 2020, 10:07 AM · Frameworks, Kate
nibags updated the summary of D29793: Rename Perl6 syntax to Raku.
May 16 2020, 5:42 AM · Frameworks, Kate
nibags requested review of D29793: Rename Perl6 syntax to Raku.
May 16 2020, 5:35 AM · Frameworks, Kate

May 15 2020

xuetianweng added a comment to D29789: Make text always align with font base line.

This is my another try as an alternative solution to D25339. Actually this works surprisingly good IMHO, at least for CJK users for most cases.

May 15 2020, 11:42 PM · Frameworks, Kate
xuetianweng updated the summary of D29789: Make text always align with font base line.
May 15 2020, 11:41 PM · Frameworks, Kate
xuetianweng requested review of D29789: Make text always align with font base line.
May 15 2020, 11:38 PM · Frameworks, Kate
xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Actually I was trying to use this approach in the patch because I was afraid that variable line height may need to estimate the whole document height to make scroll work correctly.

May 15 2020, 11:01 PM · Frameworks, Kate
cullmann closed D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".
May 15 2020, 3:45 PM · Frameworks, Kate, Framework: Syntax Highlighting
cullmann added a comment to D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".

Sure, thanks for the improvement!

May 15 2020, 3:45 PM · Frameworks, Kate, Framework: Syntax Highlighting
cullmann added a comment to D27844: Store and fetch complete view config in and from session config.

Hmm, right, didn't think about that :(
Guess if we want to have this, we need to improve the read/writeConfig functions.

May 15 2020, 3:43 PM · Frameworks, Kate
kossebau added a comment to D27844: Store and fetch complete view config in and from session config.

I suggest to revert, and send a notification with the change to kde-distro-packager@kde.org to avoid that many users break their configuration.

May 15 2020, 8:44 AM · Frameworks, Kate
dhaumann added a comment to D27844: Store and fetch complete view config in and from session config.

I suggest to revert, and send a notification with the change to kde-distro-packager@kde.org to avoid that many users break their configuration.

May 15 2020, 5:23 AM · Frameworks, Kate

May 14 2020

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

Seems this change has some sideeffects I did not experience when I played with this, but which are now uncovering as it hits people usinjg KF 5.70 :
config seems to write any settings, also the ones inherited from global defaults, as view-specific settings, and when reading them in again on session restart, they all become view-specific overrides, thus no longer influencable by global settings. Is that due to some other change elsewhere, or did I just completely miss this?

May 14 2020, 1:47 PM · Frameworks, Kate
dhaumann updated subscribers of D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".

@cullmann could you integrate this?

May 14 2020, 6:33 AM · Frameworks, Kate, Framework: Syntax Highlighting
dhaumann accepted D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".

Good catch :) please commit

May 14 2020, 6:31 AM · Frameworks, Kate, Framework: Syntax Highlighting
bewuethr requested review of D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".
May 14 2020, 4:07 AM · Frameworks, Kate, Framework: Syntax Highlighting

May 13 2020

davidedmundson closed D29680: Fix modified line marker in kate minimap.
May 13 2020, 10:02 AM · Frameworks, Kate

May 12 2020

sars accepted D29680: Fix modified line marker in kate minimap.

Thanks for the patch! I had not noticed the problem before :)

May 12 2020, 3:43 PM · Frameworks, Kate
ngraham added a comment to D29680: Fix modified line marker in kate minimap.

Ah right, that's still here.

May 12 2020, 2:41 PM · Frameworks, Kate
davidedmundson added a comment to D29680: Fix modified line marker in kate minimap.

What about ktexteditor?

May 12 2020, 2:40 PM · Frameworks, Kate
ngraham added a comment to D29680: Fix modified line marker in kate minimap.

Kate patches are at https://invent.kde.org/kde/kate/-/merge_requests, BTW.

May 12 2020, 2:40 PM · Frameworks, Kate
davidedmundson requested review of D29680: Fix modified line marker in kate minimap.
May 12 2020, 2:39 PM · Frameworks, Kate

May 9 2020

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

Looking at the code, might it make more sense to just move away from the fixed height we have?

May 9 2020, 3:48 PM · Frameworks, Kate
rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..
I assume the lineHeight usages in the renderer are easy to replace with the proper "height()" of the individual lines of the layout.
May 9 2020, 2:56 PM · Frameworks, Kate
cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

see e.g. here for a start of using the right heights inside the renderer.

May 9 2020, 2:31 PM · Frameworks, Kate
cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..
Looking at the code, might it make more sense to just move away from the fixed height we have?
It isn't used that often and in most cases one could just query the height of the current line.

I'd be all for that, provided it doesn't introduce any regressions in the rendered result nor in rendering time.

It could be trickier to implement than you think though?

May 9 2020, 2:16 PM · Frameworks, Kate
rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..
Looking at the code, might it make more sense to just move away from the fixed height we have?
It isn't used that often and in most cases one could just query the height of the current line.
May 9 2020, 12:06 PM · Frameworks, Kate
cullmann closed D29354: Bash: fix comments after escapes.
May 9 2020, 11:09 AM · Frameworks, Kate
cullmann accepted D29354: Bash: fix comments after escapes.

Same here ;=) Thanks a lot for the work on all this issues!

May 9 2020, 11:09 AM · Frameworks, Kate
cullmann closed D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.
May 9 2020, 11:08 AM · Frameworks, Kate
cullmann accepted D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.
May 9 2020, 11:08 AM · Frameworks, Kate
cullmann added a comment to D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.

Looks fine for me, thanks for improvement!

May 9 2020, 11:08 AM · Frameworks, Kate
cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Looking at the code, might it make more sense to just move away from the fixed height we have?
It isn't used that often and in most cases one could just query the height of the current line.
That would solve this issue without needing any hacks for the rendering I think.

May 9 2020, 10:55 AM · Frameworks, Kate

May 8 2020

nibags updated the summary of D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.
May 8 2020, 7:53 AM · Frameworks, Kate
nibags requested review of D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.
May 8 2020, 7:52 AM · Frameworks, Kate