<commit_before>import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.2
import "qrc:/core/src/qml/core"

ToolBar {

    property alias boldButton: boldButton
    property alias italicButton: italicButton
    property alias underlineButton: underlineButton
    property alias strikethroughButton: strikethroughButton
    property alias alignLeftButton: alignLeftButton
    property alias alignCenterButton: alignCenterButton
    property alias alignRightButton: alignRightButton
    property alias alignJustifyButton: alignJustifyButton
    property alias unorderedListButton: unorderedListButton
    property alias orderedListButton: orderedListButton
    property alias decreaseIndentButton: decreaseIndentButton
    property alias increaseIndentButton: increaseIndentButton
    property alias alignLeftAction : textEditActions.alignLeftAction
    property alias centerHorizontallyAction : textEditActions.centerHorizontallyAction
    property alias alignRightAction : textEditActions.alignRightAction
    property alias alignJustifyAction : textEditActions.alignJustifyAction


    TextEditActions {
        id: textEditActions
    }

    RowLayout {
        anchors.fill: parent

        ToolButton {
            id: boldButton
            action: textEditActions.boldAction
        }

        ToolButton {
            id: italicButton
            action: textEditActions.italicAction
        }

        ToolButton {
            id: underlineButton
            action: textEditActions.underlineAction
        }

        ToolButton {
            id: strikethroughButton
            action: textEditActions.strikethroughAction
        }

        Rectangle { width: 1; Layout.preferredHeight: parent.height * 0.7; color: "#133a0f" }

        ToolButton {
            id: alignLeftButton
            action: textEditActions.alignLeftAction
        }

        ToolButton {
            id: alignCenterButton
            action: textEditActions.centerHorizontallyAction
        }

        ToolButton {
            id: alignRightButton
            action: textEditActions.alignRightAction
        }

        ToolButton {
            id: alignJustifyButton
            action: textEditActions.alignJustifyAction
        }

        Rectangle { width: 1; Layout.preferredHeight: parent.height * 0.7; color: "#133a0f" }

        ToolButton {
            id: unorderedListButton
            action: textEditActions.unorderedListButton
        }

        ToolButton {
            id: orderedListButton
            action: textEditActions.orderedListButton
        }

        ToolButton {
            id: decreaseIndentButton
            action: textEditActions.decreaseIndentButton
        }

        ToolButton {
            id: increaseIndentButton
            action: textEditActions.decreaseIndentButton
        }

        Item { Layout.fillWidth: true }
    }
}
<commit_msg>Fixed indent actions.<commit_after>import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.2
import "qrc:/core/src/qml/core"

ToolBar {

    property alias boldButton: boldButton
    property alias italicButton: italicButton
    property alias underlineButton: underlineButton
    property alias strikethroughButton: strikethroughButton
    property alias alignLeftButton: alignLeftButton
    property alias alignCenterButton: alignCenterButton
    property alias alignRightButton: alignRightButton
    property alias alignJustifyButton: alignJustifyButton
    property alias unorderedListButton: unorderedListButton
    property alias orderedListButton: orderedListButton
    property alias decreaseIndentButton: decreaseIndentButton
    property alias increaseIndentButton: increaseIndentButton
    property alias alignLeftAction : textEditActions.alignLeftAction
    property alias centerHorizontallyAction : textEditActions.centerHorizontallyAction
    property alias alignRightAction : textEditActions.alignRightAction
    property alias alignJustifyAction : textEditActions.alignJustifyAction


    TextEditActions {
        id: textEditActions
    }

    RowLayout {
        anchors.fill: parent

        ToolButton {
            id: boldButton
            action: textEditActions.boldAction
        }

        ToolButton {
            id: italicButton
            action: textEditActions.italicAction
        }

        ToolButton {
            id: underlineButton
            action: textEditActions.underlineAction
        }

        ToolButton {
            id: strikethroughButton
            action: textEditActions.strikethroughAction
        }

        Rectangle { width: 1; Layout.preferredHeight: parent.height * 0.7; color: "#133a0f" }

        ToolButton {
            id: alignLeftButton
            action: textEditActions.alignLeftAction
        }

        ToolButton {
            id: alignCenterButton
            action: textEditActions.centerHorizontallyAction
        }

        ToolButton {
            id: alignRightButton
            action: textEditActions.alignRightAction
        }

        ToolButton {
            id: alignJustifyButton
            action: textEditActions.alignJustifyAction
        }

        Rectangle { width: 1; Layout.preferredHeight: parent.height * 0.7; color: "#133a0f" }

        ToolButton {
            id: unorderedListButton
            action: textEditActions.unorderedListButton
        }

        ToolButton {
            id: orderedListButton
            action: textEditActions.orderedListButton
        }

        ToolButton {
            id: increaseIndentButton
            action: textEditActions.increaseIndentButton
        }

        ToolButton {
            id: decreaseIndentButton
            action: textEditActions.decreaseIndentButton
        }

        Item { Layout.fillWidth: true }
    }
}

{'fraction_non_alphanumeric': 0.047248182762201454, 'fraction_numerical': 0.006922810661128418, 'mean_word_length': 2.367715617715618, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6706899', 'n_tokens_mistral': 1461, 'n_tokens_neox': 1394, 'n_words': 324}