# CompletionAcceptanceBehavior(ロブロックス 列挙型(Enum)) > Controls how the Script Editor inserts or replaces text when an autocomplete suggestion is accepted with Enter or Tab. - URL:https://roblox.minecraft-okinawa.com/reference/enums/CompletionAcceptanceBehavior/ - 公式:https://create.roblox.com/docs/reference/engine/enums/CompletionAcceptanceBehavior ## 選べる値 - Enum.CompletionAcceptanceBehavior.Insert(0):Accepting a completion with either Enter or Tab inserts the suggestion without replacing existing text after the cursor. - Enum.CompletionAcceptanceBehavior.Replace(1):Accepting a completion with either Enter or Tab replaces existing text after the cursor with the full suggestion text. - Enum.CompletionAcceptanceBehavior.ReplaceOnEnterInsertOnTab(2):Pressing Enter replaces existing text after the cursor; pressing Tab inserts without replacing text after the cursor. - Enum.CompletionAcceptanceBehavior.InsertOnEnterReplaceOnTab(3):Pressing Enter inserts without replacing text after the cursor; pressing Tab replaces text after the cursor. This is the default of Studio.AutocompleteAcceptanceBehavior. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)