« Return to Thread: Re: Quickquote: new line feature

Re: Quickquote: new line feature

by Daniel W. Steinbrook :: Rate this Message:

Reply to Author | View in Thread

Thank you, Ulrich! This is the true spirit of open source -- if a feature
isn't there, take the code and implement it yourself. This takes a
much-requested feature off the ever-growing QuickQuote todo list. Much
appreciated!

- Daniel W. Steinbrook


On Wednesday 13 June 2007 06:58:28 am you wrote:

> Hi developers of quickquote,
>
> I thought it would be nice to have a new line
> feature in your very very usefull extension.
>
> So I made one. Just have a look in the attached
> quickquoteOverlay2.js.
>
> Look for "// inserted by sunfish" at line 361
> ant beyond the new function newLine().
>
> It seemed to me the best, to replace %n at the
> very last process of prefs.phrase. Are line
> breaks inserted before, there are troubles with
> quoting.
>
> For example:
> ---------------------------------------------
> Hi %author,%n %n author wrote at %date %time:
> ---------------------------------------------
>
> is changed to
> ---------------------------------------------
> Hi Dan,
>
> Dan wrote at 13.th of June 13:02:
> ---------------------------------------------
>
> Just for Information:
> One blank before an after "%n" is deleted.
>
>
> Maybe you can use this snippet.
> I think it is quite useful.
>
> Greetings form Germany
>
> Ulrich
_______________________________________________
QuickQuote mailing list
QuickQuote@...
http://mozdev.org/mailman/listinfo/quickquote

 « Return to Thread: Re: Quickquote: new line feature