Difference between revisions of "Kate"

From Trinity Desktop Project Wiki
Jump to navigation Jump to search
(Added reference to the folding (like collapsible outlining) feature.)
m (Blu256 moved page Kate (KDE3 Architecture) to Kate: Simplify)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
'''Kate''' is the advanced text editor that is included with Trinity. The name is an acronym which stands for '''K'''ate is an '''A'''dvanced '''T'''ext '''E'''ditor<sup id="note-1-origin">[[#note-1|1]]</sup>.
[[Category:KDE3]]
 
[[Category:Architecture]]
 
[[Category:Developers]]
 
{{Applicable to TDE}}
 
 
== Advanced (Developer's) Text Editor ==
 
   
  +
== Description ==
 
Somewhere in the history of computing, there was a point where computers were
 
Somewhere in the history of computing, there was a point where computers were
 
no more than glorified typewriters (that's how Big Blue earned the "Big", in
 
no more than glorified typewriters (that's how Big Blue earned the "Big", in
Line 15: Line 11:
 
of enhancements brought us sacred monsters like Emacs :-).
 
of enhancements brought us sacred monsters like Emacs :-).
   
  +
== Features ==
 
Respecting one of its own initial goals (provide most useful tools with the
 
Respecting one of its own initial goals (provide most useful tools with the
basic installation), KDE provides Kate, '''K'''DE's '''A'''dvanced '''T'''ext '''E'''ditor.
+
basic installation), Trinity provides Kate, an advanced text editor which many
Many programmers will find this editor very useful for coding thanks to the
+
programmers and users alike will (hopefully) find very useful for coding thanks
following features:
+
to the following features:
   
 
*support for languages like: C, C++, Objective-C, IDL, Java, Modula2, Ada, Bash, Perl, Python, HTML, LaTeX and ''many'' more!
 
*support for languages like: C, C++, Objective-C, IDL, Java, Modula2, Ada, Bash, Perl, Python, HTML, LaTeX and ''many'' more!
 
*colored syntax highlighting (and completely customizable)
 
*colored syntax highlighting (and completely customizable)
*folding -- I don't mean line wrapping, although it has that, I mean folding like what Microsoft calls "collapsible outlining" (at least in older versions of Word) -- the ability to collapse (hide) portions of text to allow things like easier navigation and easier writing in a more hierarchical fashion
+
*folding -- I don't mean line wrapping, although Kate / Kwrite have that, I mean folding like what Microsoft calls "collapsible outlining" (at least in older versions of Word) -- the ability to collapse (hide) portions of text to allow things like easier navigation and easier writing in a more hierarchical fashion
 
*smart indenting
 
*smart indenting
 
*very advanced text selection mechanisms: persistent selection, multiple selections, block selections
 
*very advanced text selection mechanisms: persistent selection, multiple selections, block selections
Line 46: Line 43:
 
quite a modular manner. Thus, adding a colored syntax highlighting for a
 
quite a modular manner. Thus, adding a colored syntax highlighting for a
 
new language isn't a complicated endeavour.
 
new language isn't a complicated endeavour.
  +
  +
==Notes==
  +
<span id="note-1">
  +
* [[#note-1-origin|^]] In KDE it stands for '''K'''DE's '''A'''dvanced '''T'''ext '''E'''ditor.
  +
</span>
  +
 
[[Category:KDE3]]
 
[[Category:Architecture]]
 
[[Category:Developers]]

Latest revision as of 16:14, 21 April 2022

Kate is the advanced text editor that is included with Trinity. The name is an acronym which stands for Kate is an Advanced Text Editor1.

Description

Somewhere in the history of computing, there was a point where computers were no more than glorified typewriters (that's how Big Blue earned the "Big", in the end :-)

Anyways, more seriously, editing texts is one of the tasks computers are most often bound to accomplish. Programmers find important to enhance their usual editors in ways which simplify the coding work. Sometimes the amount of enhancements brought us sacred monsters like Emacs :-).

Features

Respecting one of its own initial goals (provide most useful tools with the basic installation), Trinity provides Kate, an advanced text editor which many programmers and users alike will (hopefully) find very useful for coding thanks to the following features:

  • support for languages like: C, C++, Objective-C, IDL, Java, Modula2, Ada, Bash, Perl, Python, HTML, LaTeX and many more!
  • colored syntax highlighting (and completely customizable)
  • folding -- I don't mean line wrapping, although Kate / Kwrite have that, I mean folding like what Microsoft calls "collapsible outlining" (at least in older versions of Word) -- the ability to collapse (hide) portions of text to allow things like easier navigation and easier writing in a more hierarchical fashion
  • smart indenting
  • very advanced text selection mechanisms: persistent selection, multiple selections, block selections
  • complete customization of keybindings
  • text bookmarking
  • support for all possible end-line styles: DOS, MacOS, Unix
  • infinite undo/redo and a handy browser of undo/redo actions.

Trinity continues maintaining the KDE 3.x version of Kate.

Of course, Kate can be very well used as an ordinary editor. If we can call it ordinary :-). To this respect, Kate provides:

  • a "Normal" syntax colorisation style
  • spell checking (with support for multiple language dictionaries, if installed)
  • list of recently edited files

Kate uses the editor component Kate Part which is also used in TDevelop, the Integrated Development Environment of Trinity.

Thanks to the marvels of Object Oriented Programming principles that Trinity uses extensively by the means of the C++ language, Kate is programmed in quite a modular manner. Thus, adding a colored syntax highlighting for a new language isn't a complicated endeavour.

Notes

  • ^ In KDE it stands for KDE's Advanced Text Editor.