Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3924 closed defect (fixed)

OMEdit arbitrarily adds line breaks to the source code upon save

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: blocker Milestone:
Component: OMEdit Version:
Keywords: Cc:

Description

During the last few months, we have satisfactorily used OMEdit for the development of our prototype library for power system modelling, using an SVN repo and eventually getting the desired behaviour, in terms of only getting the intended changes to the code base and nothing else.

Today I opened the library, using OMEdit v1.10.0-dev-120-g518da8d and OpenModelica v1.10.0-dev486g833bce9, moved a couple of blocks around in a block diagram and hit save. Upon checking the diff before committing, I was horrified to see hundreds of line breaks adde to some (not all) models, between each line of code.

I will now check if this still happens with the latest nightly - if it does, then it is a quite serious bug.

Change History (4)

comment:1 by Francesco Casella, 9 years ago

I confirm the same happens with the latest nightly build.

comment:2 by Adeel Asghar, 9 years ago

Can you provide a test case?

comment:3 by Adeel Asghar, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in bc76119/OMEdit.

comment:4 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.