Is there a auto-format command/short-cut in the Dymola text editor that will take care of the proper tab spacing?
Example:
Original
model test
Real tabCorrecet;
Real tabIncorrect;
equation
for i in 1:m loop
ImTabbedWrong=moveMe;
end for; //me too!!!
end test;
Fixed via One Button Click/hotkey
model test
Real tabCorrecet;
Real tabIncorrect;
equation
for i in 1:m loop
ImTabbedWrong=moveMe;
end for; //me too!!!
end test;
Highlight what you want formatted, or ctrl+A
for the entire file, and then press ctrl+shift+L
or right click and select Reformat Selection
.