• RFC: Exporting JavaScript API

    by  • 2012-05-12 • 1 Comment

    Since quite some time, Kate Part has build-in scripting support through JavaScript. Our plan is to make this API public, so other applications like Kile, Kate App and KDevelop can use it. However, we are currently unsure how to best implement it, so this is a rfc to get feedback. The bindings for a Kate Document [...]

    Read more →

    Crash through D-Bus calls

    by  • 2012-04-6 • 8 Comments

    Years ago, there was a blog on the planet with the title “How to crash (almost) every Qt/KDE Application and how to fix it“. In short, if you are showing a dialog, KWin prevents you from closing the application by clicking on the close button in the window decoration. However, through D-Bus, you can still [...]

    Read more →

    On Removing an Element from a List

    by  • 2012-03-17 • 6 Comments

    Recently, there was a very good blog about The Importance of Mentoring. It was mentioned that the 3200 slocs of the gsoc projects could be cut down to 500 slocs, doing exactly the same thing. While hunting some crashes in the new code folding code from the last gsoc project, I obviously had a closer [...]

    Read more →

    Append Newline at End of File

    by  • 2012-03-12 • 0 Comments

    In KDE SC 4.9, Kate Part will have an option in the Open/Save config tab called [ ] Append newline at end of file on save By default (and Kate tradition), this option is off. You can also use the document variable (modeline) newline-at-eof [bool], either in the file itself, in a .kateconfig file, or in [...]

    Read more →

    Some Kate Color Schemas

    by  • 2012-03-7 • 14 Comments

    As already mentioned, Kate Part much better chooses colors from the default KDE color palette configured in System Settings in upcoming KDE SC 4.9. As teaser, here are some examples – hope you like it. Default “Oxygen” Color Schema Default “Obsidian Coast” Color Schema  Dark “Vim” Color Schema Note: The yellow search background comes from [...]

    Read more →

    Color Settings

    by  • 2012-03-1 • 4 Comments

    This week, Kate Part received an update of the “Colors” tab in the settings dialog, available in KDE 4.9. The major features include configurable colors: search highlight, replace highlight and modified line colors – finally possibility to always use colors from the KDE color scheme. the implementation works in a way that at some point, [...]

    Read more →

    Disable Line Modification Indicators

    by  • 2012-02-26 • 0 Comments

    On KDE 4.8.0, there is no way to disable the line modification markers. In KDE >= 4.8.1, you can disable them as follows by first closing Kate and then typing kwriteconfig –file katerc –group “Kate View Defaults” –key “Line Modification” –type bool false To enable it again, close Kate and run kwriteconfig –file katerc –group “Kate [...]

    Read more →

    Scripting in Kate

    by  • 2012-01-21 • 9 Comments

    Since several releases, Kate Part has scripting support through javascript. So far, it seems it is not much used by users. Still, I stumbled over two extensions: jump to previous / next paragraph base64 encoding If you have more user defined scripts, it would be nice if you let us know! For KDE5, we plan [...]

    Read more →

    Highlighting Search & Replace Matches

    by  • 2011-12-22 • 36 Comments

    In response to Kate in KDE 4.8, there was this reply on reddit: Does this mean the stupid search/replace functionality has finally been fixed? Once the search/replace marks/colors text there’s no way to clear it so when you’re replacing keywords the last one will be permanently marked with background color unless you reload the file or [...]

    Read more →