This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Syntax Highlighting in Kwrite

Tags: None
(comma "," separated)
Coolmax
Registered Member
Posts
4
Karma
0
OS

Syntax Highlighting in Kwrite

Tue Jul 20, 2010 4:12 pm
Hello all,
I recently install suse 11.3. I noticed that in new Kwrite (KDE 4.4.4) I have no option to change syntax higlighting. In version came from suse 11.2 (KDE 4.3.1) there was such feature. Was this removed or this is package related problem?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Syntax Highlighting in Kwrite

Tue Jul 20, 2010 4:27 pm
you mean in settings -> configure editor -> fonts & colors -> Normal Text Styles ?

If you're using kwrite for writing programs you'd be better off using kate (it's got tabs and much more)


OpenSuse Leap 42.1 x64, Plasma 5.x

airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Syntax Highlighting in Kwrite

Tue Jul 20, 2010 5:34 pm
He may also be referring to changing the highlighting mode for the current file. Under the default, there is no way to do so, but you can enable the menu via Settings -> Configure Editor -> Appearance -> Enable power user mode (KDE 3 mode). Upon restart of Kwrite (among other options added), there will be more submenus added to the Tools menu to allow you to change the highlighting mode for the current file.


airdrik, proud to be a member of KDE forums since 2008-Dec.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Syntax Highlighting in Kwrite

Tue Jul 20, 2010 5:59 pm
airdrik wrote:He may also be referring to changing the highlighting mode for the current file. Under the default, there is no way to do so, but you can enable the menu via Settings -> Configure Editor -> Appearance -> Enable power user mode (KDE 3 mode). Upon restart of Kwrite (among other options added), there will be more submenus added to the Tools menu to allow you to change the highlighting mode for the current file.


doesn't that sort of turn kwrite into kate without the tabs?


OpenSuse Leap 42.1 x64, Plasma 5.x

john_hudson
Registered Member
Posts
549
Karma
2
OS

Re: Syntax Highlighting in Kwrite

Tue Jul 20, 2010 9:19 pm
I think you are probably confusing Kate (which does have syntax highlighting) with Kwrite (which does not). Previously Kate was part of the default openSUSE install and so, if anyone had had Kate as first preference in file associations, it would be used automatically. However, Kate is no longer part of the default install; so anyone who used to use Kate but has not installed it will find that openSUSE defaults to Kwrite instead.


John Hudson, proud to be a member of KDE forums since 2008-Oct.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Syntax Highlighting in Kwrite

Tue Jul 20, 2010 9:39 pm
john_hudson wrote:I think you are probably confusing Kate (which does have syntax highlighting) with Kwrite (which does not). Previously Kate was part of the default openSUSE install and so, if anyone had had Kate as first preference in file associations, it would be used automatically. However, Kate is no longer part of the default install; so anyone who used to use Kate but has not installed it will find that openSUSE defaults to Kwrite instead.


as explained earlier in this thread by airdrik, if using "power user mode" syntax highlighting is available in kwrite


OpenSuse Leap 42.1 x64, Plasma 5.x

airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Syntax Highlighting in Kwrite

Wed Jul 21, 2010 9:45 pm
google01103 wrote:
airdrik wrote:He may also be referring to changing the highlighting mode for the current file. Under the default, there is no way to do so, but you can enable the menu via Settings -> Configure Editor -> Appearance -> Enable power user mode (KDE 3 mode). Upon restart of Kwrite (among other options added), there will be more submenus added to the Tools menu to allow you to change the highlighting mode for the current file.


doesn't that sort of turn kwrite into kate without the tabs?

Pretty much ;)
john_hudson wrote:I think you are probably confusing Kate (which does have syntax highlighting) with Kwrite (which does not). Previously Kate was part of the default openSUSE install and so, if anyone had had Kate as first preference in file associations, it would be used automatically. However, Kate is no longer part of the default install; so anyone who used to use Kate but has not installed it will find that openSUSE defaults to Kwrite instead.


Basically, Kwrite is the editing component of Kate in its own separate application (one document per instance). Note that Konqueror also uses this same component for embedded text editing, and I think Kdevelop uses it as well.
By default Kwrite is set up with a basic interface which is geared towards most basic text editing tasks, but still has most of the more advanced editing capabilities enabled (like syntax highlighting for recognized file types which is most files - power user move only enables extra menus for changing the highlighting mode for the current file, e.g. switching from plain text to xml), while Kate is set up with an advanced interface geared more towards power-users/programmers; adding such features as MDI (tabs), embedded terminal, plugins, session management, and a convenient sidebar for file browsing, project management, and symbol navigation.


airdrik, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]