<commit_before><?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.MenuButton?>
<?import javafx.scene.control.Spinner?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.*?>
<TabPane xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1"
         fx:controller="org.adonai.fx.editcontent.SongEditor" side="BOTTOM" fx:id="tabPane">

    <tabs>
        <Tab fx:id="tabStructureEditor" text="Structure Editor">
            <GridPane fx:id="root" hgap="20" vgap="20">
                <padding>
                    <Insets top="40" bottom="40" left="30" right="30"/>
                </padding>

                <columnConstraints>
                    <ColumnConstraints percentWidth="30"/>
                    <ColumnConstraints percentWidth="10"/>
                    <ColumnConstraints percentWidth="20"/>
                    <ColumnConstraints percentWidth="40"/>
                </columnConstraints>

                <Label fx:id="lblTitleStructureEditor" userData="editContent.lblTitle" text="EDIT SONGPARTS" id="header"
                       GridPane.halignment="CENTER" GridPane.columnSpan="4" GridPane.columnIndex="0"
                       GridPane.rowIndex="0"/>

                <ListView fx:id="lviStructure" GridPane.columnIndex="0" GridPane.rowIndex="1" GridPane.rowSpan="4"/>
                <VBox GridPane.columnIndex="1" GridPane.rowIndex="1" GridPane.valignment="CENTER" GridPane.rowSpan="4"
                      spacing="5">

                    <MenuButton fx:id="btnAdd"></MenuButton>
                    <MenuButton fx:id="btnCopy"></MenuButton>
                    <Button fx:id="btnRemove"></Button>
                    <Button fx:id="btnMoveUp"></Button>
                    <Button fx:id="btnMoveDown"></Button>

                </VBox>


                <Label fx:id="lblType" text="Part Type:" styleClass="editortext" GridPane.columnIndex="2"
                       GridPane.rowIndex="1"></Label>
                <ComboBox fx:id="cboType" styleClass="editortext" GridPane.columnIndex="3"
                          GridPane.rowIndex="1"></ComboBox>

                <Label fx:id="lblQuantity" text="Quantity:" styleClass="editortext" GridPane.columnIndex="2"
                       GridPane.rowIndex="2"></Label>
                <TextField fx:id="txtQuantity" styleClass="editortext" GridPane.columnIndex="3"
                           GridPane.rowIndex="2"></TextField>

                <Label fx:id="lblRemarks" text="Remarks:" styleClass="editortext" GridPane.columnIndex="2"
                       GridPane.rowIndex="3"></Label>
                <TextField fx:id="txtRemarks" styleClass="editortext" GridPane.columnIndex="3"
                           GridPane.rowIndex="3"></TextField>

                <Label fx:id="lblContent" text="Content:" styleClass="editortext" GridPane.columnIndex="2"
                       GridPane.rowIndex="4"></Label>
                <TextArea fx:id="txaText" styleClass="editortext" GridPane.vgrow="ALWAYS" GridPane.hgrow="ALWAYS"
                          GridPane.columnIndex="3" GridPane.rowIndex="4"></TextArea>
            </GridPane>
        </Tab>

        <!--<Tab fx:id="tabTextEditor" text="Text Editor">
            <BorderPane>
                <center>
                    <TextArea fx:id="txaAsText"></TextArea>
                </center>
            </BorderPane>
        </Tab>-->

        <Tab fx:id="tabSongProperties" text="Song Properties">
            <GridPane hgap="20" vgap="20">
                <padding>
                    <Insets top="40" bottom="40" left="30" right="30"/>
                </padding>
                <columnConstraints>
                    <ColumnConstraints percentWidth="20"/>
                    <ColumnConstraints percentWidth="20"/>
                    <ColumnConstraints percentWidth="40"/>
                    <ColumnConstraints percentWidth="20"/>
                </columnConstraints>

                <Label fx:id="lblTitleSongProperties" userData="songdetails.lblTitle" text="EDIT SONGPARTS" id="header"
                       GridPane.halignment="CENTER" GridPane.columnSpan="4" GridPane.columnIndex="0"
                       GridPane.rowIndex="0"/>


                <Label text="Title" GridPane.columnIndex="0" GridPane.rowIndex="1"/>
                <TextField fx:id="txtTitle" userData="songdetails.txtTitle" GridPane.columnIndex="1"
                           GridPane.vgrow="NEVER" GridPane.hgrow="ALWAYS"
                           GridPane.rowIndex="1" GridPane.fillWidth="true" GridPane.columnSpan="2"/>

                <Label text="Mp3" GridPane.columnIndex="0" GridPane.rowIndex="2" GridPane.fillWidth="true"
                       GridPane.hgrow="ALWAYS"/>
                <Label fx:id="lblCurrentMp3" GridPane.columnIndex="1" GridPane.rowIndex="2" GridPane.columnSpan="2"
                       GridPane.fillWidth="true" GridPane.hgrow="ALWAYS" GridPane.vgrow="NEVER"/>
                <Button fx:id="btnAssignMp3" text="Assign mp3" GridPane.rowIndex="2" GridPane.columnIndex="3"/>
