jed-users mailing list

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

RE: read_mini(prompt,str1,str2)


On Wed, 1 Mar 2006 19:00:14 +0800, <Lechee.Lai@xxxxxxxxxxxx> said:

> Guenter,

>   Just an sample I want to read_mini(arg0,arg1,arg2) in other slang and
> retrieve in mini.sl, for example ctags.sl have return read_mini ("Find
> tag:", get_word_at_point (word_chars), ""); I want prompt "Find tag"
> make a key alt-Dn pull get_word_at_point() in text for modify

Maybe you mean something like this:

define mini_get_word()
{
   otherwindow();
   variable w = get_word();
   loop(10)
     {
	otherwindow();
	if (" <mini>" == whatbuf())
	  {
	     erase_buffer();
	     insert(w);
	     return;
	  }
	
     }
}

definekey("mini_get_word", Key_Alt_Down, "Mini_Map");

--------------------------
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]