private void saveSnippet() {
		removeAttention();

		// Should be not-null since the save button is disabled until the property is set.
		Snippet base = currentSnippet.get();
		snippetManager.putSnippet(base.withContent(editor.getText()));
		Animations.animateSuccess(editor, 1000);
	}
Saves / updates the current snippet to the manager.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/assembler/SnippetsPane.java