<commit_before>package rs.emulate.editor.workspace

import javafx.geometry.Side
import rs.emulate.editor.workspace.components.EditorPropertySheet
import rs.emulate.editor.workspace.components.EditorStatusBar
import rs.emulate.editor.workspace.components.menu.EditorMenu
import rs.emulate.editor.workspace.components.widgets.tree.ResourceIndexTree
import tornadofx.View
import tornadofx.borderpane
import tornadofx.drawer
import tornadofx.get
import tornadofx.hbox
import tornadofx.vbox

class EditorWorkspaceView : View() {
    override val root = borderpane {
        top<EditorMenu>()

        left = hbox {
            drawer(Side.LEFT) {
                item(ResourceIndexTree::class, showHeader = true)
            }
        }

        right = hbox {
            drawer(Side.RIGHT) {
                add(EditorPropertySheet::class)
            }
        }

        bottom = vbox {
            drawer(Side.BOTTOM) {

            }

            add<EditorStatusBar>()
        }<commit_msg>Fix adding property sheet to workspace drawer<commit_after>package rs.emulate.editor.workspace

import javafx.geometry.Side
import rs.emulate.editor.workspace.components.EditorPropertySheet
import rs.emulate.editor.workspace.components.EditorStatusBar
import rs.emulate.editor.workspace.components.menu.EditorMenu
import rs.emulate.editor.workspace.components.widgets.tree.ResourceIndexTree
import tornadofx.View
import tornadofx.borderpane
import tornadofx.drawer
import tornadofx.get
import tornadofx.hbox
import tornadofx.vbox

class EditorWorkspaceView : View() {
    override val root = borderpane {
        top<EditorMenu>()

        left = hbox {
            drawer(Side.LEFT) {
                item(ResourceIndexTree::class, showHeader = true)
            }
        }

        right = hbox {
            drawer(Side.RIGHT) {
                item(EditorPropertySheet::class, showHeader = true)
            }
        }

        bottom = vbox {
            drawer(Side.BOTTOM) {

            }

            add<EditorStatusBar>()
        }
{'fraction_non_alphanumeric': 0.08447937131630648, 'fraction_numerical': 0.0, 'mean_word_length': 2.5120689655172415, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6441919', 'n_tokens_mistral': 588, 'n_tokens_neox': 578, 'n_words': 100}