RepreZen / KaiZen-OpenAPI-Editor

Eclipse Editor for the Swagger-OpenAPI Description Language
Eclipse Public License 1.0
115 stars 12 forks source link

Folded code blocks unfold spontaneously on edit #433

Closed tedepstein closed 6 years ago

tedepstein commented 6 years ago

KZOE supports code folding, but apparently it's fragile. A user reports here that it tends to unfold spontaneously. I have observed this happening with code assist, or sometimes with just routine editing in RepreZen API Studio. I have not tested this with KZOE independent of API Studio.

@ghillairet , it would be helpful to have a look at this and determine a rough effort estimate to fix it.

tfesenko commented 6 years ago

Similar issue: #418: Folded sections auto expanding when adding content. I started work on it four months ago on branch https://github.com/RepreZen/KaiZen-OpenAPI-Editor/commits/task/418 . I don't remember why I did not create a PR for it. Probably wanted to estimate impact on performance first.

tedepstein commented 6 years ago

It seems this issue is a duplicate, so I'll close it, and move some comments over to #418.