From c6bbf265de0b50bb21adc6e492041ea84a4b24b7 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 27 Sep 2023 00:35:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E7=A4=BA=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=AD=97=E5=85=B8=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 74eb76ca8..e11abd1df 100644 --- a/game/game.js +++ b/game/game.js @@ -7560,7 +7560,7 @@ list.addArray(keys); } return { - list:list.filter(key=>key.startsWith(token.string)), + list:list.filter(key=>key.startsWith(token.string)).sort((a,b)=>(a+'').localeCompare(b+'')), from:CodeMirror.Pos(cur.line,token.start), to:CodeMirror.Pos(cur.line,token.end), };