Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't overwrite state.output when end_dict_edit #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libskk/context.vala
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ namespace Skk {
}
var state = state_stack.peek_head ();
state.reset ();
state.output.assign (text);
state.output.append (text);
update_preedit ();
return true;
}
Expand Down
2 changes: 2 additions & 0 deletions tests/basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ static SkkTransition dict_edit_transitions[] =
/* Pull request#41 */
{ SKK_INPUT_MODE_HIRAGANA, "K a n j i k a t a k a n a k a n j i SPC K a n j i SPC K a t a k a n a q K a n j i SPC C-j", "▼かんじかたかなかんじ【漢字カタカナ漢字】", "", SKK_INPUT_MODE_HIRAGANA },
{ SKK_INPUT_MODE_HIRAGANA, "T e s u t o t e s u t o t e s u t o t e s u t o SPC t e s u t o T e s u t o q q T e s u t o q T e s u t o C-q C-q T e s u t o q", "▼てすとてすとてすとてすと【てすとテストてすとテストてすと】", "", SKK_INPUT_MODE_HANKAKU_KATAKANA},
/* Issue#79 */
{ SKK_INPUT_MODE_HIRAGANA, "H o g e f u g a SPC H o g e q F u g a SPC F u g a q RET", "▼ほげふが【ホゲフガ】", "", SKK_INPUT_MODE_HIRAGANA },
{ 0, NULL }
};

Expand Down