Добавлен перевод фокуса ввода на прежнее окно после закрытия диалога выполнения.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -5,4 +5,6 @@ debian/projman.substvars
|
|||||||
debian/files
|
debian/files
|
||||||
debian/projman.debhelper.log
|
debian/projman.debhelper.log
|
||||||
debian/*.tmp
|
debian/*.tmp
|
||||||
*.tmp
|
debian/errors
|
||||||
|
*.tmp
|
||||||
|
errors
|
||||||
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -1,9 +1,9 @@
|
|||||||
projman (2.0.0-alpha19) stable; urgency=medium
|
projman (2.0.0-alpha19) stable; urgency=medium
|
||||||
|
|
||||||
|
* Добавлена передача сигналов для закрытия запущенного процесса
|
||||||
* Изменил виджет текста в окне псевдо-терминала. Добавил подстановку имени файла к командную строку по шаблону %f
|
* Изменил виджет текста в окне псевдо-терминала. Добавил подстановку имени файла к командную строку по шаблону %f
|
||||||
* Добавлен диалог настроек
|
* Добавлен диалог настроек
|
||||||
* Добавил псевдо-терминал
|
* Добавил псевдо-терминал
|
||||||
* Исправлен changelog
|
|
||||||
* Добавлен диалог при открытии файлов отличных от текстовых
|
* Добавлен диалог при открытии файлов отличных от текстовых
|
||||||
* Добавлен просмотр файлов изображений (png, bmp, gif, ppm, pgm)
|
* Добавлен просмотр файлов изображений (png, bmp, gif, ppm, pgm)
|
||||||
* Исправлена процедура опреления типа файла
|
* Исправлена процедура опреления типа файла
|
||||||
|
|||||||
@@ -1602,7 +1602,7 @@ namespace eval Editor {
|
|||||||
set frmText [ttk::frame $w.frmText2 -border 1]
|
set frmText [ttk::frame $w.frmText2 -border 1]
|
||||||
$w.panelTxt add $frmText -weight 1
|
$w.panelTxt add $frmText -weight 1
|
||||||
# focus -force $frmText.t.t
|
# focus -force $frmText.t.t
|
||||||
Execute $fileFullPath $frmText
|
Execute $fileFullPath $frmText $w
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -827,7 +827,7 @@ proc MakeTGZ {} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
## MAKE PROJ PROCEDURE (RUNNING PROJECT) ##
|
## MAKE PROJ PROCEDURE (RUNNING PROJECT) ##
|
||||||
proc Execute {filePath w} {
|
proc Execute {filePath w activeEditor} {
|
||||||
global activeProject cfgVariables
|
global activeProject cfgVariables
|
||||||
if {$activeProject == ""} {
|
if {$activeProject == ""} {
|
||||||
set answer [tk_messageBox\
|
set answer [tk_messageBox\
|
||||||
@@ -858,8 +858,8 @@ proc Execute {filePath w} {
|
|||||||
pack $w.frame.yscroll -side left -fill y
|
pack $w.frame.yscroll -side left -fill y
|
||||||
|
|
||||||
bind $w.frame.text <Return> [list Run $w $filePath]
|
bind $w.frame.text <Return> [list Run $w $filePath]
|
||||||
bind $w.frame.text <Control-r> [list destroy $w]
|
bind $w.frame.text <Control-r> [list CloseExecuteDialog $w $activeEditor]
|
||||||
bind $w.frame.text <Control-Cyrillic_er> [list destroy $w]
|
bind $w.frame.text <Control-Cyrillic_er> [list CloseExecuteDialog $w $activeEditor]
|
||||||
# focus -force $w.frmBtn.btnOk
|
# focus -force $w.frmBtn.btnOk
|
||||||
# $noteBook raise $node
|
# $noteBook raise $node
|
||||||
# insert debug data into text widget #
|
# insert debug data into text widget #
|
||||||
@@ -877,6 +877,11 @@ proc Execute {filePath w} {
|
|||||||
focus -force $w.frame.text.t
|
focus -force $w.frame.text.t
|
||||||
}
|
}
|
||||||
|
|
||||||
|
proc CloseExecuteDialog {w activeEditor} {
|
||||||
|
destroy $w
|
||||||
|
focus $activeEditor.frmText.t.t
|
||||||
|
}
|
||||||
|
|
||||||
proc Run {w filePath} {
|
proc Run {w filePath} {
|
||||||
# Получаем индекс конца последней строки
|
# Получаем индекс конца последней строки
|
||||||
set endIndex [$w.frame.text index "end-1c"]; # или "end-1l lineend"
|
set endIndex [$w.frame.text index "end-1c"]; # или "end-1l lineend"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ exec wish8.6 "$0" -- "$@"
|
|||||||
######################################################
|
######################################################
|
||||||
# Version: 2.0.0
|
# Version: 2.0.0
|
||||||
# Release: alpha19
|
# Release: alpha19
|
||||||
# Build: 29102025214442
|
# Build: 30102025125227
|
||||||
######################################################
|
######################################################
|
||||||
|
|
||||||
# определим текущую версию, релиз и т.д.
|
# определим текущую версию, релиз и т.д.
|
||||||
|
|||||||
Reference in New Issue
Block a user