<commit_before>var ModAPI = require('modapi')
var _ = require('lodash')
var qml = ModAPI.QMLFile("Event/EventCommands/EventCommand101.qml")

var previewButton = qml.getObjectById("button")
previewButton.node.object("anchors.right", null)
previewButton.node.object("anchors.bottom", null)

var container = previewButton.parent.newObject().createNode()
container.describe = "ControlsRow"
container.object("anchors.right", "parent.right")
container.object("anchors.bottom", "parent.bottom")

var pheButton = container.newObject()
pheButton.createNode().describe = "PluginHelpEverywhereButton"

previewButton.parent = container

qml.save()<commit_msg>Update EventCommand101.qml.js<commit_after>var ModAPI = require('modapi')
var _ = require('lodash')
var qml = ModAPI.QMLFile("Event/EventCommands/EventCommand101.qml")

var previewButton = qml.root.getObjectById("button")
previewButton.remove("anchors.right")
previewButton.remove("anchors.bottom")
var x = previewButton.parent
var container = ModAPI.QMLCompile("ControlsRow {anchors.right: parent.right; anchors.bottom: parent.bottom; PluginHelpEverywhereButton{} } ")
x.add(container)
container.add(previewButton)

qml.save()
{'fraction_non_alphanumeric': 0.13969335604770017, 'fraction_numerical': 0.007666098807495741, 'mean_word_length': 7.901515151515151, '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': '921101', 'n_tokens_mistral': 374, 'n_tokens_neox': 360, 'n_words': 59}