|
From: Matthieu C. <cho...@gm...> - 2005-05-23 12:34:39
|
2005/5/23, Nicholas O'Leary <no...@de...>: >=20 > Matthieu Casanova wrote: >=20 > > Hi I wrote a simple macro to switch the line where is the caret with > > the next or the previous line. > > But I had to create two macros, one to switch with previous, one to > > switch with next line. > > Is it possible to send parameters to my macro ? (in fact do not have > > direct association from shortcut to macro, but from shortcut to a > > beanshell expression that will call my macro. >=20 > Whilst not an answer to your actual question, you should look at the > existing macros for doing this very job: > Macros->Editing->Move Line (Up/Down) >=20 > Regards, > N >=20 Thanks, I wrote two macros with a copy of the same function but with=20 different parameters, but in fact your macro do the same job so I delete=20 mine |