August 19, 2010 at 6:09 pm #8853
Yutaka Emura
Keymaster
Hello Derek,
Here is the macro to toggle between no wrap and wrap by window.
if( editor.QueryStatusByID( 4210 ) & eeStatusLatched ){
editor.ExecuteCommandByID( 4208 ); // no wrap
}
else {
editor.ExecuteCommandByID( 4210 ); // by window
}