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

Today

ngraham added a comment to D22059: Enlarge the find and replace add-on combo boxes.

Of the options, I like the third one best.

Tue, Jun 25, 12:55 PM · VDG, Kate
mickaelbo added a comment to D22059: Enlarge the find and replace add-on combo boxes.

I added a screenshot based on the last comment. Buttons are grouped depending on their relation to "find" (including the show search options button) or to replace/result (including Expand result and Add Tab).

Tue, Jun 25, 12:02 PM · VDG, Kate
mickaelbo updated the test plan for D22059: Enlarge the find and replace add-on combo boxes.
Tue, Jun 25, 11:50 AM · VDG, Kate

Yesterday

cullmann closed D22071: Fixing autoscroll down in katepart.
Mon, Jun 24, 8:14 PM · Frameworks, Kate
ahmadsamir added a comment to D22067: Don't clear the session KConfing object too early.

Taking a look at the code, I think one can not just keep that pointer/group around that long.

One could try to e.g. remember the keys with values for positions in finishRestore() and use that as overwrite in createToolView like we do there with

// try the restore config to figure out real pos
if (m_restoreConfig && m_restoreConfig->hasGroup(m_restoreGroup)) {
    KConfigGroup cg(m_restoreConfig, m_restoreGroup);
    pos = (KMultiTabBar::KMultiTabBarPosition) cg.readEntry(QStringLiteral("Kate-MDI-ToolView-%1-Position").arg(identifier), int(pos));
}

As long as the config pointer is valid, no operation showing/moving toolviews will have any effect.

Mon, Jun 24, 8:12 PM · Kate
sars added a comment to D22059: Enlarge the find and replace add-on combo boxes.

What if we put the search combo on one row and the search and next buttons on the next row together with the search places combo.
Then the next row would be the replace combo with the replace buttons and tool buttons on the next?

Mon, Jun 24, 8:05 PM · VDG, Kate
cullmann added a comment to D22067: Don't clear the session KConfing object too early.

Taking a look at the code, I think one can not just keep that pointer/group around that long.

Mon, Jun 24, 8:04 PM · Kate
dhaumann closed D21861: Add default variables for variables interface.
Mon, Jun 24, 7:46 PM · Frameworks, Kate
cullmann accepted D21861: Add default variables for variables interface.
Mon, Jun 24, 7:21 PM · Frameworks, Kate
cullmann requested changes to D22067: Don't clear the session KConfing object too early.

Perhaps I did something very wrong, but with your patch applied, I can no longer use the "move to right sidebar" at all.
I will just do nothing ;)

Mon, Jun 24, 7:16 PM · Kate
cullmann closed D21940: Make automatic spellcheck work after reloading a document.
Mon, Jun 24, 6:59 PM · Frameworks, Kate
ngraham added a comment to D22059: Enlarge the find and replace add-on combo boxes.

I dunno, I'm having a hard time thinking of icons that could communicate "replace" and "replace checked" in this context. But maybe it would work. Give it a shot and see! :)

Mon, Jun 24, 4:45 PM · VDG, Kate
mickaelbo updated the test plan for D22059: Enlarge the find and replace add-on combo boxes.
Mon, Jun 24, 3:53 PM · VDG, Kate
mickaelbo added a comment to D22059: Enlarge the find and replace add-on combo boxes.

You are right, the "Search" and "Next" buttons should be grouped with the search combo box and the same applies for "Replace" and "Replace Checked". On the other hand, I think it would be nice to have large find and replace combo boxes. Thus, we don't want to eat too much space with other widgets in the same row.
I suggest the following :

  • add icons and help tooltips to the "Replace" and "Replace Checked" buttons
  • when the view is narrow, move the search combo box along with the "Search" and "Next" buttons on their own row; remove the button texts; remove the "Find" label. The same applies for the replace group.
  • when the view is large, restore the original view
Mon, Jun 24, 3:51 PM · VDG, Kate
ngraham requested changes to D22059: Enlarge the find and replace add-on combo boxes.

I'm not sure how much sense this change makes, because currently each row has controls related to its own combobox, and if you move the comboboxes to their own rows, the logical grouping gets broken. If the current UI is not sufficient, I think it needs a larger redesign, not just moving the comboboxes to their own rows. For example, the scope chooser and search options could be on their own row maybe.

Mon, Jun 24, 10:55 AM · VDG, Kate
ngraham added a reviewer for D22059: Enlarge the find and replace add-on combo boxes: VDG.
Mon, Jun 24, 10:54 AM · VDG, Kate
mickaelbo added a project to D22059: Enlarge the find and replace add-on combo boxes: VDG.
Mon, Jun 24, 10:24 AM · VDG, Kate
ahmadsamir requested review of D22067: Don't clear the session KConfing object too early.
Mon, Jun 24, 9:02 AM · Kate

Sun, Jun 23

ngraham added a comment to D22059: Enlarge the find and replace add-on combo boxes.

For visual changes like this, please tag VDG and provide before and after screenshots in the Test Plan section. Thanks!

Sun, Jun 23, 9:44 PM · VDG, Kate
ngraham added reviewers for D21563: Fix empty pages in print preview and lines printed twice: Kate, KTextEditor.
Sun, Jun 23, 9:05 PM · Frameworks, Kate
dhaumann added a comment to D21563: Fix empty pages in print preview and lines printed twice.

Many years ago I also stumbled over this bug, and I know for sure it never was fixed. If this fix really works then this would be really great! That said I have not yet tried the patch but am positive to get this in soon!

Sun, Jun 23, 8:54 PM · Frameworks, Kate
hoffmannrobert added a comment to D21563: Fix empty pages in print preview and lines printed twice.

It fixes this bug: https://bugs.kde.org/show_bug.cgi?id=348598

Sun, Jun 23, 8:08 PM · Frameworks, Kate
hoffmannrobert added a comment to D21563: Fix empty pages in print preview and lines printed twice.
Sun, Jun 23, 8:04 PM · Frameworks, Kate
mickaelbo requested review of D22059: Enlarge the find and replace add-on combo boxes.
Sun, Jun 23, 7:07 PM · VDG, Kate
ahmadsamir added a comment to D21940: Make automatic spellcheck work after reloading a document.

Great :). Please commit it too (as I don't have access to kde git).

Sun, Jun 23, 1:07 PM · Frameworks, Kate
dhaumann accepted D21940: Make automatic spellcheck work after reloading a document.

Looks good to me now :)

Sun, Jun 23, 12:37 PM · Frameworks, Kate
ahmadsamir updated the diff for D21940: Make automatic spellcheck work after reloading a document.

Use a lambda instead of adding a standalone method

Sun, Jun 23, 12:08 PM · Frameworks, Kate
nibags closed D21960: AppArmor: update syntax.
Sun, Jun 23, 10:58 AM · Frameworks, Kate

Sat, Jun 22

dhaumann added inline comments to D21940: Make automatic spellcheck work after reloading a document.
Sat, Jun 22, 8:28 PM · Frameworks, Kate
dhaumann updated the test plan for D21861: Add default variables for variables interface.
Sat, Jun 22, 8:18 PM · Frameworks, Kate
dhaumann updated the diff for D21861: Add default variables for variables interface.
  • Drop 'Current' prefix and improve documentation
Sat, Jun 22, 8:17 PM · Frameworks, Kate
gregormi added a comment to D21861: Add default variables for variables interface.

I'd like to drop the " Current" prefix in all the variables. It just makes the names longer and I don't see any value for users. Comments?

Sat, Jun 22, 5:55 PM · Frameworks, Kate
dhaumann added a comment to D21861: Add default variables for variables interface.

I'd like to drop the " Current" prefix in all the variables. It just makes the names longer and I don't see any value for users. Comments?

Sat, Jun 22, 5:48 PM · Frameworks, Kate
dhaumann updated the diff for D21861: Add default variables for variables interface.
  • Implement JS:<code> variable expansion, e.g. %{JS:3+%{JS:2+1}} --> 6
  • Variable expansion: Add unit tests
Sat, Jun 22, 5:40 PM · Frameworks, Kate

Fri, Jun 21

ahmadsamir added a comment to D21940: Make automatic spellcheck work after reloading a document.

Qt docs say that the signal must have at least as many arguments as the slot, and there is an implicit conversion between the types of the corresponding arguments in the signal and the slot.

Fri, Jun 21, 1:42 PM · Frameworks, Kate
ahmadsamir added inline comments to D21940: Make automatic spellcheck work after reloading a document.
Fri, Jun 21, 1:39 PM · Frameworks, Kate
dhaumann accepted D21960: AppArmor: update syntax.

Lgtm.

Fri, Jun 21, 1:17 PM · Frameworks, Kate
dhaumann added inline comments to D21940: Make automatic spellcheck work after reloading a document.
Fri, Jun 21, 1:13 PM · Frameworks, Kate
nibags requested review of D21960: AppArmor: update syntax.
Fri, Jun 21, 12:06 PM · Frameworks, Kate
ahmadsamir added inline comments to D21940: Make automatic spellcheck work after reloading a document.
Fri, Jun 21, 8:23 AM · Frameworks, Kate
dhaumann requested changes to D21940: Make automatic spellcheck work after reloading a document.

You don't need the extra function. Could you update the patch?

Fri, Jun 21, 6:10 AM · Frameworks, Kate

Thu, Jun 20

ngraham added a comment to D17138: Kate: File menu: Put Save, Print and Export actions into submenus.

You probably need to delete ~/.local/share/kxmlgui5/kate*/*.rc

Thu, Jun 20, 10:28 PM · Kate
sars added a comment to D21940: Make automatic spellcheck work after reloading a document.

LGTM

Thu, Jun 20, 8:09 PM · Frameworks, Kate
gregormi added a comment to D17138: Kate: File menu: Put Save, Print and Export actions into submenus.

Hi, thanks for asking. The problem is, that I have trouble with how the menu mechanism works. E.g. some time during my (non-root) development now my system/distro-installed Kate shows changes in the File menu. I don't know how to revert/reset these so I am not sure if my change actually does the right thing.

Thu, Jun 20, 5:41 PM · Kate
ahmadsamir requested review of D21940: Make automatic spellcheck work after reloading a document.
Thu, Jun 20, 4:43 PM · Frameworks, Kate
ahmadsamir added a comment to D21699: Add action to reset ui color scheme to the kde default one.

[..]

What I'm asking is if it ever makes sense for the user to tell Kate to always use the Breeze Light color scheme when the system is itself already using the Breeze Light color scheme.

Thu, Jun 20, 11:46 AM · Kate
ngraham added a comment to D21699: Add action to reset ui color scheme to the kde default one.

I just discovered/rediscovered D15645, which upstreams this menu into KConfigWidgets so it's available for every KDE app. I wonder if we should focus there instead?

Thu, Jun 20, 10:42 AM · Kate
ngraham added a comment to D17138: Kate: File menu: Put Save, Print and Export actions into submenus.

So what's the status of this? I still feel like it would be worthwhile.

Thu, Jun 20, 9:09 AM · Kate

Wed, Jun 19

ngraham updated subscribers of T11064: Improve the UI for the "make the editor follow the system color scheme" feature.
Wed, Jun 19, 4:34 PM · VDG, KTextEditor, Kate

Tue, Jun 18

sars added a comment to D17241: WIP:Disable highlighting after 512 characters on a line..

I think a partially highlighted line is better than a totally non-highlighted one. And I think that the user is more likely to instinctively guess correctly why the end of the line is not highlighted than if the line is not highlighted at all.

Tue, Jun 18, 10:20 AM · Frameworks, Kate