qbs* FUNC_GETSELECTEDTEXT(int8*_FUNC_GETSELECTEDTEXT_BYTE_MULTILINE){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data375.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
if (is_error_pending()) goto exit_subfunc;
S_62535:;
if ((*__LONG_IDESELECT)||is_error_pending()){
if(qbevent){evnt(25769,20503,"ide_methods.bas");if(r)goto S_62535;}
do{
*_FUNC_GETSELECTEDTEXT_LONG_SY1=*__LONG_IDESELECTY1;
if(!qbevent)break;evnt(25769,20504,"ide_methods.bas");}while(r);
do{
*_FUNC_GETSELECTEDTEXT_LONG_SY2=*__LONG_IDECY;
if(!qbevent)break;evnt(25769,20505,"ide_methods.bas");}while(r);
S_62538:;
if ((-(*_FUNC_GETSELECTEDTEXT_LONG_SY1>*_FUNC_GETSELECTEDTEXT_LONG_SY2))||is_error_pending()){
if(qbevent){evnt(25769,20506,"ide_methods.bas");if(r)goto S_62538;}
do{
swap_32(&*_FUNC_GETSELECTEDTEXT_LONG_SY1,&*_FUNC_GETSELECTEDTEXT_LONG_SY2);
if(!qbevent)break;evnt(25769,20506,"ide_methods.bas");}while(r);
}
do{
*_FUNC_GETSELECTEDTEXT_LONG_SX1=*__LONG_IDESELECTX1;
if(!qbevent)break;evnt(25769,20507,"ide_methods.bas");}while(r);
do{
*_FUNC_GETSELECTEDTEXT_LONG_SX2=*__LONG_IDECX;
if(!qbevent)break;evnt(25769,20508,"ide_methods.bas");}while(r);
S_62543:;
if ((-(*_FUNC_GETSELECTEDTEXT_LONG_SX1>*_FUNC_GETSELECTEDTEXT_LONG_SX2))||is_error_pending()){
if(qbevent){evnt(25769,20509,"ide_methods.bas");if(r)goto S_62543;}
do{
swap_32(&*_FUNC_GETSELECTEDTEXT_LONG_SX1,&*_FUNC_GETSELECTEDTEXT_LONG_SX2);
if(!qbevent)break;evnt(25769,20509,"ide_methods.bas");}while(r);
}
S_62546:;
fornext_value7044=*_FUNC_GETSELECTEDTEXT_LONG_SY1;
fornext_finalvalue7044=*_FUNC_GETSELECTEDTEXT_LONG_SY2;
fornext_step7044= 1 ;
if (fornext_step7044<0) fornext_step_negative7044=1; else fornext_step_negative7044=0;
if (is_error_pending()) goto fornext_error7044;
goto fornext_entrylabel7044;
while(1){
fornext_value7044=fornext_step7044+(*_FUNC_GETSELECTEDTEXT_LONG_Y);
fornext_entrylabel7044:
*_FUNC_GETSELECTEDTEXT_LONG_Y=fornext_value7044;
if (fornext_step_negative7044){
if (fornext_value7044<fornext_finalvalue7044) break;
}else{
if (fornext_value7044>fornext_finalvalue7044) break;
}
fornext_error7044:;
if(qbevent){evnt(25769,20510,"ide_methods.bas");if(r)goto S_62546;}
S_62547:;
if ((-(*_FUNC_GETSELECTEDTEXT_LONG_Y<=*__LONG_IDEN))||is_error_pending()){
if(qbevent){evnt(25769,20511,"ide_methods.bas");if(r)goto S_62547;}
do{
qbs_set(_FUNC_GETSELECTEDTEXT_STRING_A,FUNC_IDEGETLINE(_FUNC_GETSELECTEDTEXT_LONG_Y));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,20512,"ide_methods.bas");}while(r);
S_62549:;
if ((-(*_FUNC_GETSELECTEDTEXT_LONG_SY1==*_FUNC_GETSELECTEDTEXT_LONG_SY2))||is_error_pending()){
if(qbevent){evnt(25769,20513,"ide_methods.bas");if(r)goto S_62549;}
S_62550:;
fornext_value7046=*_FUNC_GETSELECTEDTEXT_LONG_SX1;
fornext_finalvalue7046=*_FUNC_GETSELECTEDTEXT_LONG_SX2- 1 ;
fornext_step7046= 1 ;
if (fornext_step7046<0) fornext_step_negative7046=1; else fornext_step_negative7046=0;
if (is_error_pending()) goto fornext_error7046;
goto fornext_entrylabel7046;
while(1){
fornext_value7046=fornext_step7046+(*_FUNC_GETSELECTEDTEXT_LONG_X);
fornext_entrylabel7046:
*_FUNC_GETSELECTEDTEXT_LONG_X=fornext_value7046;
if (fornext_step_negative7046){
if (fornext_value7046<fornext_finalvalue7046) break;
}else{
if (fornext_value7046>fornext_finalvalue7046) break;
}
fornext_error7046:;
if(qbevent){evnt(25769,20514,"ide_methods.bas");if(r)goto S_62550;}
S_62551:;
if ((qbs_cleanup(qbs_tmp_base,-(*_FUNC_GETSELECTEDTEXT_LONG_X<=_FUNC_GETSELECTEDTEXT_STRING_A->len)))||is_error_pending()){
if(qbevent){evnt(25769,20515,"ide_methods.bas");if(r)goto S_62551;}
do{
qbs_set(_FUNC_GETSELECTEDTEXT_STRING_CLIP,qbs_add(_FUNC_GETSELECTEDTEXT_STRING_CLIP,func_mid(_FUNC_GETSELECTEDTEXT_STRING_A,*_FUNC_GETSELECTEDTEXT_LONG_X, 1 ,0|1)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,20515,"ide_methods.bas");}while(r);
}else{
do{
qbs_set(_FUNC_GETSELECTEDTEXT_STRING_CLIP,qbs_add(_FUNC_GETSELECTEDTEXT_STRING_CLIP,qbs_new_txt_len(" ",1)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,20515,"ide_methods.bas");}while(r);
}
fornext_continue_7045:;
}
fornext_exit_7045:;
}else{
S_62558:;
if ((~(*_FUNC_GETSELECTEDTEXT_BYTE_MULTILINE))||is_error_pending()){
if(qbevent){evnt(25769,20518,"ide_methods.bas");if(r)goto S_62558;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25769,20518,"ide_methods.bas");}while(r);
}
S_62561:;
if (((-(*__LONG_IDECX== 1 ))&(-(*_FUNC_GETSELECTEDTEXT_LONG_Y==*_FUNC_GETSELECTEDTEXT_LONG_SY2))&(-(*__LONG_IDECY>*_FUNC_GETSELECTEDTEXT_LONG_SY1)))||is_error_pending()){
if(qbevent){evnt(25769,20519,"ide_methods.bas");if(r)goto S_62561;}
do{
goto LABEL_NOFINALCOPY;
if(!qbevent)break;evnt(25769,20519,"ide_methods.bas");}while(r);
}
do{
qbs_set(_FUNC_GETSELECTEDTEXT_STRING_CLIP,qbs_add(qbs_add(qbs_add(_FUNC_GETSELECTEDTEXT_STRING_CLIP,_FUNC_GETSELECTEDTEXT_STRING_A),func_chr( 13 )),func_chr( 10 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,20520,"ide_methods.bas");}while(r);
LABEL_NOFINALCOPY:;
if(qbevent){evnt(25769,20521,"ide_methods.bas");r=0;}
S_62565:;
if ((qbs_cleanup(qbs_tmp_base,(-(*_FUNC_GETSELECTEDTEXT_LONG_Y==*_FUNC_GETSELECTEDTEXT_LONG_SY2))&(-(*__LONG_IDECX> 1 ))&(-(_FUNC_GETSELECTEDTEXT_STRING_A->len> 0 ))))||is_error_pending()){
if(qbevent){evnt(25769,20522,"ide_methods.bas");if(r)goto S_62565;}
do{
qbs_set(_FUNC_GETSELECTEDTEXT_STRING_CLIP,qbs_left(_FUNC_GETSELECTEDTEXT_STRING_CLIP,_FUNC_GETSELECTEDTEXT_STRING_CLIP->len- 2 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,20522,"ide_methods.bas");}while(r);
}
}
}
fornext_continue_7043:;
}
fornext_exit_7043:;
do{
qbs_set(_FUNC_GETSELECTEDTEXT_STRING_GETSELECTEDTEXT,_FUNC_GETSELECTEDTEXT_STRING_CLIP);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,20526,"ide_methods.bas");}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free375.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
qbs_maketmp(_FUNC_GETSELECTEDTEXT_STRING_GETSELECTEDTEXT);return _FUNC_GETSELECTEDTEXT_STRING_GETSELECTEDTEXT;
}
