<commit_before>package org.drools.ide.editors.completion;

/**
 * Holds a completion proposal to be popped up.
 * 
 * @author <NAME>
 *
 */
public class RuleCompletionProposal {
	
    private String content;
    private String display;
    private int offset;
    
    /** This is used when the stuff that is displayed, is the stuff that is used. */
    public RuleCompletionProposal(String content) {
        this(content, content);
    }

    /** This is used when a different display value is shown to what is put in when selected. */
    public RuleCompletionProposal(String display, String content) {
        this(content, display, content.length());
    }

    /** This is used when a different display value is shown to what is put in when selected. */
    public RuleCompletionProposal(String display, String content, int offset) {
        this.content = content;<commit_msg>display and content around the wrong way<commit_after>package org.drools.ide.editors.completion;

/**
 * Holds a completion proposal to be popped up.
 * 
 * @author <NAME>
 *
 */
public class RuleCompletionProposal {
	
    private String content;
    private String display;
    private int offset;
    
    /** This is used when the stuff that is displayed, is the stuff that is used. */
    public RuleCompletionProposal(String content) {
        this(content, content);
    }

    /** This is used when a different display value is shown to what is put in when selected. */
    public RuleCompletionProposal(String display, String content) {
        this(display, content, content.length());
    }

    /** This is used when a different display value is shown to what is put in when selected. */
    public RuleCompletionProposal(String display, String content, int offset) {
        this.content = content;
{'fraction_non_alphanumeric': 0.08142777467930842, 'fraction_numerical': 0.0, 'mean_word_length': 3.1052631578947367, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2281260', 'n_tokens_mistral': 461, 'n_tokens_neox': 447, 'n_words': 195}