Possible bug in the IDE

Beta Testing discussion on mikroC PRO for PIC.
Post Reply
Author
Message
kintekobo
Posts: 54
Joined: 21 Dec 2006 17:58
Location: Maidenhead
Contact:

Possible bug in the IDE

#1 Post by kintekobo » 03 Mar 2009 16:17

When highlighting a closing brace } in the IDE the system highlights the opening brace. Under certain circumstances the highlight is several places to the left of where it should be

Code: Select all

 
  while (1)
  {
     for (counter=0; counter<8; counter++)
    {  
 ^
  |========================Highlighted brace appears here   
      PORTB |= 1 << counter;
      PORTC |= 1 << counter;
      PORTD |= 1 << counter;
 
      wait();
    }  <===================== Select this brace
  }
I have some screen captures but there doesn't seem to be any way to add them to this message. Is there a simple way to add pictures to these messages?

User avatar
milan
mikroElektronika team
Posts: 1013
Joined: 04 May 2006 16:36
Contact:

Re: Possible bug in the IDE

#2 Post by milan » 04 Mar 2009 10:05

kintekobo wrote:When highlighting a closing brace } in the IDE the system highlights the opening brace. Under certain circumstances the highlight is several places to the left of where it should be

Code: Select all

 
  while (1)
  {
     for (counter=0; counter<8; counter++)
    {  
 ^
  |========================Highlighted brace appears here   
      PORTB |= 1 << counter;
      PORTC |= 1 << counter;
      PORTD |= 1 << counter;
 
      wait();
    }  <===================== Select this brace
  }
I tried to reproduce this but it doesn't happen, everything works fine.
Could you give us step-by-step explanation how to do this (with the code above).
kintekobo wrote: I have some screen captures but there doesn't seem to be any way to add them to this message. Is there a simple way to add pictures to these messages?
You should upload them to some webpage and then use "Img" button to link them to your post.
SmartADAPT2 rules !

Post Reply

Return to “mikroC PRO for PIC Beta Testing”