K-IDE support forum
Find all information about Kawasaki's Integrated Development Environment

Collapse "ELSE" state

#1 by dm.bogachev , Fri Apr 07, 2023 2:53 pm

Hello! I think that it will be a good idea to add a function to collapse not only the whole IF condition, but the ELSE too. I add a picture of what I mean. Thank you in advance!


 
dm.bogachev
Posts: 18
Date registered 09.28.2021


RE: Collapse "ELSE" state

#2 by cquante , Fri Apr 14, 2023 9:28 am

Hi,
thank you for your suggestion!

I agree with you, but it's a bit more difficult than expected.

In FCTB every line got a "FoldingStartMarker" and a "FoldingEndMarker". In a IF-ELSE constallation, the ELSE command is a start marker and also the end marker of the IF command. But this will not work with FCTB. As a solution, I set the end marker one line before the ELSE command. I have to check and test that solution.


Christian Quante
Technical Sales
Sales Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


 
cquante
Posts: 281
Date registered 12.20.2019


   

Copy positions
Multi-tab(Project)



Xobor Xobor Community Software
Datenschutz