<commit_before>//
// IMarkdownViewBackend.cs
//
// Author:
//       <NAME> <<EMAIL>>
//
// Copyright (c) 2012 Xamarin, Inc.
using System;

namespace Xwt.Backends
{
	[Flags]
	enum MarkdownInlineStyle
	{
		Italic,
		Bold,
		Monospace
	}

	public interface IMarkdownViewBackend : IWidgetBackend
	{
		object CreateBuffer ();

		// Emit unstyled text
		void EmitText (object buffer, string text);
		// Emit a header (h1, h2, ...)
		void EmitHeader (object buffer, string title, int level);
		// What's outputed afterwards will be a in new paragrapgh
		void EmitNewParagraph (object buffer);
		// Emit a list
		// Chain is:
		// open-list, open-bullet, <above methods>, close-bullet, close-list
		void EmitOpenList (object buffer);
		void EmitOpenBullet (object buffer);
		void EmitCloseBullet (object buffet);

		// Emit a link displaying text and opening the href URL
		void EmitLink (object buffer, string href, string text);

		// Emit code in a preformated blockquote
		void EmitCodeBlock (object buffer, string code);

		// Display the passed buffer
		void SetBuffer (object buffer);
	}
}
<commit_msg>[MarkdownView] Add missing EmitCloseList to backend<commit_after>//
// IMarkdownViewBackend.cs
//
// Author:
//       <NAME> <<EMAIL>>
//
// Copyright (c) 2012 Xamarin, Inc.
using System;

namespace Xwt.Backends
{
	[Flags]
	enum MarkdownInlineStyle
	{
		Italic,
		Bold,
		Monospace
	}

	public interface IMarkdownViewBackend : IWidgetBackend
	{
		object CreateBuffer ();

		// Emit unstyled text
		void EmitText (object buffer, string text);
		// Emit a header (h1, h2, ...)
		void EmitHeader (object buffer, string title, int level);
		// What's outputed afterwards will be a in new paragrapgh
		void EmitNewParagraph (object buffer);
		// Emit a list
		// Chain is:
		// open-list, open-bullet, <above methods>, close-bullet, close-list
		void EmitOpenList (object buffer);
		void EmitOpenBullet (object buffer);
		void EmitCloseBullet (object buffet);
		void EmitCloseList (object buffer);

		// Emit a link displaying text and opening the href URL
		void EmitLink (object buffer, string href, string text);

		// Emit code in a preformated blockquote
		void EmitCodeBlock (object buffer, string code);

		// Display the passed buffer
		void SetBuffer (object buffer);
	}
}

{'fraction_non_alphanumeric': 0.10316066725197541, 'fraction_numerical': 0.0052677787532923615, 'mean_word_length': 3.433852140077821, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2220499', 'n_tokens_mistral': 795, 'n_tokens_neox': 730, 'n_words': 253}