- Subject: Ann: jtools.sl
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Tue, 8 Aug 2006 00:23:05 +0000 (UTC)
Hi,
I've outsourced some useful tools I've written for me and make them now
public.
http://www.minet.uni-jena.de/~joergs/jjm/jtools.sl
%!%+
%\function{jbol}
%\synopsis{Jumps to the begin of line or the first non-space character}
%\description
% This function is an extension of beg_of_line. Additionaly, if call it
% at the begin of line it skips all white space characters. It's really
% handy if you use indention.
%\seealso{beg_of_line(), bol()}
%!%-
%!%+
%\function{jdel_region_or_char}
%\synopsis{Deletes a region or a character}
%\description
% If you want to delete a region if one is defined and a charater if no
% region is defined with the same key, use this function.
%
% You may map it to ^D to remove regions and preserve the old behaviour
% if no region is defined.
%!%-
%!%+
%\function{jtoggle_word_case}
%\synopsis{Toggles the case of the first character of this word}
%\description
% This function is a combination of upcase_word and downcase_word. It
% modifies the character after the first non-word character. If it is
% lower case it makes it upper case and vice versa.
%!%-
%!%+
%\function{jtrim}
%\synopsis{Removes all but one white space character}
%\description
% This function is a modified trim(). It leaves one space stay, except it
% was called at the end of line or begin of line.
%\seealso{trim()}
%!%-
%!%+
%\function{jkill_line}
%\synopsis{Deletes the whole line}
%\description
% This function is like
% bol();
% variable old_klf = KILL_LINE_FEATURE;
% KILL_LINE_FEATURE = 1;
% yp_kill_line();
% KILL_LINE_FEATURE = old_klf;
% except it does not push the line to the kill array.
%
% It deletes the whole line independent of where the editing point is.
%\seealso{yp_kill_line(), emacs_yp_kill_line()}
%!%-
%!%+
%\function{jwc}
%\synopsis{Prints the characters and lines in the region}
%\description
% This function like the Unix wc command. It prints the count of lines
% and characters in a region.
%!%-
%!%+
%\function{jdquotes}
%\synopsis{Insert a language dependent double quotation mark character}
%\description
% It inserts a left double quotation mark character if the last quotation
% was closed by a right one, otherwise it inserts a right one.
%\seealso{jsquotes()}
%!%-
%!%+
%\function{jsquotes}
%\synopsis{Insert a language dependent single quotation mark character}
%\description
% It inserts a left single quotation mark character if the last quotation
% was closed by a right one, otherwise it inserts a right one.
%\seealso{jdquotes()}
%!%-
%!%+
%\function{jdots}
%\synopsis{Replaces three dots by the UTF-8 character for three dots}
%\description
% This is only to increase the quality of typography in your texts. If
% you insert three dots ... they get replaced by â?¦ (the UTF-8 character
% for three dots).
%!%-
%!%+
%\function{jdash}
%\synopsis{Insert replace two or three dash by en resp. em dash}
%\description
% Insert a dash, en dash and em dash if pressed one time, two times or
% three times.
%!%-
Have fun, Jörg.
--
Im Leben lernt der Mensch als erstes das Gehen und Sprechen.
Später lernt er still zu sitzen und den Mund zu halten.
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]