Opened 8 years ago

Last modified 8 years ago

#4250 closed defect

Code folding not always works — at Version 1

Reported by: massimo ceraolo Owned by: Per Östlund
Priority: high Milestone: 1.11.0
Component: OMEdit Version:
Keywords: Cc: Adrian Pop

Description (last modified by massimo ceraolo)

from time to time I come across models in which code is not folded. I cannot envisage when this occurs.
I have just an example showing the issue, which I cannot simplify, since when I try the issue is not there anymore.
I attach the example in the file FoldingIssue.mo. Annotations do not fold in "SubPkg.NotFoldingModel"

Moreover, it seems that code folding is not applied whenever line wrapping is disabled. I think the two options should be applicable independently, as it is hinted also in the way they are proposed in Tools|Options|Text editor window.

Tested on the following (Win) version:

OMEdit v1.12.0-dev-40-g0af374d (64-bit) Connected to v1.12.0-dev-54-gc3e6c1b (64-bit)

Change History (2)

by massimo ceraolo, 8 years ago

Attachment: FoldingiIssue .mo added

comment:1 by massimo ceraolo, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.