function setFontSize(newsize){
	setStorage("NotepadA_fontsize",newsize);
	fontsize = newsize;

	if (checkIfAllTabSaved() == false){
		//Ask the user if confirm close
		var confirmClose = confirm("Reloading NotepadA is required to apply the changes. Confirm?");
		if (confirmClose == false){
			return false;
		}
	}
	reloadAllTabs();
}

function checkIfAllTabSaved(){
	var allSaved = true;
	$(".editor").each(function(){
		if ($(this)[0].contentWindow.checkIsSaved() == false){
			allSaved = false;
		}
	});
	retu