c_support #10

Merged
svk merged 74 commits from c_support into master 2026-02-12 12:23:37 +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 ""} {
DebugPuts "Editor::SelectionGet: [focus]"
set txt [focus]
if {![string match -nocase "*text*" $txt]} {
return ""
}
}
set selBegin [lindex [$txt tag ranges sel] 0]
set selEnd [lindex [$txt tag ranges sel] 1]