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

kedit sources?

Tags: None
(comma "," separated)
janpla
Registered Member
Posts
71
Karma
0

kedit sources?

Tue Mar 15, 2011 8:01 am
After I installed KDE4 (with the newest Debian) I found kedit is missing - apparently it is no longer part of KDE, but I like it for its simplicity and dislike the alternatives for various reasons, such as the insistence on syntax highlighting and "rich text". But, this is open source, so I just need to download the sources - except I don't know where I can find them. Can somebody tell me, please?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: kedit sources?

Tue Mar 15, 2011 11:41 am
Kate should be a .deb package, if it's not there it's a packaging problem and the packager should be notified

http://packages.debian.org/search?keywords=kate


OpenSuse Leap 42.1 x64, Plasma 5.x

janpla
Registered Member
Posts
71
Karma
0

Re: kedit sources?

Tue Mar 15, 2011 2:22 pm
But kate is not kedit, I believe?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: kedit sources?

Tue Mar 15, 2011 2:33 pm
my bad, it's early and I misread (Kedit - no tabs = no interest)

I checked on my openSuse install and it's not there, guess it was dropped (in 4.5.x or 4.6)

it should be available in kdebase3 if you can install that and wish to run a kde3 app

isn't kwrite and kedit pretty identical? kwrite still is available on my system, have you tried it?


OpenSuse Leap 42.1 x64, Plasma 5.x

airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: kedit sources?

Tue Mar 15, 2011 3:12 pm
Kedit is like kwrite, only without syntax highlighting (I just checked and I didn't see any quick-and-easy way to disable syntax highlighting in kwrite). I'm not sure if there were other differences.
There's a reference here: http://linuxappfinder.com/package/kedit, says that it was in the kdeutils package in KDE 3.5. You might check out Trinity's (fork of KDE 3.5) sources to see if they have it there.

Alternatively, I imagine that it would probably be pretty easy to throw together a quick-and-dirty app using Qt's plain text editor component with just open,save,and edit basics (maybe font select).


airdrik, proud to be a member of KDE forums since 2008-Dec.
janpla
Registered Member
Posts
71
Karma
0

Re: kedit sources?

Tue Mar 15, 2011 3:33 pm
Thanks for trying to help, guys. I suppose it isn't that big a deal, and I will get used to something else. It is a shame, though, that they decide to throw out something useful all together - at least they collect the best in a "legacy package" with some or all of the old, but quite good applications.

Yes, I have tried kwrite - it isn't a bad application as such, but the syntax highlighting makes me thinks I'm high on bad acid.
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: kedit sources?

Tue Mar 15, 2011 6:15 pm
If you want everything black and white, you can import the colour schema I've attached (first extract the .kateschema file with gunzip).

1. Go to Settings > Configure editor -> Fonts and colors -> Import schema
2. Enter a name for it ("kwrite - plain" for example)
3. Default schema for kwrite -> choose "kwrite - plain"

---

The reason kedit doesn't exist anymore is that it was 95% same as kwrite and it didn't have a maintainer. (IIRC)


Image
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: kedit sources?

Wed Mar 16, 2011 11:21 am
p.s. If this is sufficient, please mark the thread as solved (the green check icon below the post)


Image
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: kedit sources?

Wed Mar 16, 2011 11:41 am
Ivan is this the same as the schema "kwrite normal" available in Kate?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: kedit sources?

Wed Mar 16, 2011 12:14 pm
No, the 'normal' one has highlighting enabled - this is all black on white.

(I did make it from the 'normal' one, but filtered through sed to remove the colours)


Image
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: kedit sources?

Wed Mar 16, 2011 12:34 pm
I see no "import schema", I see "new" but no import (running 4.6.1)


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: kedit sources?

Wed Mar 16, 2011 12:51 pm
google01103 wrote:I see no "import schema", I see "new" but no import (running 4.6.1)


Maybe it is new for 4.7, have no idea.

http://imagebin.org/143320

Anyhow, I guess that the file can be saved in some special kate folder or something...


Image
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: kedit sources?

Wed Mar 16, 2011 12:56 pm


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: kedit sources?

Wed Mar 16, 2011 1:03 pm
The file that contains the schemas (the imported ones are not in separate files unfortunately) is in .kde/config/katesyntaxhighlightingrc

Mine is attached.

Essentially, it looks like it is just a matter of
cat "filewithschema" >> .kde/config/katesyntaxhighlightingrc

(backup before doing this)


Image


Bookmarks



Who is online

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