<commit_before>package codeOrchestra.colt.as.ui.settingsForm

import codeOrchestra.colt.as.ui.settingsForm.compilerSettings.BuildSettingsForm
import codeOrchestra.colt.as.ui.settingsForm.compilerSettings.CompilerSettingsForm
import codeOrchestra.colt.as.ui.settingsForm.compilerSettings.ProductionBuildForm
import codeOrchestra.colt.as.ui.settingsForm.compilerSettings.SDKSettingsForm
import codeOrchestra.colt.as.ui.settingsForm.liveSettings.LauncherForm
import codeOrchestra.colt.as.ui.settingsForm.liveSettings.LiveSettingsForm
import codeOrchestra.colt.as.ui.settingsForm.liveSettings.SettingsForm
import codeOrchestra.colt.as.ui.settingsForm.liveSettings.TargetForm
import codeOrchestra.colt.as.ui.settingsForm.projectPaths.ProjectPathsForm
import codeOrchestra.colt.as.ui.settingsForm.projectPaths.TemplateForm
import codeOrchestra.colt.core.tracker.GAController
import codeOrchestra.colt.core.ui.components.advancedSeparator.AdvancedSeparator
import javafx.animation.KeyFrame
import javafx.animation.Timeline
import javafx.beans.InvalidationListener
import javafx.event.EventHandler
import javafx.geometry.Bounds
import javafx.geometry.Insets
import javafx.geometry.Pos
import javafx.scene.Parent
import javafx.scene.control.Button
import javafx.scene.control.ScrollPane
import javafx.scene.layout.VBox
import javafx.util.Duration

/**
 * @author <NAME>
 */
class AsSettingsForm extends ScrollPane{

    private Button saveAndRunButton
    EventHandler saveRunAction

    AdvancedSeparator separator

    private List<IFormValidated> validatedForms

    AsSettingsForm() {

        setId("settings-form")

        styleClass.add("scroll-pane-settings")

        validatedForms = new ArrayList<>()

        VBox vBox = new VBox()
        vBox.alignment = Pos.TOP_CENTER

        //paths
        ProjectPathsForm projectPaths = new ProjectPathsForm()
        projectPaths.first = true
        validatedForms.add(projectPaths)
        vBox.children.add(projectPaths)
        //paths

        separator = new AdvancedSeparator()
        vBox.children.add(separator)

        saveAndRunButton = separator.saveButton
        saveAndRunButton.onAction = saveRunAction

        VBox advancedVBox = new VBox()
        VBox.setMargin(advancedVBox, new Insets(0, 0, 72, 0))
        advancedVBox.padding = new Insets(0, 0, 18, 0)
        separator.content = advancedVBox
        advancedVBox.visibleProperty().addListener({ javafx.beans.Observable observable ->
            layoutChildren()
        } as InvalidationListener)<commit_msg>fix for windows<commit_after>package codeOrchestra.colt.as.ui.settingsForm

import codeOrchestra.colt.as.ui.settingsForm.compilerSettings.BuildSettingsForm
import codeOrchestra.colt.as.ui.settingsForm.compilerSettings.CompilerSettingsForm
import codeOrchestra.colt.as.ui.settingsForm.compilerSettings.ProductionBuildForm
import codeOrchestra.colt.as.ui.settingsForm.compilerSettings.SDKSettingsForm
import codeOrchestra.colt.as.ui.settingsForm.liveSettings.LauncherForm
import codeOrchestra.colt.as.ui.settingsForm.liveSettings.LiveSettingsForm
import codeOrchestra.colt.as.ui.settingsForm.liveSettings.SettingsForm
import codeOrchestra.colt.as.ui.settingsForm.liveSettings.TargetForm
import codeOrchestra.colt.as.ui.settingsForm.projectPaths.ProjectPathsForm
import codeOrchestra.colt.as.ui.settingsForm.projectPaths.TemplateForm
import codeOrchestra.colt.core.tracker.GAController
import codeOrchestra.colt.core.ui.components.advancedSeparator.AdvancedSeparator
import javafx.animation.KeyFrame
import javafx.animation.Timeline
import javafx.beans.InvalidationListener
import javafx.event.EventHandler
import javafx.geometry.Bounds
import javafx.geometry.Insets
import javafx.geometry.Pos
import javafx.scene.Parent
import javafx.scene.control.Button
import javafx.scene.control.ScrollPane
import javafx.scene.layout.VBox
import javafx.util.Duration

/**
 * @author <NAME>
 */
class AsSettingsForm extends ScrollPane{

    private Button saveAndRunButton
    EventHandler saveRunAction

    AdvancedSeparator separator

    private List<IFormValidated> validatedForms

    AsSettingsForm() {

        setId("settings-form")

        styleClass.add("scroll-pane-settings")

        validatedForms = new ArrayList<>()

        VBox vBox = new VBox()
        vBox.alignment = Pos.TOP_CENTER

        //paths
        ProjectPathsForm projectPaths = new ProjectPathsForm()
        projectPaths.first = true
        validatedForms.add(projectPaths)
        vBox.children.add(projectPaths)
        //paths

        separator = new AdvancedSeparator()
        vBox.children.add(separator)

        saveAndRunButton = separator.saveButton
        saveAndRunButton.onAction = saveRunAction

        VBox advancedVBox = new VBox()
        VBox.setMargin(advancedVBox, new Insets(0, 0, 72, 0))
        advancedVBox.padding = new Insets(0, 0, 18, 0)
        separator.content = advancedVBox
        //hac for windows
        advancedVBox.visibleProperty().addListener({ javafx.beans.Observable observable ->
            layoutChildren()
        } as InvalidationListener)
        //end hac for windows
{'fraction_non_alphanumeric': 0.08043732916829363, 'fraction_numerical': 0.003904724716907458, 'mean_word_length': 4.164314516129032, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2768382', 'n_tokens_mistral': 1478, 'n_tokens_neox': 1450, 'n_words': 248}