Opened 8 years ago

#4328 new defect

OMEdit: bug when partial cutting folded annotations and UNDO

Reported by: Jan Kokert Owned by: Adeel Asghar
Priority: high Milestone: Future
Component: OMEdit Version:
Keywords: partial cutting folded annotations undo Cc:

Description

I observed a strange bug in OMEdit:

1.) Consider the following line of code (the annotation is folded)
Modelica.Electrical.Analog.Basic.Ground ground1 annotation( ...)

2.) Now select this line (without the newline) by placing the cursor under Mod... and (1) press [Shift]+[End] key or (2) press [Shift] key and click on ...).

3.) Then cut the line using [control]+[x] or via the context menu

4.) Undo the last step by using [control]+[z]

Result: The code folding icon (little plus) has vanished. It is not possible to get it back - you have to unload the library or restart OMEdit.

Change History (0)

Note: See TracTickets for help on using tickets.