Common
Share Kate Highlighting Files
Thursday, 12 October 2006
| Dominik Haumann
Thanks to Frank we have a dedicated section for Kate Highlighting files on kde-files.org now. We encourage everyone to publish their .xml files there. The Kate team agreed to add more highlighting files to the official Kate releases, though, as long as they are of general use. For KDE4 we plan to have a section for Kate Indentation scripts, too. But that’s content for another blog, which will follow later :)
Read More
Kate: More eye-candy
Friday, 29 September 2006
| Dominik Haumann
Two years ago we had the KDE conference in Ludwigsburg, Germany. At that time, Martijn Klingens committed a patch to show trailing spaces in Kate. I just change the visualization a bit, the change is in for KDE4 :) Tabs are marked with a ‘»’ character, and spaces with a dot. On the left you can see the old and on the right the new version; Here is a screenshot:
Read More
The Wheel of Time Turns…
Saturday, 16 September 2006
| Dominik Haumann
…and this time it turns out that I am going to akademy. Dublin I’m coming, wheee! :)
Smart End
Wednesday, 9 August 2006
| Dominik Haumann
Since KDE 3.5.4 Kate Part supports “smart end“. Right now it behaves like this when pressing “end”:
go to last non-space character go to the last character (i.e. hit end twice) I’m writing this blog to get feedback about what’s the right/expected behaviour. Is it as described above, or should we first go to the very last character, and to the last non-space only when hitting then end-key twice?
Feedback along with why you prefer solution A or B is welcome!
Read More
Kate in KDE 3.5.4
Wednesday, 2 August 2006
| Dominik Haumann
Finally, KDE 3.5.4 is out! We were able to fix a lot of issues in Kate and the bug curves went noticeably down. Thanks to all contributors for the nice KDE release :)
Kate: Shortcomings of .kateconfig file
Sunday, 23 July 2006
| Dominik Haumann
Assume you have a .kateconfig file optimized for C++ code that replaces tabs on save. Now you open a Makefile that contains tabs (due to its strict syntax). If you save the Makefile in kate, the tabs then are replaced which results in a corrupted Makefile.
In other words: The .kateconfig file applies to every file. It lacks mimetype/extension support and thus can lead to unwanted behaviours.
So if you use a .kateconfig file, keep that in mind :) Maybe we should simply use modelines in the h/cpp files for now.
Read More
Indentation and Coding Style
Sunday, 23 July 2006
| Dominik Haumann
kdelibs will have coding style conventions. In general. this is not a bad idea. Our 45528 slocs in KatePart all use a consistent indent-width of 2 spaces. Changing this does not really make sense – ok, if svn praise -w (sure, we never need svn blame in our code ;) finally works, we can discuss this again.
In other words: How “consistent” will kdelibs get with this new conventions? The interesting part of Zack’s mail is
Read More
Kate Project Plugin
Thursday, 20 July 2006
| Dominik Haumann
It is not a secret that removing Kate’s project manager in KDE 3.5 was not the right thing to do. It seems a lot of people used it and we got many complaints about this decision. That also shows that it is hard go get feedback about what users are really using. If a feature is done well, noone will ever talk about it. This is paradox, as we thought the project manager was not well integrated :) (I still think that)
Read More
Kate Part in upcoming KDE 3.5.4
Wednesday, 28 June 2006
| Dominik Haumann
The last week was highly productive for Kate Part, as the following bugs were fixed:
89042 while pressing “del” key kate crashes (crash, bt) 103648 Codefolding Crash – Reproducable 118584 scroll position not upgrading (dynamic word wrap) 119435 kate crash when a file is saved 123315 kwrite/kate crashes randomly after save 124102 changing syntax highlighting when code is folded crashes katepart 127928 kate crashes deleting a block of text 128690 Dynamic word wrap makes text input slow 129853 Horizontal scrollbar and view not synced, if dynamic and static word wrap are off and some minor issues That are 6 crash fixes. Kate Part in KDE 3.5.4 will be more stable than ever :) That’s especially cool for KDevelop, Quanta+, Kile – well and Kate.
Special thanks to Andreas Kling for initiating the bug squashing sessions! You are like a blackbox: The input is a bug and your output is the fix ;)
Read More
Kate Modes & Filetypes
Thursday, 9 February 2006
| Christoph Cullmann
Modes allow the user to override the default configuration for documents of specified mimetypes or file extensions. When the editor loads a document and the mimetype or file extensions match for one of the defined filetypes, KatePart will read the configuration from the mode and apply the modelines defined. If more filetypes match, the one with the highest priority will be used.
To create a filetype, go into the settings dialog available in Kate via Settings > Configure Kate > Open/Save > Modes/Filetypes, then press the New button and fill in the properties. To remove an existing filetype, select it from the dropdown list and press the Delete button. To edit an existing mode, select it from the dropdown list.
Read More