Skip to content

Suggestion: If parentheses are transformed in pairs, move the input position inside the parentheses. #649

Closed

Description

@mikunimaru

When outputting parentheses in pairs, most users type characters inside the parentheses.
I think it would be convenient if mozc moved the input position to the inside of the parentheses when the parentheses were output in pairs, like the auto-completion of half-width parentheses in VSCode.
Useful if the user wants to pre-output just the parenthesis pair to avoid forgetting to close it.

There are two ideas that can be combined.
Idea 1. The input position moves to the middle of the parentheses when the user converts the parentheses in pairs alone. "かっこ"→"「|」","()"→"【|】"
Idea 2. If the user converts with "かっこあいう", it will be converted to be sandwiched like "「あいう」".

(In the case of Idea 2, the user can convert "()あいう" to "「あいう」","(あいう)","【あいう】",etc.)

Activity

  1. hiroyuki-komatsu commented on Jan 9, 2023

    @hiroyuki-komatsu
    Collaborator

    Hi mikunimaru,

    Indeed, e8cf419 is the commit for that functionality. We need to update the client side too.

    Thanks,

  2. locked and limited conversation to collaborators on Mar 9, 2024
  3. converted this issue into a discussion #887 on Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions