Skip to content

Developers 

A rich python console and more in Kate editor

Friday, 31 May 2013  | Pablo Martin | Tags:  django  planet  python

I have done some improvements in the plugins: python_console_ipython, python_autocomplete, python_utils, js_utils, xml_pretty and django_utils. These plugins I added a month and a half ago (except python_console_ipython) to the kate repository. I have done two improvements and a new feature:

  • Now they work with Python2 and Python3 (except python_autocomplete, this only works with Python2, due pysmell dependence)
  • Now they have a configuration page (except python_autocomplete, this should not have configuration parameters)

Read More

Google Summer of Code 2013

Sunday, 14 April 2013  | Joseph Wenninger | Tags:  planet
If someone is interested in doing some coding for Kate-Part, Kate, KTexteditor during this years  Summer of Code, just drop a proposal at the kwrite-devel mailing list for discussion.

Kate D-Bus Interfaces, used at all?

Friday, 5 April 2013  | Christoph Cullmann | Tags:  planet

I just started to clean up the content of kate.git, moving things around, fixing compile warnings and similar stuff.

I stumbled over warnings in our dbus interfaces.

The main use of them is to allow Kate to reuse an existing instance for opening files and sessions. This part (e.g. the interface of the application object itself) works fine and is needed.

But all other interfaces, like the ones for docmanager, mainwindows, … are mostly non-existant or not implemented. I now play with the idea of just removing the nearly empty skeleton implementations, as it seems nobody missed them during the complete 4.x series.

Read More

Kate: Search & Replace Notifications in KDE 4.11

Tuesday, 2 April 2013  | Dominik Haumann | Tags:  planet

In KDE 4.10, the “Find All” and “Replace All” highlights all matches and at the same time shows a passive notification in a bar below the view. This bar is animated, and takes quite a lot of place in addition to the search & replace bar.

Since some days, Kate Part can also show passive notifications floating in the view. Hence, we’ve changed the passive notification to appear on the bottom right as a small info message, showing the number of matches. However, in order to make this passive notification as small as possible, we removed the “Close” button, since the notification is hidden after 3 seconds anyway. Further, we removed the “Keep Highlighting” button. If you want to keep the highlights, just do not close the search & replace bar. The following video demonstrates this behavior, first for KDE 4.10, then how it currently will be in KDE 4.11 (watch the video in 720p):

Read More

New Text Folding in kate.git master

Wednesday, 27 March 2013  | Christoph Cullmann | Tags:  planet

In the kate.git master branch the text folding is now new and shiny.

In addition to be faster and less memory hungry (no folding tree is around if you fold nothing, it is only created on-demand exactly for the folded regions), the new code is less complex and smaller (and hopefully better documented + unit tested, it actually has a test for most internal operations).

There is actually now a clean separation, the folding does not mix with highlighting and can be used without it, too.

Read More

Text Folding Reloaded

Sunday, 24 March 2013  | Christoph Cullmann | Tags:  planet

If we look at the incoming bug reports, a lot still seem to be located in our code folding implementation.

The problem of the current code folding code, even after the GSoC rewrite of large parts, is that it is inter weaved with the syntax highlighting engine.

During highlighting, we try to build up some tree containing all folding start/ends. To accommodate languages that have indentation based folding like Python, we started to fake such starts/ends which are normally tokens like { or }. As these tree can be unbalanced and contain overlapping regions, the implementation is quiet complex.

Read More

Kate: New contributors, Valgrind, and a fixed bug

Sunday, 17 March 2013  | Dominik Haumann | Tags:  planet
In the recent months Kate saw quite some contributions from developers other than “the usual kate developers”. This is really cool, areas include more work on python plugins, a lot of bug fixing and fine tuning in the vi input mode, an improved python indenter, and more unit tests. Especially one unit test turned out to be immensely useful and resulted in a fix for the infamous “rangesForLine” crash (about 40 times reported). We even decided to backport this to KDE 4.10.2, so KDevelopers and Kile LaTeXers please keep an eye open on whether this has any side effects! Read More

Idea: Code Completion for JavaScript

Wednesday, 27 February 2013  | Dominik Haumann | Tags:  planet
In 2012, Kate had a GSoC project with the aim of adding a Scripting IDE plugin. The idea was to make it easy to write Kate Part scripts (command line scripts, indenters), that should include rudimentary code completion and a gui to manage available scripts. As detailed in the blog post, a rudimentary list that showed all available scripts is available. However, due to changes in Kate Part’s scripting framework (e.g. changes in the folder structure, require() function to load libraries), the plugin in its current form is not applicable anymore. Still, the idea of having a better JavaScript support is valid. Read More

Kate Git Statistics

Wednesday, 27 February 2013  | Christoph Cullmann | Tags:  planet

Now the statistics of the kate.git are online for public viewing.
They will be updated daily, located on: /stats/

Unfortunately, the statistics of the last years are not that “representative”, as the moves of Kate around in SVN and to Git biased the statistics, as I did a lot of the commits for syncing and moving and so on.

Still it is amazing how MANY people did contribute during Kate’s history! (see Kate Authors)

Read More

Git Tools

Monday, 25 February 2013  | Dominik Haumann | Tags:  planet

The Projects plugin in Kate just gained a context menu for the tree view that shows several git tools, if available:

Clicking will open the corresponding application in the correct working directory. Currently, only gitk, qgit and git-cola are supported. If you want more git integration, you probably have to use KDevelop or QtCreator :-)

Read More