diff --git a/src/tchMaterial-parser.pyw b/src/tchMaterial-parser.pyw index 6e30404..2d22c26 100644 --- a/src/tchMaterial-parser.pyw +++ b/src/tchMaterial-parser.pyw @@ -293,9 +293,9 @@ url_text.pack(padx=int(15 * scale), pady=int(15 * scale)) # 设置水平外边 # 创建右键菜单 context_menu = tk.Menu(root, tearoff=0) -context_menu.add_command(label="剪切(Ctrl + X)", command=lambda: url_text.event_generate("<>")) -context_menu.add_command(label="复制(Ctrl + C)", command=lambda: url_text.event_generate("<>")) -context_menu.add_command(label="粘贴(Ctrl + V)", command=lambda: url_text.event_generate("<>")) +context_menu.add_command(label="剪切 (Ctrl + X)", command=lambda: url_text.event_generate("<>")) +context_menu.add_command(label="复制 (Ctrl + C)", command=lambda: url_text.event_generate("<>")) +context_menu.add_command(label="粘贴 (Ctrl + V)", command=lambda: url_text.event_generate("<>")) # 绑定右键菜单到文本框(3 代表鼠标的右键按钮) url_text.bind("", lambda event: context_menu.post(event.x_root, event.y_root))