<commit_before>/**
 * @properties={typeid:35,uuid:"4F2AE698-F740-4F36-922D-ECD6DD2A4932",variableType:-4}
 */
var editsAllowed = null;

/**
 * @properties={typeid:35,uuid:"4768DA43-4617-41AC-B2E7-77D8DC83E2DC",variableType:-4}
 */
var recBlockData = null;

/**
 * param {} obj Data object passed to all markup methods
 * @properties={typeid:24,uuid:"508D7857-762F-4C6F-9CAA-95EAB9C404F0"}
 */
function VIEW_default(obj)
{
	// template
	var markup = obj.data.HTML	
	
	// return
	return markup
}

/**
 * @properties={typeid:24,uuid:"0894BE1D-6767-465F-816E-95A165B6F09A"}
 */
function VIEW_code(obj) {
	//TODO: either return the markup with styles inline or somehow figure how to pass what additional includes needed in the header so the same code can be used
	
	// template
	var markup = obj.data.HTML	
	
	// return
	return markup
}

/**
 * @properties={typeid:24,uuid:"27048A75-8641-49AD-8E44-D614410947B0"}
 */
function FORM_on_load() {
	//set combobox to be square on os x
	globals.CODE_property_combobox(true)
}

/**
 * @properties={typeid:24,uuid:"B886B030-6E8A-4206-B8FC-7DF67F7362F0"}
 */
function BLOCK_save() {
	databaseManager.saveData(foundset.getSelectedRecord())
	databaseManager.setAutoSave(true)
	
	ACTION_colorize()<commit_msg>remove alternate view for code (coming as separate block type)<commit_after>/**
 * @properties={typeid:35,uuid:"4F2AE698-F740-4F36-922D-ECD6DD2A4932",variableType:-4}
 */
var editsAllowed = null;

/**
 * @properties={typeid:35,uuid:"4768DA43-4617-41AC-B2E7-77D8DC83E2DC",variableType:-4}
 */
var recBlockData = null;

/**
 * param {} obj Data object passed to all markup methods
 * @properties={typeid:24,uuid:"508D7857-762F-4C6F-9CAA-95EAB9C404F0"}
 */
function VIEW_default(obj) {
	// template
	var markup = obj.data.HTML	
	
	// return
	return markup
}

/**
 * @properties={typeid:24,uuid:"27048A75-8641-49AD-8E44-D614410947B0"}
 */
function FORM_on_load() {
	//set combobox to be square on os x
	globals.CODE_property_combobox(true)
}

/**
 * @properties={typeid:24,uuid:"B886B030-6E8A-4206-B8FC-7DF67F7362F0"}
 */
function BLOCK_save() {
	databaseManager.saveData(foundset.getSelectedRecord())
	databaseManager.setAutoSave(true)
	
	ACTION_colorize()
{'fraction_non_alphanumeric': 0.1480637813211845, 'fraction_numerical': 0.11981776765375854, 'mean_word_length': 4.919137466307277, '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': '3306570', 'n_tokens_mistral': 1002, 'n_tokens_neox': 856, 'n_words': 138}