Исправлено сохранение сессии в редакторе (открытие папки и файлов при следующем запуске)

This commit is contained in:
svkalinin
2022-12-07 16:00:04 +03:00
parent 9099d4ad61
commit a2880d5dd6
4 changed files with 8 additions and 5 deletions

View File

@@ -590,7 +590,7 @@ namespace eval Editor {
$txt tag remove lightSelected 1.0 end
if { [winfo exists .varhelper] } { destroy .varhelper }
puts $k
# puts $k
switch $k {
Return {
regexp {^(\s*)} [$txt get [expr $lineNum - 1].0 [expr $lineNum - 1].end] -> spaceStart
@@ -1477,6 +1477,7 @@ namespace eval Editor {
ImageViewer $fileFullPath $itemName $fr
} else {
set frmText [Editor::EditorWidget $fr $fileType $nb]
dict set editors $frmText.t fileFullPath $fileFullPath
}
$fr.panelTxt add $frmText -weight 0