- Subject: Re: More on jed CUA mode
 
- From: "John E. Davis" <davis>
 
- Date: Mon, 6 Jan 2003 03:46:46 -0500
 
Andy Sy <andy@xxxxxxxxxxx> wrote:
>1) Is it possible to for TAB to invoke 
>self_insert_cmd or insert_line instead of
>fix_indent when no region is highlighted?
You would have to write a custom indent routine for this, something
along the lines of:
    define indent_line_or_insert ()
    {
        if (0 == is_visible_mark ()
	  {
	     call ("self_insert_cmd");
	     return;
	  }
	% indent code here...
    }
Good luck,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
  [2003 date index]
  [2003 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]