Category Archives: Users

Kate in KDE 4.9

With KDE SC 4.9 around the corner and according to tradition, it’s time to have a look at what’s new in Kate.

Improved Support for Custom Color Schemas

  • improved “Colors” tab in the “Fonts & Colors” config page
  • configurable colors: search & replace, code folding, indentation line,
  • schema export and import honor background colors (bug #291868) and font
  • “highlight selection” plugin and “search and replace” plugin now use search & replace colors from Kate’s color schema

Line Modification System

  • new option to disable in the editor settings:¬†Appearance > Borders > [ ] Show line modification markers
  • colors of the line modification system are configurable

Build Plugin

  • reworked config page (including advanced settings for remote debugging)
  • support for remote debugging

Further Changes

  • new option in Open/Save config page: [ ] Add newline at end of file on save
  • all fixes in the bug tracker

Append Newline at End of File

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 the “Modes & Filetypes” config page. If a newline was added, it is visible only after reloading the document. This finally fixes wish #256134.

Some Kate Color Schemas

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 the “Highlight Selection” plugin, which is still a hard-coded yellow. Kate Part’s “Search & Replace”chooses more fitting highlight colors for matching and replaced text.