<commit_before>//-----------------------------------------------------------------------//
//                                                                       //
//                       S e l e c t i o n H i n t                       //
//                                                                       //
//  Copyright (C) <NAME> 2000-2006. All rights reserved.          //
//  This software is released under the terms of the GNU General Public  //
//  License. Please contact the author at <EMAIL>      //
//  to report bugs & suggestions.                                        //
//-----------------------------------------------------------------------//

package omr.selection;

/**
 * Enum <code>SelectionHint</code> gives a hint about what observers should
 * do with the updated selection
 *
 * @author <NAME>
 * @version $Id$
 */
public enum SelectionHint
{
    /**
     * Designation is by location pointing (either SCORE or PIXEL), so we
     * keep the original location information, and try to lookup for
     * designated Run, Section & Glyph
     */
    LOCATION_INIT,

        /**
         * Designation is at Section level, so we display the pixel contour
         * of the Section, Run information is not available, and related
         * Glyph information is displayed
         */
        SECTION_INIT,

        /**
         * Designation is at Glyph level, so we display the pixel contour
         * of the Glyph, as well as Glyph information, but Run & Section
         * informations are not available
         */
        GLYPH_INIT;
}
<commit_msg>LOCATION_ADDITION hint is used to signal a cumulative selection<commit_after>//-----------------------------------------------------------------------//
//                                                                       //
//                       S e l e c t i o n H i n t                       //
//                                                                       //
//  Copyright (C) <NAME> 2000-2006. All rights reserved.          //
//  This software is released under the terms of the GNU General Public  //
//  License. Please contact the author at <EMAIL>      //
//  to report bugs & suggestions.                                        //
//-----------------------------------------------------------------------//

package omr.selection;

/**
 * Enum <code>SelectionHint</code> gives a hint about what observers should
 * do with the updated selection
 *
 * @author <NAME>
 * @version $Id$
 */
public enum SelectionHint
{
    /**
     * Designation is by location pointing (either SCORE or PIXEL), so we
     * keep the original location information, and try to lookup for
     * designated Run, Section & Glyph
     */
    LOCATION_INIT,

    /**
     * Designation is by location pointing (either SCORE or PIXEL) while
     * adding to the existing selection (GLYPH_SET), so we keep the
     * original location information, and try to lookup for designated Run,
     * Section & Glyph
     */
    LOCATION_ADDITION,

    /**
     * Designation is at Section level, so we display the pixel contour of
     * the Section, Run information is not available, and related Glyph
     * information is displayed
     */
    SECTION_INIT,

    /**
     * Designation is at Glyph level, so we display the pixel contour of
     * the Glyph, as well as Glyph information, but Run & Section
     * informations are not available
     */
    GLYPH_INIT;
}

{'fraction_non_alphanumeric': 0.15469293163383546, 'fraction_numerical': 0.004634994206257242, 'mean_word_length': 1.2035737077217614, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3941986', 'n_tokens_mistral': 789, 'n_tokens_neox': 752, 'n_words': 333}