From 9984ec23d1a0ccfa675da58e27163c745373a0de Mon Sep 17 00:00:00 2001 From: svkalinin Date: Thu, 21 Jul 2022 16:41:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B2=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=B2=D0=BA=D1=83=20=D0=B7=D0=B0=D0=BA=D1=80=D1=8B?= =?UTF-8?q?=D0=B2=D0=B0=D1=8E=D1=89=D0=B8=D1=85=D1=81=D1=8F=20=D0=BA=D0=B0?= =?UTF-8?q?=D0=B2=D1=8B=D1=87=D0=B5=D0=BA=20=D0=B2=20=D0=BF=D1=83=D1=81?= =?UTF-8?q?=D1=82=D0=BE=D0=B9=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=D0=B5.=20?= =?UTF-8?q?=D0=98=D0=B1=D0=BE=20=D0=BF=D0=BE=D0=BA=D0=B0=20=D0=B3=D0=BB?= =?UTF-8?q?=D1=8E=D1=87=D0=B8=D1=82.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/editor.tcl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/editor.tcl b/lib/editor.tcl index cefd7c3..e485cfd 100644 --- a/lib/editor.tcl +++ b/lib/editor.tcl @@ -378,11 +378,11 @@ namespace eval Editor { $txt highlight $lineBegin.$posBegin $lineEnd.end # $txt insert $lineBegin.[expr $posBegin + 1] "$symbol" } else { - $txt insert $lineNum.[expr $posNum + 1] "$symbol" - $txt mark set insert $lineNum.[expr $posNum - 1] - # $txt see $lineNum.[expr $posNum - 1] - $txt see insert - $txt highlight $lineNum.$posNum $lineNum.end + # $txt insert $lineNum.[expr $posNum + 1] "$symbol" + # $txt mark set insert $lineNum.[expr $posNum - 1] + # # $txt see $lineNum.[expr $posNum - 1] + # $txt see insert + # $txt highlight $lineNum.$posNum $lineNum.end } }