jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

bol improvement


Hi,

an idea for extending the functionality of beg_of_line:

%!%+
%\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()}
%!%-
public define jbol()
{
    if (bolp())
      skip_white();
    else
      bol();
}

Bye, Jörg.
-- 
“Hey, dad, you see how this man can twist his fingers? Amazing, isn't
it?” “No, son, not really. He's been using Emacs for ten years…”

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]