<commit_before>﻿import QtQuick				2.14
import QtQuick.Controls		2.14
import QtQuick.Controls		1.4		as OLD
import QtQuick.Layouts		1.3
import JASP.Widgets			1.0		as	JASPW
import JASP.Theme			1.0
import JASP.Controls		1.0		as	JASPC
import JASP.PlotEditor		1.0

Popup
{
	id:					plotEditorPopup
	y:					0 //(parent.height / 2) - (height / 2)
	x:					0 //(parent.width  / 2) - (width  / 2)
	width:				parent.width
	height:				parent.height
	modal:				true
	background:			Rectangle { color: jaspTheme.shadow	}
	closePolicy:		Popup.NoAutoClose

	visible:			plotEditorModel.visible
	onVisibleChanged:	plotEditorModel.visible = visible
	focus:				true

	Shortcut { onActivated: cancel();	sequence: "Escape" }<commit_msg>Escape key should not close JASP<commit_after>﻿import QtQuick				2.14
import QtQuick.Controls		2.14
import QtQuick.Controls		1.4		as OLD
import QtQuick.Layouts		1.3
import JASP.Widgets			1.0		as	JASPW
import JASP.Theme			1.0
import JASP.Controls		1.0		as	JASPC
import JASP.PlotEditor		1.0

Popup
{
	id:					plotEditorPopup
	y:					0 //(parent.height / 2) - (height / 2)
	x:					0 //(parent.width  / 2) - (width  / 2)
	width:				parent.width
	height:				parent.height
	modal:				true
	background:			Rectangle { color: jaspTheme.shadow	}
	closePolicy:		Popup.NoAutoClose

	visible:			plotEditorModel.visible
	onVisibleChanged:	plotEditorModel.visible = visible
	focus:				true

	Shortcut { onActivated: cancel(); sequence: StandardKey.Cancel; autoRepeat: false; enabled: visible }
{'fraction_non_alphanumeric': 0.0959731543624161, 'fraction_numerical': 0.032214765100671144, 'mean_word_length': 3.1532033426183843, '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': '2765481', 'n_tokens_mistral': 652, 'n_tokens_neox': 582, 'n_words': 147}