beta2 #8

Merged
svk merged 49 commits from beta2 into master 2026-01-28 12:45:48 +03:00
13 changed files with 554 additions and 58 deletions
Showing only changes of commit d13a4adba5 - Show all commits

View File

@@ -369,6 +369,9 @@ namespace eval Editor {
if {$txt eq ""} { if {$txt eq ""} {
DebugPuts "Editor::SelectionGet: [focus]" DebugPuts "Editor::SelectionGet: [focus]"
set txt [focus] set txt [focus]
if {![string match -nocase "*text*" $txt]} {
return ""
}
} }
set selBegin [lindex [$txt tag ranges sel] 0] set selBegin [lindex [$txt tag ranges sel] 0]
set selEnd [lindex [$txt tag ranges sel] 1] set selEnd [lindex [$txt tag ranges sel] 1]