Comment unfolded code

Beta Testing discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

Comment unfolded code

#1 Post by Kalain » 01 Apr 2009 14:36

Hi,

That's quite a good news to see code folding feature coming back.
There is may be a problem if you want to comment unfolded code. (code not deployed)

1/ It's not possible to comment unfolded (not deployed) code ie add a ' character through keyboard but it's possible to add it with "Comment icon" or Shift+CTRL+.

2/If you comment unfolded (not deployed) code, it comment only first line, it doesn't comment all lines contained in unfolded bracket structure!!!

does this means that I have first to deploy code in order too comment it ?
That's not very cool and not very efficient.

I guess a feature is missing here.
Alain

Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

#2 Post by Kalain » 01 Apr 2009 14:48

I have to add some precisions.

In fact when code is unfolded, you cant add a simple and single comment character like you can do it with a single line.
You have to select whole line and comment it.
At this stage unfolded code become commented code and is deployed same as all commented lines.

I was expected possibilities to comment unfolded code as you comment a single line.
This line (commented code) could stay commented and unfolded. (same as code)

This would save some screen space.
Alain

Post Reply

Return to “mikroBasic PRO for PIC Beta Testing”