pub fn edit_bundled_dictionary_entry(
paths: &RuntimePaths,
previous: &PersonalDictionaryEntry,
weight: Option<i64>,
request_id: &str,
) -> Result<()>Expand description
Re-weight (Some) or delete (None) a row that is not user-inserted, journaled so replay repeats it; previous.weight must be the current weight. Request ids behave as for edit_personal_dictionary.
Only the new weight is range-checked: a shipped English weight can lie far above what a user entry may carry, and such a row must still be deletable.
自己取独占的维护租约,规则同 crate::edit_personal_dictionary;代次里没有 msime-pinyin.db 时同样只能改英文词库的行。