Start a new topic

Copy-paste code: bug or feature?

I have noticed strange thing. When I try to copy code from object and there is variable in code, it cuts everything after dot.  For example if I try to copy this code:

if(Sys.flt.val>0)
{
  if(flt_flag.val==0)
{
    page 1
    flt_flag.val=1
}

 I will paste only:

 

if(Sys.flt.val>0)
{
  if(flt_flag

 So is this a bug? Should I vreate topic in bug report?


Feature.  Whole lines and blocks can also copy.

 

pic m2.x+sys1-8,m2.y+sys2-8,6

 

sys0=0
if(shf.val==4)
{
  sys0=2
}
if(shf.val==6)
{
  sys0=2
}
if(shf.val==8)
{
  sys0=2
}
if(sys0==2)
{
  shf.val=7
  sys1=shf.val/3*8
  sys2=shf.val%3*8
  pic m2.x+sys1-8,m2.y+sys2-8,6
  spd.val=0
  for(sys0=1;sys0<7;sys0++)
  {
    b[sys0].bco=0
  }
}

 

Not a bug, not for Bug Report.

Cut-Copy-Paste is controlled by Windows.  Ensure desired is highlighted.

Try in timer. In Button ok

It probably was local problem.. Restarted editor, copies fine. False alarm. Sorry. :P 

Login or Signup to post a comment