Task #2128

Updated by Sebastien Jacquot over 2 years ago

Done.

Location: /org.txm.concordance.core/src/org/txm/concordance/preferences/ConcordancePreferences.java

Names:

<pre>
public static final String PREFERENCES_PREFIX = "concordance_"; //$NON-NLS-1$
public static final String N_LINE_PER_PAGE = PREFERENCES_PREFIX + "n_line_per_page"; //$NON-NLS-1$
public static final String LEFT_CONTEXT_SIZE = PREFERENCES_PREFIX + "left_context_size"; //$NON-NLS-1$
public static final String RIGHT_CONTEXT_SIZE = PREFERENCES_PREFIX + "right_context_size"; //$NON-NLS-1$
</pre>

Values:

<pre>
preferences.putInt(N_LINE_PER_PAGE, 100);
preferences.putInt(LEFT_CONTEXT_SIZE, 8);
preferences.putInt(RIGHT_CONTEXT_SIZE, 12);
</pre>

Back