<commit_msg>bugfixing<commit_after><?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.MenuButton?>
<?import javafx.scene.control.Spinner?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.*?>
<TabPane xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1"
         fx:controller="org.adonai.fx.editcontent.SongEditor" side="BOTTOM" fx:id="tabPane">

    <tabs>
        <Tab fx:id="tabStructureEditor" text="Structure Editor" closable="false">
            <GridPane fx:id="root" hgap="20" vgap="20">
                <padding>
                    <Insets top="40" bottom="40" left="30" right="30"/>
                </padding>

                <columnConstraints>
                    <ColumnConstraints percentWidth="30"/>
                    <ColumnConstraints percentWidth="10"/>
                    <ColumnConstraints percentWidth="20"/>
                    <ColumnConstraints percentWidth="40"/>
                </columnConstraints>

                <Label fx:id="lblTitleStructureEditor" userData="editContent.lblTitle" text="EDIT SONGPARTS" id="header"
                       GridPane.halignment="CENTER" GridPane.columnSpan="4" GridPane.columnIndex="0"
                       GridPane.rowIndex="0"/>

                <ListView fx:id="lviStructure" GridPane.columnIndex="0" GridPane.rowIndex="1" GridPane.rowSpan="4"/>
                <VBox GridPane.columnIndex="1" GridPane.rowIndex="1" GridPane.valignment="CENTER" GridPane.rowSpan="4"
                      spacing="5">

                    <MenuButton fx:id="btnAdd"></MenuButton>
                    <MenuButton fx:id="btnCopy"></MenuButton>
                    <Button fx:id="btnRemove"></Button>
                    <Button fx:id="btnMoveUp"></Button>
                    <Button fx:id="btnMoveDown"></Button>

                </VBox>


                <Label fx:id="lblType" text="Part Type:" styleClass="editortext" GridPane.columnIndex="2"
                       GridPane.rowIndex="1"></Label>
                <ComboBox fx:id="cboType" styleClass="editortext" GridPane.columnIndex="3"
                          GridPane.rowIndex="1"></ComboBox>

                <Label fx:id="lblQuantity" text="Quantity:" styleClass="editortext" GridPane.columnIndex="2"
                       GridPane.rowIndex="2"></Label>
                <TextField fx:id="txtQuantity" styleClass="editortext" GridPane.columnIndex="3"
                           GridPane.rowIndex="2"></TextField>

                <Label fx:id="lblRemarks" text="Remarks:" styleClass="editortext" GridPane.columnIndex="2"
                       GridPane.rowIndex="3"></Label>
                <TextField fx:id="txtRemarks" styleClass="editortext" GridPane.columnIndex="3"
                           GridPane.rowIndex="3"></TextField>

                <Label fx:id="lblContent" text="Content:" styleClass="editortext" GridPane.columnIndex="2"
                       GridPane.rowIndex="4"></Label>
                <TextArea fx:id="txaText" styleClass="editortext" GridPane.vgrow="ALWAYS" GridPane.hgrow="ALWAYS"
                          GridPane.columnIndex="3" GridPane.rowIndex="4"></TextArea>
            </GridPane>
        </Tab>

        <!--<Tab fx:id="tabTextEditor" text="Text Editor" closable="false">
            <BorderPane>
                <center>
                    <TextArea fx:id="txaAsText"></TextArea>
                </center>
            </BorderPane>
        </Tab>-->

        <Tab fx:id="tabSongProperties" text="Song Properties" closable="false">
            <GridPane hgap="20" vgap="20">
                <padding>
                    <Insets top="40" bottom="40" left="30" right="30"/>
                </padding>
                <columnConstraints>
                    <ColumnConstraints percentWidth="20"/>
                    <ColumnConstraints percentWidth="20"/>
                    <ColumnConstraints percentWidth="40"/>
                    <ColumnConstraints percentWidth="20"/>
                </columnConstraints>

                <Label fx:id="lblTitleSongProperties" userData="songdetails.lblTitle" text="EDIT SONGPARTS" id="header"
                       GridPane.halignment="CENTER" GridPane.columnSpan="4" GridPane.columnIndex="0"
                       GridPane.rowIndex="0"/>


                <Label text="Title" GridPane.columnIndex="0" GridPane.rowIndex="1"/>
                <TextField fx:id="txtTitle" userData="songdetails.txtTitle" GridPane.columnIndex="1"
                           GridPane.vgrow="NEVER" GridPane.hgrow="ALWAYS"
                           GridPane.rowIndex="1" GridPane.fillWidth="true" GridPane.columnSpan="2"/>

                <Label text="Mp3" GridPane.columnIndex="0" GridPane.rowIndex="2" GridPane.fillWidth="true"
                       GridPane.hgrow="ALWAYS"/>
                <Label fx:id="lblCurrentMp3" GridPane.columnIndex="1" GridPane.rowIndex="2" GridPane.columnSpan="2"
                       GridPane.fillWidth="true" GridPane.hgrow="ALWAYS" GridPane.vgrow="NEVER"/>
                <Button fx:id="btnAssignMp3" text="Assign mp3" GridPane.rowIndex="2" GridPane.columnIndex="3"/>

{'fraction_non_alphanumeric': 0.14430800480103406, 'fraction_numerical': 0.017172929554057796, 'mean_word_length': 2.2123368920521944, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 2, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5626379', 'n_tokens_mistral': 3216, 'n_tokens_neox': 2999, 'n_words': 439}