Heh, Intellij wants to convert ```setOnAction { ...
# tornadofx
p
Heh, Intellij wants to convert
Copy code
setOnAction {
                            for (prop in myProps) {
                                if( !prop.commit()) {
                                    break
                                }
                            }
                        }
into
Copy code
setOnAction {
                            myProps
                                    .filterNot { it.commit() }
                                    .forEach { break }
                        }
but then break isn't allowed and the meaning is different.