Replace your v11.0.2 code for cut_end_line in clipbd.e with the code below. Don't forget to load the new module Macro>Load Module... The problem was that the start column for the clipboard wasn't being stored.
_command cut_end_line(boolean push=true) name_info(','VSARG2_TEXT_BOX|VSARG2_REQUIRES_EDITORCTL)
{
_str cmdname=name_name(last_index('','C'));
boolean executed_from_key=name_name(last_index()):==translate(cmdname,'-','_');
typeless mark_pos=0;
typeless mark='';
_str line='';
_str rest='';
_str key='';
int col=0;
int i,count=1;
typeless status=0;
if ( command_state() ) {
get_command(line,col);
rest=substr(line,col);
if ( rest:=='' ) return(0);
line=substr(line,1,col-1);
set_command(line);
prev_index(0,'C');last_index(0,'C');
col=0;
} else {
if (_on_line0()) {
return(0);
}
count=1;
if (executed_from_key) {
key=last_event();
while (test_event('r'):==key && count<30) {
++count;get_event('r');
}
}
mark=_alloc_selection();
if (mark<0) {
status=TOO_MANY_SELECTIONS_RC;
message(get_message(status));
return(status);
}
save_pos(mark_pos);
_select_char(mark);col=p_col;
for (i=1;i<=count;++i) {
if ( p_col>_text_colc(0,'E')) {
if(down()){
count=i-1;
break;
}
_begin_line();
} else {
_TruncEndLine();
}
}
_select_char(mark);
restore_pos(mark_pos);
if (count<1) {
_free_selection(mark);
message(get_message(BOTTOM_OF_FILE_RC));
return(BOTTOM_OF_FILE_RC);
}
}
if ( push && name_name(prev_index('','C'))!='cut-end-line' ) {
status=push_clipboard_itype('CHAR','',col,_isEditorCtl()?p_UTF8:_UTF8());
if ( status ) return(status);
}
if (mark=='') {
return(append_clipboard_text(rest));
}
status=append_cut2(mark,true);
_free_selection(mark);
for(;
{
erase_end_line();
if (!(--count)) break;
_undo('s');
}
return(status);
}