<commit_before>/*
 * Copyright (c) 2011-2012 <NAME>
 *
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

#ifndef MCTRL_PROPVIEW_H
#define MCTRL_PROPVIEW_H

#include <mCtrl/defs.h>
#include <mCtrl/value.h>
#include <mCtrl/propset.h>

#ifdef __cplusplus
extern "C" {
#endif


/**
 * @file
 * @brief Property view control (@c MC_WC_PROPVIEW)
 *
 * Property view provides a way how to present larger set of some editable
 * properties in a relatively condensed way.
 *
 * Each property has a textual label, a current value (@ref MC_HVALUE) and
 * few other attributes. Few ways how the proprty can be edited by the user
 * are supported and the particular way is selected by flags of each item.
 *
 * The collection of properties are managed by a property set
 * (see @ref MC_HPROPSET) so the messages of the control manipulating with
 * the properties are just forwarded to the underlying property set.
 *
 * Normally the control creates its own property set during @c WM_CREATE.
 * You can suppress this behavior by using style @c MC_PVS_NOPROPSETCREATE.
 *
 * You can retrieve the underlying property set with @c MC_PVM_GETPROPSET
 * or change it with @c MC_PVM_SETPROPSET.
 *
 * These standard messages are handled by the control:
 * - @c WM_GETFONT
 * - @c WM_SETFONT
 * - @c WM_SETREDRAW
 *
 * These standard notifications are sent by the control:
 * - @c NM_OUTOFMEMORY
 */


/**
 * @name Initialization Functions
 */
/*@{*/<commit_msg>[PROPVIEW] Fix docs typo.<commit_after>/*
 * Copyright (c) 2011-2013 <NAME>
 *
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

#ifndef MCTRL_PROPVIEW_H
#define MCTRL_PROPVIEW_H

#include <mCtrl/defs.h>
#include <mCtrl/value.h>
#include <mCtrl/propset.h>

#ifdef __cplusplus
extern "C" {
#endif


/**
 * @file
 * @brief Property view control (@c MC_WC_PROPVIEW)
 *
 * Property view provides a way how to present larger set of some editable
 * properties in a relatively condensed way.
 *
 * Each property has a textual label, a current value (@ref MC_HVALUE) and
 * few other attributes. Few ways how the property can be edited by the user
 * are supported and the particular way is selected by flags of each item.
 *
 * The collection of properties are managed by a property set
 * (see @ref MC_HPROPSET) so the messages of the control manipulating with
 * the properties are just forwarded to the underlying property set.
 *
 * Normally the control creates its own property set during @c WM_CREATE.
 * You can suppress this behavior by using style @c MC_PVS_NOPROPSETCREATE.
 *
 * You can retrieve the underlying property set with @c MC_PVM_GETPROPSET
 * or change it with @c MC_PVM_SETPROPSET.
 *
 * These standard messages are handled by the control:
 * - @c WM_GETFONT
 * - @c WM_SETFONT
 * - @c WM_SETREDRAW
 *
 * These standard notifications are sent by the control:
 * - @c NM_OUTOFMEMORY
 */


/**
 * @name Initialization Functions
 */
/*@{*/
{'fraction_non_alphanumeric': 0.06981088022414196, 'fraction_numerical': 0.009806210600046696, 'mean_word_length': 3.862656072644722, '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': '4977084', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1178, 'n_words': 595}