?

Log in

No account? Create an account
[patch] HTML markup menu - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[patch] HTML markup menu [Sep. 10th, 2003|03:42 pm]
LogJam

logjam

[k001]
I find it very annoying to have to enter <b>some words</b> in LogJam just for the text fragment to appear in bold, especially when I write in Russian and have to switch two times to English layout in order to type opening and closing “b” tags, and two times to switch back to Cyrillic. Also, the process itself is very error-prone.

So bacek wrote a simple patch which adds HTML markup menu. Currently it has the following items:

Bold (Ctrl-Alt-B)
Italic (Ctrl-Alt-I)
Underlined (Ctrl-Alt-U)
Strikeout (Ctrl-Alt-S)
Monospaced (Ctrl-Alt-M)

I find it very useful, and hope other LogJam users will find it useful too. The patch itself is quite straightforward. evan, can you commit it into CVS?

logjam-4.2.4-html_markup.patch (5.3k) | logjam-4.2.4-html_markup_rupo.patch (1k)

PS I’m aware of “structured text” (aka wiki-like markup) feature that is in LogJam CVS now. To my mind, both techniques can be used in parallel, as they are now interfering with each other. Personally, I prefer to see HTML; some people are more familiar with wiki markup - so both groups of users will benefit.
LinkReply

Comments:
From: evan
2003-09-10 10:40 am (UTC)
The HTML widget that LogJam uses is the one used by Evolution. So I think we can get WYSIWYG HTML editing, too, but I haven't looked into it.

(Also, in the future, patches should probably go to logjam_dev.)
(Reply) (Thread)
[User Picture]From: bacek
2003-09-10 03:24 pm (UTC)
Hi, I'm Bacek :)

I can look at WISIWYG mode editing at weekend, but I don't promise that will be simple to integrate it into logjam.

BTW, I've got this patch for SVN version of logjam. Did You need it?
(Reply) (Parent) (Thread)
[User Picture]From: k001
2003-09-11 12:23 am (UTC)
Well, personally, I don't like WYSIWYG...but I believe some people do.

Sure I will send patches to logjam_dev.
(Reply) (Parent) (Thread)
From: evan
2003-09-18 09:32 pm (UTC)
Committed (after updating to CVS logjam), thanks.

You can put your own copyright in the header of source you write, if you want...
(Reply) (Thread)
[User Picture]From: k001
2003-09-18 11:52 pm (UTC)
Oh, that's good news! ;)
(Reply) (Parent) (Thread)