Добавлено сохранение состояния редактора (открытые каталоги, файлы)

This commit is contained in:
svkalinin
2022-09-15 16:51:11 +03:00
parent db3cc0cc7d
commit 26f8df5335
3 changed files with 21 additions and 2 deletions

View File

@@ -122,6 +122,18 @@ if [info exists opened] {
ResetModifiedFlag [FileOper::Edit $path]
}
}
} else {
if {$cfgVariables(opened) ne ""} {
set activeProject $cfgVariables(opened)
FileOper::ReadFolder $cfgVariables(opened)
ReadFilesFromDirectory $cfgVariables(opened) $cfgVariables(opened)
if {$cfgVariables(editedFiles) ne ""} {
foreach f [split $cfgVariables(editedFiles) " "] {
puts $f
FileOper::Edit $f
}
}
}
}
# if [info exists project] {